Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSupply crafted image to Magick++ app
-
ExploitApplication calls readImages or montage API
-
ExecutionSingle zero-byte write past heap buffer
-
ImpactHeap corruption and application crash
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, write limits
MITRE ATT&CK
2 techniques across 2 tactics: Execution, Privilege Escalation The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires the ability to call the ImageMagick C++ (Magick++) readImages or montage API functions with attacker-influenced input - the flaw is in these specific C++ API entry points, not the general command-line interface. Limiting factors per the CVSS 4.0 vector: the attack vector is local (AV:L), attack complexity is high (AC:H), a specific attack requirement must be met (AT:P), and passive user interaction is needed (UI:P), such as an application processing an attacker-supplied file. The practical precondition is a deployed application that links Magick++ and routes untrusted data into readImages/montage; standalone CLI/delegate usage is not the described surface. Affected versions are ImageMagick before 6.9.13-61 (6.x) and 7.0.0 before 7.1.2-36 (7.x); upgrading to the fixed releases is the remedy. |
| Impact | This is a low-priority issue despite affecting ubiquitous software. The vendor-supplied CVSS 4.0 vector (AV:L/AC:H/AT:P/PR:N/UI:P) scores only 2.0, with impact limited to availability (VA:L) and no confidentiality or integrity impact - consistent with the description, which states the flaw writes a single zero byte past a heap buffer, corrupting memory and 'potentially crashing the application.' All decision signals align toward low urgency: CISA SSVC shows Exploitation=none, Automatable=no, Technical Impact=partial; the vuln.today Decision label is 'monitor' (not act_now or emergency); and there is no KEV listing and no EPSS score provided. No public exploit or PoC reference is present in the input. The one caveat is the local attack vector framing: exploitation requires an attacker to be 'able to call these C++ API functions' (Magick++ readImages/montage), meaning the realistic attack surface is an application that links Magick++ and feeds attacker-controlled input to these specific functions - this is a narrower surface than ImageMagick's command-line or delegate paths. No signals conflict; the data consistently points to a low-severity memory-safety bug rather than a widely exploitable vulnerability. |
| Exploit ScenarioDerived | An application that links the ImageMagick C++ (Magick++) library and passes attacker-influenced image data to the readImages or montage API is made to process crafted input, triggering a single out-of-bounds zero-byte write past a heap buffer. The most likely observable outcome is heap corruption leading to a crash (denial of service) of that application; no public exploit code is identified. Exploitation requires local access to invoke the vulnerable C++ API (AV:L) with passive user interaction (UI:P) and has high attack complexity (AC:H) plus an additional attack requirement (AT:P). |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Dec 02, 2026
A single-byte heap out-of-bounds write exists in ImageMagick's Magick++ readImages and montage C++ API entry points, affecting 6.x before 6.9.13-61 and 7.0.0 before 7.1.2-36. Exploitation requires an application that links Magick++ to call readImages or montage with attacker-influenced input; the CVSS 4.0 vector indicates local attack vector, high complexity, a specific attack requirement, and passive user interaction, with availability impact only. This is a low-priority memory-corruption issue: no public exploit was identified at time of analysis, SSVC reports exploitation none and automatable no, and the vendor has released fixed versions.
RemediationAI
Vendor-released patches are available: upgrade ImageMagick 6.x to 6.9.13-61 or later, and ImageMagick 7.x to 7.1.2-36 or later, per the GitHub advisory GHSA-j4x4-q2rm-qxjf. Patch status is listed as available from the vendor. For deployments that cannot upgrade immediately, the practical exposure reduction is to avoid passing untrusted input into the Magick++ readImages and montage API entry points; this limits functionality that relies on those APIs and is not a substitute for installing the fixed release. No other vendor-documented workaround is provided in the available sources. Advisory URLs: https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-j4x4-q2rm-qxjf and https://nvd.nist.gov/vuln/detail/CVE-2026-140366.
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 flaw is CWE-787 (out-of-bounds write) in ImageMagick's C++ Magick++ API, specifically the readImages and montage functions, where a heap buffer is written one zero byte past its allocated end. That single-byte corruption can damage heap metadata or adjacent objects and potentially crash the application, but the available sources do not describe the precise internal trigger beyond the affected API entry points. The affected surface is a deployed application that links Magick++ and routes untrusted data into readImages or montage; standalone command-line or delegate usage is not the described surface. The CVSS 4.0 vector (AV:L/AC:H/AT:P/PR:N/UI:P/VC:N/VI:N/VA:L) and the independent assessment (CVSS 3.1 AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:L) both characterize this as a local, high-complexity availability issue rather than a remotely reachable confidentiality or integrity compromise.
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:L/AC:H/AT:P/PR:N/UI:P/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
Exploitation requires local invocation of the Magick++ API on attacker-supplied input (AV:L, UI:R) under non-trivial conditions (AC:H); a single-byte overwrite yields only crash potential, so A:L with no C/I impact.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
2DescriptionCVE.org
ImageMagick before 6.9.13-61 and 7.x before 7.1.2-36 contains a heap buffer overflow in the C++ readImages and montage API that writes a single zero byte past the end of a heap buffer. Attackers able to call these C++ API functions can trigger the out-of-bounds write, corrupting heap memory and potentially crashing the application.
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.
Memory corruption occurs when a program writes data beyond the boundaries of allocated memory regions or accesses memory in unintended ways, violating the integrity of the process's address space.
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-140187
GHSA-3953-vpgh-6w8f
NVD
CVE.org
Vulnrichment
Exploit-DB