CVE-2014-1958
ImageMagick vulnerability analysis and mitigation

Overview

Buffer overflow vulnerability (CVE-2014-1958) was discovered in ImageMagick before version 6.8.8-5, specifically in the DecodePSDPixels function within coders/psd.c. This vulnerability is distinct from CVE-2014-2030 and involves the L%06ld string format (NVD).

Technical details

The vulnerability stems from a buffer overflow condition in the DecodePSDPixels function when processing PSD images. The root cause is that the code did not properly recognize the relationship between the 8 (or more) characters in 'L%06ld' string and the actual buffer size, resulting in a buffer overflow of '4 or more bytes too many' (OSS Security). The vulnerability has received a CVSS v3.1 base score of 8.8 (HIGH) with vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H (NVD).

Impact

If exploited, this vulnerability could allow remote attackers to execute arbitrary code via a crafted PSD image. The impact could include denial of service or code execution with the privileges of the user invoking the program (Ubuntu Security).

Mitigation and workarounds

The vulnerability was fixed in ImageMagick version 6.8.8-5. Various Linux distributions released security updates to address this issue, including Ubuntu 13.10, 12.10, and 12.04 LTS, as well as OpenSUSE 13.1, 12.3, and 11.4. Users are advised to update their systems to the patched versions (OpenSUSE Security, Ubuntu Security).

Additional resources


SourceThis report was generated using AI

Related ImageMagick vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-23876HIGH8.1
  • ImageMagickImageMagick
  • ImageMagick-c++
NoYesJan 20, 2026
CVE-2025-69204HIGH7.5
  • ImageMagickImageMagick
  • libMagick++-devel-32bit
NoYesDec 30, 2025
CVE-2026-23952MEDIUM6.5
  • C#C#
  • Magick.NET-Q16-HDRI-x86
NoYesJan 21, 2026
CVE-2026-22770MEDIUM6.5
  • C#C#
  • Magick.NET-Q16-OpenMP-arm64
NoYesJan 20, 2026
CVE-2026-23874MEDIUM5.5
  • C#C#
  • seal-ImageMagick
NoYesJan 20, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management