ImageMagick up to 6.8.8-4 PSD Image coders/psd.c DecodePSDPixels buffer overflow
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 7.4 | $0-$5k | 0.00 |
Summary
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.
Details
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.
Product
Type
Name
Version
License
Website
- Product: https://www.imagemagick.org/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 7.6VulDB 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: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
NVD Base Score: 🔍
Exploiting
Class: Buffer overflowCWE: 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-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 82358
Nessus Name: Mandriva Linux Security Advisory : imagemagick (MDVSA-2015:105)
Nessus Family: 🔍
Qualys ID: 🔍
Qualys Name: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔍
Upgrade: ImageMagick 6.8.8-5
Patch: trac.imagemagick.org
Timeline
02/13/2014 🔍03/30/2015 🔍
04/21/2023 🔍
04/21/2023 🔍
04/27/2025 🔍
Sources
Product: imagemagick.orgAdvisory: usn-2132-1
Status: Confirmed
CVE: CVE-2014-1958 (🔍)
GCVE (CVE): GCVE-0-2014-1958
GCVE (VulDB): GCVE-100-227067
SecurityFocus: 65478
Entry
Created: 04/21/2023 22:41Updated: 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.
No comments yet. Languages: en.
Please log in to comment.