P4 · InfoCVSS 2.5EPSS 0.2%
ImageMagick before 7.1.2-36 Heap Buffer Overflow via C++ readImages and montage
- CVE-2026-140366
- GHSA-3953-vpgh-6w8f
- EUVD-2026-140187
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.
Text from the CVE.org record.
Recommendation
ImageMagick
- If you run a version from 7.0.0 to before 7.1.2-36update to 7.1.2-36 or laterMinor version change: check the release notes
- If you run a version before 6.9.13-61update to 6.9.13-61 or later
Taken from the version ranges of the CVE.org record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.
Affected
ImageMagick
Affected versions Fixed in from 7.0.0 to before 7.1.2-36 7.1.2-36 before 6.9.13-61 6.9.13-61
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.