CVE-2026-140366

LOWCVSS 2.5/10

Last modified

CVE-2026-140366 is a low-severity vulnerability rated 2.5/10 on the CVSS scale. 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..

Description

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.

Metrics

Weakness Enumeration

Affected Software

Source: CNA advisory (CVE.org). NVD analysis pending.

VendorProductVersions
ImageMagickImageMagick>= 7.0.0, < 7.1.2-36
ImageMagickImageMagick< 6.9.13-61

References

Timeline

Published
Last Modified
Status
Undergoing Analysis

Frequently Asked Questions

What is CVE-2026-140366?
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.
How severe is CVE-2026-140366?
CVE-2026-140366 has a CVSS score of 2.5/10 (LOW severity).
How do I fix CVE-2026-140366?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

How Strix Helps

Related CVEs from 2026

Are you affected by CVE-2026-140366?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST