CVE-2026-140366
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or — if you've already worked around this in production — publish your fix to the community-verified tier.
Propose a mitigation on Community Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| imagemagick | imagemagick | {"startIncluding":"7.0.0","endExcluding":"7.1.2-36"} | 7.1.2-36 |
| imagemagick | imagemagick | {"endExcluding":"6.9.13-61"} | 6.9.13-61 |
References
CWEs
CWE-787
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.