# CVE-2026-109964: ImageMagick before 7.1.2-33 and 6.9.13-58 Heap Buffer Underwrite in PICT Decoder

- Severity: Medium 6.3 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.37%, higher than 33% of CVEs (2026-12-01)
- Published: 2026-10-13T13:35:45.590Z
- Modified: 2026-11-03T18:24:03.170Z
- Weaknesses: CWE-124
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: VulnCheck

## Description

ImageMagick before 7.1.2-33 and 6.9.13-58 contains a heap buffer underwrite vulnerability in DecodeImage() in coders/pict.c on 32-bit builds due to pointer arithmetic overflow. Attackers can supply a crafted PICT file with maximized row, column and bytes-per-line values to bypass bounds checks and write up to 128 controlled bytes below the heap buffer, causing crashes or code execution.

(As written by CVE List.)

## Affected

- ImageMagick ImageMagick: from 7.0.0-0 before 7.1.2-33; before 6.9.13-58

## Every score

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

## References

- <https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-mqmp-r5jh-jx7w> (patch, vendor-advisory)
- <https://github.com/ImageMagick/ImageMagick/commit/63dde0cf281383ab69432b88305f7dcd6a8ce900> (patch)
- <https://github.com/ImageMagick/ImageMagick6/commit/c18c5d5fb7f1d87ddbe0a02e9d1207c89b24588c> (patch)
- <https://github.com/ImageMagick/ImageMagick/blob/7.1.2-32/coders/pict.c#L503-L540> (product, technical-description)
- <https://github.com/ImageMagick/ImageMagick> (product)
- <https://www.vulncheck.com/advisories/imagemagick-before-7.1.2-33-and-6.9.13-58-heap-buffer-underwrite-in-pict-decoder> (patch, third-party-advisory)

## Sources

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

---

Page: https://cve.day/CVE-2026-109964 · Whole record: https://cve.day/CVE-2026-109964.json · Rebuilt by cve.day 2026-11-25T22:59:43.820Z
