ImageMagick before 6.9.13-61 and 7.x before 7.1.2-36 contains a heap-based buffer overflow in the MAC image decoder, which writes past the end of a heap buffer when a specific decoding failure occurs. Attackers can supply a crafted MAC image to corrupt heap memory, causing a crash or other memory corruption.
CVE-2026-140370
CVSS base score
4.8 (v3.1)
Severity
MEDIUM
Attack vector
Network
Weakness
CWE-122
Last modified
December 3, 2026
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L
Affected products
imagemagick imagemagick
References
- github.com Vendor Advisory
- www.vulncheck.com Third Party Advisory