Heap buffer overflow in ImageMagick via magick stream operation
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- Passive
- Attack complexity
- High
- Attack requirements
- Present
- Impact type
- —
- Confidentiality · integrity · availability
- None · None · 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 before 7.1.2-35 and before 6.9.13-60 contains a heap buffer overflow (CWE-787). A local attacker with no privileges can supply crafted images that a user processes with the magick stream operation, writing beyond allocated heap memory and crashing the application.
Written with Claude Haiku 5.5 from the sources below · 2026-11-26
Description from the CNA
ImageMagick before 7.1.2-35 contains a heap buffer overflow vulnerability that allows attackers to write beyond allocated heap memory by supplying crafted images. Attackers can provide a crafted set of images processed by the magick stream operation to corrupt heap memory and crash the application.
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 to before 7.1.2-35 | 7.1.2-35 | Patch available | CNA |
| ImageMagick | ImageMagick | before 6.9.13-60 | 6.9.13-60 | Patch available | CNA |
- ImageMagick VendorImageMagick Affected 7.0.0 to before 7.1.2-35 Fixed in 7.1.2-35 Patch available CNA
- ImageMagick VendorImageMagick Affected before 6.9.13-60 Fixed in 6.9.13-60 Patch available CNA
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:* | before 6.9.13-60; 7.0.0-0 to before 7.1.2-35 | Vulnerable | ImageMagick |
- cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:* Versions before 6.9.13-60; 7.0.0-0 to before 7.1.2-35 Vulnerable ·ImageMagick
Remediation
Upgrade affected ImageMagick installations to 7.1.2-35 or 6.9.13-60, matching the branch in use. Red Hat lists no fix plan for Red Hat Enterprise Linux 6 and Red Hat Enterprise Linux 7.
Written with Claude Haiku 5.5 from the sources below · 2026-11-26
- Fix · CNA ImageMagick (ImageMagick) Fixed in 7.1.2-35
- Fix · CNA ImageMagick (ImageMagick) Fixed in 6.9.13-60
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
ImageMagick 7.1.2-35
20 records Highest priority Priority LOW 20 LOW
Other records, highest priority first
- TI-2026-93802 ImageMagick XMP profile policy bypass enables denial of servicePriority LOW 37
- TI-2026-93797 Policy bypass in ImageMagick ASE decoder allows denial of servicePriority LOW 37
- TI-2026-93795 ImageMagick allocates excessive memory for images with many profilesPriority LOW 37
- Release ·
ImageMagick 6.9.13-60
16 records Highest priority Priority LOW 16 LOW
Other records, highest priority first
- TI-2026-93802 ImageMagick XMP profile policy bypass enables denial of servicePriority LOW 37
- TI-2026-93795 ImageMagick allocates excessive memory for images with many profilesPriority LOW 37
- TI-2026-93791 Denial of service in ImageMagick raw pixel decodersPriority LOW 37
Vendor assessments
Red Hat
Red Hat rating: Low. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 6 | Affected | No fix yet: Fix deferred |
| Red Hat Enterprise Linux 7 | Affected | No fix yet: Fix deferred |
Timeline
- 2026-11-18 Threatist record created from CVE-2026-130664
- 2026-11-18 Alias added: GHSA-cxgc-v6m6-gggx
- 2026-11-18 CISA SSVC decision points changed
- 2026-11-26 Affected versions changed · Red Hat
- 2026-11-26 CVSS score added · Red Hat
References
More Imagemagick vulnerabilities
- TI-2016-03144 Command injection in ImageMagick coders allows remote code execution KEVCVSS 3.1HIGH 8.4
- TI-2023-16996 Improper input validation in ImageMagick CVSS 3.1CRITICAL 9.8
- TI-2016-03148 Server-side request forgery in ImageMagick HTTP and FTP coders KEVCVSS 3.1MEDIUM 5.5
- TI-2016-03145 Arbitrary file deletion in ImageMagick via EPHEMERAL coder 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-130664 · CVE Program
- CVE-2026-130664 · NVD
- FIRST EPSS
- GHSA-cxgc-v6m6-gggx · GitHub Advisory Database · CC BY 4.0
- CVE-2026-130664 · 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