# CVE-2026-140359: ImageMagick before 7.1.2-36 Heap Buffer Overflow via ShearRotateImage

- Severity: Low 2.0 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:P/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2026-12-01T14:30:03.688Z
- Modified: 2026-12-01T15:17:58.360Z
- Weaknesses: CWE-131
- Assigned by: VulnCheck

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

(As written by CVE List.)

## Affected

- ImageMagick ImageMagick: from 7.0.0 before 7.1.2-36; before 6.9.13-61 (not affected: 7.1.2-36; 6.9.13-61)

## Every score

- VulnCheck: CVSS:4.0 2.0 Low `CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:P/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N`
- VulnCheck: CVSS:3.1 2.5 Low `CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:L`

## References

- <https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-8xm2-q8hq-m68q> (vendor-advisory)
- <https://www.vulncheck.com/advisories/imagemagick-before-7.1.2-36-heap-buffer-overflow-via-shearrotateimage> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-140359](https://www.cve.org/CVERecord?id=CVE-2026-140359), CVE Terms of Use, modified 2026-12-01
- NVD: [CVE-2026-140359](https://nvd.nist.gov/vuln/detail/CVE-2026-140359), Public domain, modified 2026-12-01

---

Page: https://cve.day/CVE-2026-140359 · Whole record: https://cve.day/CVE-2026-140359.json · Rebuilt by cve.day 2026-12-01T15:32:18.905Z
