CVE Catalog

CVE-2026-140368

LowCVSS 3.6
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.25%

18th percentile - higher than 18% of all known CVEs

Summary

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.

Risk Assessment

Memory corruption can lead to application crashes and potentially code execution. This affects confidentiality, integrity, and availability of the system.

Recommendation

Update ImageMagick to version 6.9.13-61 or 7.1.2-36 (or later). Restrict processing of untrusted 12-bit images until the fix is applied.

Other vulnerabilities in ImageMagick

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS