Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft malicious PCD image file
-
DeliverySubmit file to ImageMagick-powered service
-
ExploitPCD coder DecodeImage loop processes crafted input
-
ExecutionOne-byte heap out-of-bounds read triggered
-
ImpactApplication crash (DoS) or single adjacent heap byte disclosed
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, read limits
MITRE ATT&CK
1 technique across 1 tactic: Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires that a vulnerable ImageMagick version (7.x before 7.1.2-15 or 6.x before 6.9.13-40) processes a crafted PCD (Kodak Photo CD) format file through the PCD coder's DecodeImage function. The CVSS 4.0 metrics AC:H and AT:P explicitly indicate high complexity and required attack prerequisites - the target application must accept and process PCD image files for the vulnerability to be reachable. Applications that do not process PCD files, or that have disabled the PCD coder via ImageMagick's policy.xml, are not exploitable regardless of ImageMagick version. The CVSS 4.0 vector specifies PR:N and UI:N, meaning no authenticated session or victim-side interaction is required beyond the application passively invoking the PCD coder on the attacker-supplied file. Exploitation is further constrained by the PCD format's rarity - most modern image-processing pipelines do not accept PCD input - and by the non-trivial exploitation complexity for any memory-disclosure outcome beyond application crash. |
| Impact | The CVSS 4.0 base score of 6.3 reflects a moderate-severity vulnerability with meaningful real-world constraints. The vector AV:N/AC:H/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N indicates network exploitability without authentication or user interaction, but high attack complexity and explicit attack prerequisites (the target must process PCD files) substantially reduce the exploitable population. A notable discrepancy exists in the provided CVSS 4.0 vector: VA:N (no availability impact on the vulnerable system) contradicts both the CVE description and GHSA advisory, which explicitly list denial of service as an impact - defenders should treat VA:L as the more accurate assessment for availability. The confidentiality impact is minimal - a single adjacent heap byte - making memory disclosure exploitation impractical in most real-world conditions. No KEV listing confirms no known active exploitation, and no public proof-of-concept has been identified. The primary realistic threat is DoS via application crash in services that process externally uploaded images. Risk is elevated for publicly exposed file-upload services that do not restrict input image formats, and near-negligible for pipelines that do not handle PCD files. |
| Exploit ScenarioDerived | An attacker submits a specially crafted PCD image file to a web application or API endpoint that processes user-supplied images using a vulnerable ImageMagick version. ImageMagick's PCD coder invokes DecodeImage on the malicious file, triggering a one-byte heap out-of-bounds read that either crashes the decoding process - causing a denial of service for the affected application worker - or, under a favorable heap layout, leaks a single byte of adjacent heap memory to the attacker's output. No public exploit code has been identified; the AC:H and AT:P CVSS metrics indicate that reliable triggering requires careful crafting of the PCD payload. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 22, 2026
Heap out-of-bounds read in ImageMagick's PCD image decoder (versions prior to 7.1.2-15 and 6.9.13-40) allows unauthenticated network-reachable attackers to cause denial of service and disclose a single adjacent heap byte by supplying a crafted PCD file to an image-processing endpoint. The vulnerability is rooted in the PCD coder's DecodeImage loop and requires high attack complexity (AC:H) with specific attack prerequisites (AT:P), meaning the target application must actively process attacker-supplied PCD files. No public exploit code has been identified and this vulnerability does not appear in the CISA KEV catalog at time of analysis, though .NET bindings via Magick.NET NuGet packages are also affected and carry a separate fix version.
RemediationAI
The primary fix is to upgrade ImageMagick to version 7.1.2-15 or later (7.x branch) or 6.9.13-40 or later (6.x branch), as confirmed by vendor advisory GHSA-wgxp-q8xq-wpp9 and the upstream patch commit at https://github.com/ImageMagick/ImageMagick/commit/436e5d2589e3c0adc10d9aa189e81d5d088d8207. For .NET applications, upgrade affected Magick.NET NuGet packages (Magick.NET-Q16-AnyCPU, Magick.NET-Q16-HDRI-AnyCPU, Magick.NET-Q16-HDRI-OpenMP-arm64, Magick.NET-Q16-HDRI-OpenMP-x64) to version 14.10.3 or later. Where immediate patching is not feasible, operators should disable the PCD coder in ImageMagick's policy.xml by adding the directive '<policy domain="coder" rights="none" pattern="PCD" />', which fully eliminates the attack surface at the cost of losing PCD image format support - an acceptable trade-off given the format's rarity in modern workflows. As a shallow complementary control, file upload endpoints can reject .pcd extensions, though this should not substitute for policy.xml hardening or patching, as content-type checks are bypassable.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 20 packages in nuget, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerable component is ImageMagick's PCD (Kodak Photo CD) image format coder, specifically the DecodeImage function which parses the legacy PCD raster format. CWE-125 (Out-of-bounds Read) identifies the root cause class: the decoder performs a one-byte read beyond the bounds of an allocated heap buffer during the image decode loop - a classic boundary-check failure in a memory-unsafe image parser. Both major release lines are affected: the 7.x branch (cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:* for versions before 7.1.2-15) and the 6.x branch (same CPE pattern, versions before 6.9.13-40). Because Magick.NET - the .NET language binding for ImageMagick distributed via NuGet - wraps the native ImageMagick library, it transitively inherits this vulnerability, affecting packages Magick.NET-Q16-AnyCPU, Magick.NET-Q16-HDRI-AnyCPU, Magick.NET-Q16-HDRI-OpenMP-arm64, and Magick.NET-Q16-HDRI-OpenMP-x64 prior to version 14.10.3.
Know when Imagemagick gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
Network-delivered via crafted PCD file; AC:H reflects specific format prerequisites; A:L captures DoS impact that the provided CVSS 4.0 vector incorrectly omits (VA:N).
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
1DescriptionCVE.org
ImageMagick before 7.1.2-15 (and 6.x before 6.9.13-40) contains a heap out-of-bounds read in the PCD coder's DecodeImage loop. A crafted PCD file can trigger a one-byte heap out-of-bounds read during image decoding, resulting in denial of service and potential disclosure of an adjacent heap byte.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
More in Imagemagick
View allThe (1) EPHEMERAL, (2) HTTPS, (3) MVG, (4) MSL, (5) TEXT, (6) SHOW, (7) WIN, and (8) PLT coders in ImageMagick before 6.
The (1) HTTP and (2) FTP coders in ImageMagick before 6.9.3-10 and 7.x before 7.0.1-1 allow remote attackers to conduct
The EPHEMERAL coder in ImageMagick before 6.9.3-10 and 7.x before 7.0.1-1 allows remote attackers to delete arbitrary fi
ReadGIFImage in coders/gif.c in ImageMagick 7.0.6-1 and GraphicsMagick 1.3.26 leaves the palette uninitialized when proc
Integer overflow in MagickCore/profile.c in ImageMagick before 7.0.2-1 allows remote attackers to cause a denial of serv
The LABEL coder in ImageMagick before 6.9.3-10 and 7.x before 7.0.1-1 allows remote attackers to read arbitrary files vi
The OpenBlob function in blob.c in GraphicsMagick before 1.3.24 and ImageMagick allows remote attackers to execute arbit
The DCM reader in ImageMagick before 6.9.4-5 and 7.x before 7.0.1-7 allows remote attackers to have unspecified impact b
The ReadDCMImage function in DCM reader in ImageMagick before 6.9.4-5 and 7.x before 7.0.1-7 allows remote attackers to
The DCM reader in ImageMagick before 6.9.4-5 and 7.x before 7.0.1-7 allows remote attackers to have unspecified impact b
Unauthenticated attackers can write arbitrary files on a Ruby on Rails host and, when Active Storage uses the Disk servi
ImageMagick 7.0.6-5 has a memory leak vulnerability in ReadWEBPImage in coders/webp.c because memory is not freed in cer
EUVD-2026-38174
GHSA-jmqv-2mx7-544h
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB