Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessUpload crafted PICT to image processor
-
DeliveryPICT reaches 32-bit DecodeImage in pict.c
-
ExploitMaximized row/column/bpl bypass bounds checks
-
ExecutionPointer arithmetic overflows below heap buffer
-
PersistWrite 128 controlled bytes pre-buffer
-
ImpactCrash or heap corruption toward code execution
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Buffer boundary checks
|
| Exploitation Conditions | Exploitation requires (1) a 32-bit build of ImageMagick before 7.1.2-33 (v7) or 6.9.13-58 (v6) - 64-bit builds are NOT affected because the pointer-arithmetic overflow does not occur, and (2) the target must process an attacker-supplied PICT file whose row, column, and bytes-per-line values are maximized to defeat the bounds checks in DecodeImage(). The primary limiting factors are the 32-bit architecture dependency (increasingly uncommon in production servers), the high attack complexity of reliably shaping the heap, and the need for the application to accept and decode PICT input. No authentication is required per CVSS PR:N, and no user interaction is needed in automated image-processing pipelines. |
| Impact | This is a genuine but moderate-priority issue, not a top-tier emergency. The vendor-assigned CVSS 4.0 vector (AV:N/AC:H/AT:P/PR:N/UI:N) with a 6.3 base score correctly signals constrained real-world exploitability: although the attack vector is network-reachable and requires no privileges, the high attack complexity (AC:H) and present attack requirements (AT:P) reflect two hard gates - the target must be a 32-bit build, and the attacker must craft a PICT file with simultaneously maximized row, column, and bytes-per-line values to force the pointer-arithmetic overflow past the bounds checks. No EPSS score, no CISA KEV listing, and no public POC were provided, so there is no evidence of active or imminent exploitation; the reporting is from VulnCheck as a research disclosure rather than incident-driven. The 'RCE' tag and the description's 'code execution' language indicate worst-case potential, but the vendor rates each of confidentiality, integrity, and availability only Low (VC:L/VI:L/VA:L), implying that a controlled 128-byte heap underwrite most reliably yields crashes/DoS and that reliable code execution is not assumed. The most important caveat: this vulnerability is architecture-specific - 64-bit builds, which dominate modern server and desktop deployments, are not affected by the described pointer-arithmetic overflow, substantially shrinking the exposed population relative to ImageMagick's overall footprint. |
| Exploit ScenarioDerived | An attacker uploads a malicious PICT image to a web application or service that uses a 32-bit ImageMagick build for server-side image processing (thumbnailing, conversion, metadata extraction). The crafted file sets maximized row, column, and bytes-per-line fields so DecodeImage() in coders/pict.c overflows pointer arithmetic and writes up to 128 attacker-controlled bytes below the heap buffer, most likely crashing the worker but potentially corrupting adjacent heap state toward code execution. No public exploit code was identified at time of analysis, and the high complexity plus 32-bit-only requirement make reliable exploitation difficult. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 13, 2026
Heap buffer underwrite in ImageMagick's PICT decoder (coders/pict.c) on 32-bit builds allows unauthenticated remote attackers to corrupt memory below the allocated buffer by supplying a crafted PICT file with maximized row, column, and bytes-per-line values, potentially causing a crash or code execution. Affected versions are ImageMagick before 7.1.2-33 (7.x) and before 6.9.13-58 (6.x) when compiled as 32-bit; 64-bit builds are not affected. No public exploit code has been identified at the time of analysis, and the CVSS v4.0 score is 6.3 (moderate) with high attack complexity per the assessed CVSS:3.1 vector (AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L).
RemediationAI
Upgrade to ImageMagick 7.1.2-33 or 6.9.13-58, which contain the vendor-released patch. The fix is available via commits 63dde0cf281383ab69432b88305f7dcd6a8ce900 (7.x) and c18c5d5fb7f1d87ddbe0a02e9d1207c89b24588c (6.x). If immediate upgrade is not possible, a compensating control is to disable the PICT coder in ImageMagick's policy.xml file (e.g., <policy domain="coder" rights="none" pattern="PICT" />), which prevents the vulnerable code path from being reached at the cost of losing PICT image processing. Additionally, consider running ImageMagick on 64-bit builds where the overflow does not occur, though this may require infrastructure changes. No public exploit code has been identified at the time of analysis. Refer to GHSA-mqmp-r5jh-jx7w for vendor guidance.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability resides in the DecodeImage() function of coders/pict.c, which handles the PICT image format. On 32-bit builds, pointer arithmetic used to track the write position within the pixel buffer can overflow when processing a PICT file with maximized row, column, and bytes-per-line values, causing the write pointer to wrap below the start of the allocated heap buffer. This results in a heap buffer underwrite (CWE-124) of up to 128 controlled bytes. The upstream fix (commits 63dde0cf281383ab69432b88305f7dcd6a8ce900 for 7.x and c18c5d5fb7f1d87ddbe0a02e9d1207c89b24588c for 6.x) adds a bounds check (if (q < pixels) { status=MagickFalse; break; }) to ensure the write pointer never moves below the pixel buffer start. The CPE string cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:* indicates all versions are potentially affected until the fixed releases.
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:L/VA:L/SC:N/SI:N/SA:N
Network-reachable file parsing with no auth (AV:N/PR:N/UI:N), but 32-bit-only plus maximized-field requirement forces AC:H; heap underwrite yields limited Low C/I/A, most likely crash.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
ImageMagick before 7.1.2-33 and 6.9.13-58 contains a heap buffer underwrite vulnerability in DecodeImage() in coders/pict.c on 32-bit builds due to pointer arithmetic overflow. Attackers can supply a crafted PICT file with maximized row, column and bytes-per-line values to bypass bounds checks and write up to 128 controlled bytes below the heap buffer, causing crashes or code execution.
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
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
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
ImageMagick 7.0.6-5 has a memory leak vulnerability in ReadWEBPImage in coders/webp.c because memory is not freed in cer
Heap buffer overflow in ImageMagick's XBM image decoder (ReadXBMImage) lets remote attackers write attacker-controlled d
EUVD-2026-98684
GHSA-279f-3w5r-54f5
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB