CVE Catalog

CVE-2026-140366

LowCVSS 2.5
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.25%

17th percentile - higher than 17% 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 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.

Risk Assessment

Heap 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 access to the C++ readImages and montage API for untrusted inputs.

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 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.

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