Vulnerability · Published Oct 13, 2026 · Assigned by VulnCheck
CVE-2026-109964ImageMagick before 7.1.2-33 and 6.9.13-58 Heap Buffer Underwrite in PICT Decoder
Medium 5.6
In plain English
A medium-severity security flaw in ImageMagick from ImageMagick. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 28% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | imagemagick | 8:6.9.11.60+dfsg-1.6+deb12u15 | DEBIAN-CVE-2026-109964 |
| Debian:13 | imagemagick | 8:7.1.1.43+dfsg1-1+deb13u14 | DEBIAN-CVE-2026-109964 |
| Debian:14 | imagemagick | 8:7.1.2.33+dfsg1-1 | DEBIAN-CVE-2026-109964 |
| Ubuntu:26.10 | imagemagick | no fix listed | UBUNTU-CVE-2026-109964 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| ImageMagick | ImageMagick | 7.0.0-0 – before 7.1.2-330 – before 6.9.13-58 |
Weakness: CWE-124 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
References
- GitHub Security Advisory (GHSA-mqmp-r5jh-jx7w) 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 technical-description
- https://github.com/ImageMagick/ImageMagick product
- VulnCheck Advisory: ImageMagick before 7.1.2-33 and 6.9.13-58 Heap Buffer Underwrite in PICT Decoder third-party-advisory