# CVE-2026-140351: ImageMagick before 7.1.2-36 Heap Buffer Overflow via Pixel Export

- Severity: Low 2.1 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:N/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:13.472Z
- Modified: 2026-12-01T15:17:56.783Z
- Weaknesses: CWE-787
- Assigned by: VulnCheck

## Description

ImageMagick before 6.9.13-61 and 7.x before 7.1.2-36 contains a heap-based buffer overflow in its pixel export handling. An attacker can supply a crafted image that, when its pixel data is exported in a very specific situation, causes a small heap buffer over-write, potentially leading to a crash or memory corruption.

(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.1 Low `CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N`
- VulnCheck: CVSS:3.1 2.9 Low `CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L`

## References

- <https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-qw9c-mq27-w844> (vendor-advisory)
- <https://www.vulncheck.com/advisories/imagemagick-before-7.1.2-36-heap-buffer-overflow-via-pixel-export> (third-party-advisory)

## Sources

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

---

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