CVE-2026-140366: ImageMagick · Out-of-bounds Write
Affects ImageMagickSource CVE Database V5
Not known to be exploited · CVSS 2.0 Low : upgrade to 7.1.2-36 when convenient.
Data as of 1 Dec 2026, 15:16 UTC
Thin evidence
One scorer or none| CNA (VulnCheck) | CVSS 4.0 | 2.0 |
|---|---|---|
| CNA (VulnCheck) | CVSS 3.1 | 2.5 |
- Patch
- Available – fixed in 7.1.2-36, 6.9.13-61
CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:P/VC:N/VI:N/VA:L/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 1 Dec 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 1 Dec 2026.
What to do
Upgrade ImageMagick to 7.1.2-36; ImageMagick to 6.9.13-61.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| ImageMagickImageMagick | Affected
| Fixed in
|
| ImageMagickImageMagick | Affected
| Fixed in
|
AI-suggested
A fix is available in ImageMagick versions 6.9.13-61 and 7.1.2-36. Users should upgrade to these or later versions to remediate the vulnerability. No additional mitigation steps are indicated by the vendor advisory.
Description
CVE-2026-140366 is a heap buffer overflow vulnerability in ImageMagick versions before 6.9.13-61 and 7.x before 7.1.2-36. The flaw occurs in the C++ readImages and montage API functions, where a single zero byte is written past the end of a heap buffer. This can corrupt heap memory and potentially cause the application to crash. The vulnerability has a low severity rating and requires local access with high attack complexity and partial user interaction to exploit.