ImageMagick up to 6.8.8-4 PSD Image coders/psd.c DecodePSDPixels buffer overflow

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
7.4$0-$5k0.00

Summaryinfo

A vulnerability, which was classified as critical, has been found in ImageMagick up to 6.8.8-4. Impacted is the function DecodePSDPixels of the file coders/psd.c of the component PSD Image Handler. Performing a manipulation results in buffer overflow. This vulnerability is reported as CVE-2014-1958. The attack is possible to be carried out remotely. No exploit exists. It is advisable to upgrade the affected component.

Detailsinfo

A vulnerability was found in ImageMagick up to 6.8.8-4 (Image Processing Software). It has been classified as critical. This affects the function DecodePSDPixels of the file coders/psd.c of the component PSD Image Handler. The manipulation with an unknown input leads to a buffer overflow vulnerability. CWE is classifying the issue as CWE-120. The product copies an input buffer to an output buffer without verifying that the size of the input buffer is less than the size of the output buffer, leading to a buffer overflow. This is going to have an impact on confidentiality, integrity, and availability. The summary by CVE is:

Buffer overflow in the DecodePSDPixels function in coders/psd.c in ImageMagick before 6.8.8-5 might allow remote attackers to execute arbitrary code via a crafted PSD image, involving the L%06ld string, a different vulnerability than CVE-2014-2030.

The weakness was disclosed 04/21/2023 as usn-2132-1. It is possible to read the advisory at lists.opensuse.org. This vulnerability is uniquely identified as CVE-2014-1958 since 02/13/2014. It demands that the victim is doing some kind of user interaction. Technical details of the vulnerability are known, but there is no available exploit.

The vulnerability scanner Nessus provides a plugin with the ID 82358 (Mandriva Linux Security Advisory : imagemagick (MDVSA-2015:105)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Mandriva Local Security Checks. The commercial vulnerability scanner Qualys is able to test this issue with plugin 166854 (OpenSuSE Security Update for ImageMagick (openSUSE-SU-2014:0362-1)).

Upgrading to version 6.8.8-5 eliminates this vulnerability. Applying a patch is able to eliminate this problem. The bugfix is ready for download at trac.imagemagick.org. The best possible mitigation is suggested to be upgrading to the latest version.

The vulnerability is also documented in the databases at Tenable (82358) and SecurityFocus (BID 65478†). Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.

Productinfo

Type

Name

Version

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 7.6
VulDB Meta Temp Score: 7.4

VulDB Base Score: 6.3
VulDB Temp Score: 6.0
VulDB Vector: 🔍
VulDB Reliability: 🔍

NVD Base Score: 8.8
NVD Vector: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

NVD Base Score: 🔍

Exploitinginfo

Class: Buffer overflow
CWE: CWE-120 / CWE-119
CAPEC: 🔍
ATT&CK: 🔍

Physical: No
Local: No
Remote: Yes

Availability: 🔍
Status: Not defined

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 82358
Nessus Name: Mandriva Linux Security Advisory : imagemagick (MDVSA-2015:105)
Nessus Family: 🔍

Qualys ID: 🔍
Qualys Name: 🔍

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔍

Upgrade: ImageMagick 6.8.8-5
Patch: trac.imagemagick.org

Timelineinfo

02/13/2014 🔍
03/30/2015 +409 days 🔍
04/21/2023 +2944 days 🔍
04/21/2023 +0 days 🔍
04/27/2025 +737 days 🔍

Sourcesinfo

Product: imagemagick.org

Advisory: usn-2132-1
Status: Confirmed

CVE: CVE-2014-1958 (🔍)
GCVE (CVE): GCVE-0-2014-1958
GCVE (VulDB): GCVE-100-227067
SecurityFocus: 65478

Entryinfo

Created: 04/21/2023 22:41
Updated: 04/27/2025 04:44
Changes: 04/21/2023 22:41 (60), 06/08/2024 14:56 (18), 06/11/2024 11:23 (1), 12/20/2024 01:34 (3), 04/27/2025 04:44 (3)
Complete: 🔍
Cache ID: 216::103

Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Do you want to use VulDB in your project?

Use the official API to access entries easily!