Heap buffer underwrite in ImageMagick PICT image decoder
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- High
- Attack requirements
- Present
- Impact type
- —
- Confidentiality · integrity · availability
- Low · Low · Low
- Fix status
- Partial Red Hat: 2 without a fix
Attack profile from CVSS 4.0 · CNA. Fix status from CNA and Red Hat.
Summary
ImageMagick versions from 7.0.0-0 before 7.1.2-33 and versions before 6.9.13-58 are affected. A pointer arithmetic overflow in DecodeImage() in coders/pict.c on 32-bit builds lets crafted row, column and bytes-per-line values bypass bounds checks, causing a heap buffer underwrite (CWE-124). An unauthenticated attacker who supplies a crafted PICT file can write up to 128 controlled bytes below the heap buffer, causing crashes or code execution.
Written with Claude Haiku 5.5 from the sources below · 2026-11-03
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| ImageMagick | ImageMagick | 7.0.0-0 to before 7.1.2-33; before 6.9.13-58 | 7.1.2-33, 6.9.13-58 | Patch available | CNA |
- ImageMagick VendorImageMagick Affected 7.0.0-0 to before 7.1.2-33; before 6.9.13-58 Fixed in 7.1.2-33, 6.9.13-58 Patch available CNA
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:* | before 6.9.13-58; 7.0.0-0 to before 7.1.2-33 | Vulnerable | ImageMagick |
- cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:* Versions before 6.9.13-58; 7.0.0-0 to before 7.1.2-33 Vulnerable ·ImageMagick
Remediation
Upgrade ImageMagick 7 to 7.1.2-33 and ImageMagick 6 to 6.9.13-58. The sources list no fixed version for Red Hat Enterprise Linux 6 or Red Hat Enterprise Linux 7.
Written with Claude Haiku 5.5 from the sources below · 2026-11-03
- Fix · CNA ImageMagick (ImageMagick) Fixed in 7.1.2-33, 6.9.13-58
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 6 | Affected | No fix planned: Out of support scope |
| Red Hat Enterprise Linux 7 | Affected | No fix yet |
Timeline
- 2026-10-13 Threatist record created from CVE-2026-109964
- 2026-10-13 Alias added: GHSA-279f-3w5r-54f5
- 2026-10-13 CISA SSVC decision points changed
- 2026-10-13 Priority changed: MEDIUM → LOW
- 2026-10-15 Affected versions changed · Red Hat
- 2026-10-15 CVSS score added · Red Hat
References
Patch 3
More Imagemagick vulnerabilities
- TI-2016-03144 The (1) EPHEMERAL, (2) HTTPS, (3) MVG, (4) MSL, (5) TEXT, (6) SHOW, (7) WIN, and (8) PLT… KEVCVSS 3.1HIGH 8.4
- TI-2023-16996 Improper input validation in ImageMagick CVSS 3.1CRITICAL 9.8
- TI-2016-03148 The (1) HTTP and (2) FTP coders in ImageMagick before 6.9.3-10 and 7.x before 7.0.1-1… KEVCVSS 3.1MEDIUM 5.5
- TI-2016-03145 The EPHEMERAL coder in ImageMagick before 6.9.3-10 and 7.x before 7.0.1-1 allows remote… KEVCVSS 3.1MEDIUM 5.5
- TI-2025-35690 ImageMagick BlobStream Forward-Seek Under-Allocation CVSS 3.1CRITICAL 9.8
- TI-2025-33094 ImageMagick has Stack Buffer Overflow in image.c CVSS 3.1CRITICAL 9.8
Sources
- CVE-2026-109964 · CVE Program
- CVE-2026-109964 · NVD
- FIRST EPSS
- GHSA-279f-3w5r-54f5 · GitHub Advisory Database · CC BY 4.0
- CVE-2026-109964 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences