Code injection in ImageMagick MVG encoder drawing options
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- Passive
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Cross-site scripting
- Confidentiality · integrity · availability
- Low · None · None
- Fix status
- Partial Red Hat: 2 without a fix
Attack profile from CVSS 4.0 · CNA. Fix status from CNA and Red Hat. Impact type from CWE-79.
Summary
ImageMagick before 6.9.13-58 and 7.x before 7.1.2-33 is affected. The MVG encoder does not neutralize user-specified drawing options before writing them into generated MVG output (CWE-79). An attacker who can supply drawing options, with local access and user interaction, can inject arbitrary MVG drawing commands into the resulting MVG file.
Written with Claude Haiku 5.5 from the sources below · 2026-11-03
Description from the CNA
ImageMagick before 6.9.13-58 and 7.x before 7.1.2-33 contains an injection vulnerability in the MVG encoder, which does not properly neutralize user-specified drawing options before writing them into generated MVG output. Attackers who can supply drawing options can inject arbitrary MVG drawing commands into the resulting MVG file.
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 | 7.1.2-33 | Patch available | CNA |
| ImageMagick | ImageMagick | before 6.9.13-58 | 6.9.13-58 | Patch available | CNA |
- ImageMagick VendorImageMagick Affected 7.0.0-0 to before 7.1.2-33 Fixed in 7.1.2-33 Patch available CNA
- ImageMagick VendorImageMagick Affected before 6.9.13-58 Fixed in 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 to ImageMagick 6.9.13-58 or 7.1.2-33, matching your branch. Red Hat lists Red Hat Enterprise Linux 6 with no fix planned and Red Hat Enterprise Linux 7 with no fix available.
Written with Claude Haiku 5.5 from the sources below · 2026-11-03
- Fix · CNA ImageMagick (ImageMagick) Fixed in 7.1.2-33
- Fix · CNA ImageMagick (ImageMagick) Fixed in 6.9.13-58
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
ImageMagick 7.1.2-33
20 records Highest priority Priority LOW 20 LOW
Other records, highest priority first
- TI-2026-80173 Memory leak in ImageMagick via crafted XMP profilePriority LOW 36
- TI-2026-80172 Memory leak in ImageMagick XML parsing at nesting depth limitPriority LOW 36
- TI-2026-80170 Memory leak in ImageMagick MAT decoder error pathPriority LOW 36
- Release ·
ImageMagick 6.9.13-58
14 records Highest priority Priority LOW 14 LOW
Other records, highest priority first
- TI-2026-80173 Memory leak in ImageMagick via crafted XMP profilePriority LOW 36
- TI-2026-80172 Memory leak in ImageMagick XML parsing at nesting depth limitPriority LOW 36
- TI-2026-80167 Stack buffer overflow in ImageMagick via bzip2 compressed imagesPriority LOW 32
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 planned: Out of support scope |
| Red Hat Enterprise Linux 7 | Affected | No fix yet: Fix deferred |
Timeline
- 2026-10-25 Threatist record created from CVE-2026-116148
- 2026-10-25 Affected versions changed · Red Hat
- 2026-10-25 CVSS score added · Red Hat
- 2026-10-27 Alias added: GHSA-g4fj-jwfv-j2rp
- 2026-11-05 CISA SSVC decision points changed
References
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-116148 · CVE Program
- CVE-2026-116148 · NVD
- FIRST EPSS
- GHSA-g4fj-jwfv-j2rp · GitHub Advisory Database · CC BY 4.0
- CVE-2026-116148 · 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