ImageMagick before 7.1.2-35 Code Injection via MAGICK, XBM, XPM and UIL Encoders
- State
- Published
- Severity
- 5.4 Medium
- Published
- Nov 18, 2026
- Updated
- Nov 21, 2026
- Reserved
- Nov 17, 2026
Description
ImageMagick before 7.1.2-35 contains a code injection vulnerability in the MAGICK, XBM, XPM and UIL encoders that allows local attackers to inject content via crafted filenames. Attackers with access to the output directory and control over the filename can inject additional headers or code into the generated image source output.
| Product | Versions |
|---|---|
| ImageMagick ImageMagick | 7.0.0 to before 7.1.2-35 Affected7.1.2-35 Not Affected |
| ImageMagick ImageMagick | before 6.9.13-60 Affected6.9.13-60 Not Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 5.4 Medium | VulnCheck | |
| 3.1 | 6.7 Medium | VulnCheck |
Weaknesses
- CWE-94 Improper Control of Generation of Code ('Code Injection')
References
- GitHub Security Advisory (GHSA-2pc3-3339-3qc9)Vendor Advisory
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.