P4 · InfoCVSS 2.5EPSS 0.2%
ImageMagick before 7.1.2-36 Heap Buffer Overflow via ShearRotateImage
- CVE-2026-140359
- GHSA-825x-h87p-cwj9
- EUVD-2026-140194
Description
ImageMagick before 6.9.13-61 and 7.x before 7.1.2-36 contains a heap buffer overflow in the ShearRotateImage method, where a specific argument causes a write beyond the bounds of a heap buffer. Attackers able to pass a crafted argument to ShearRotateImage, which is only reachable through the API, can corrupt heap memory and crash 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.