ImageMagick before 6.9.13-61 and 7.x before 7.1.2-36 contains a heap buffer overflow in encoders that export pixels for 12-bit images before encoding the image data. Attackers can supply a crafted image that, when processed and encoded, triggers an out-of-bounds heap write, causing crashes or memory corruption.
CVE-2026-140368
CVSS base score
3.6 (v3.1)
Severity
LOW
Attack vector
Local
Weakness
CWE-787
Last modified
December 3, 2026
CVSS vector
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:L
Affected products
imagemagick imagemagick
References
- github.com Vendor Advisory
- www.vulncheck.com Third Party Advisory