CVE-2026-130663
published medium CVSS 4.0 · 5.4ImageMagick before 7.1.2-35 Code Injection via MAGICK, XBM, XPM and UIL Encoders
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| ImageMagick | — | ImageMagick7.0.0 to < 7.1.2-35 (affected · semver) · 7.1.2-35 (unaffected · semver) · Other versions: unaffected | Version-specific | Not stated | VulnCheck |
| ImageMagick | — | ImageMagick0 to < 6.9.13-60 (affected · semver) · 6.9.13-60 (unaffected · semver) · Other versions: unaffected | Version-specific | Not stated | VulnCheck |
| Amazon Linux | AL2 | Release evaluation | Pending Fix | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-3490 | Fixed | Not stated | Amazon Linux assessment |
| Debian | bookworm | imagemagick | Advisory build | 8:6.9.11.60+dfsg-1.6+deb12u16 | DLA-4958-1 |
| Amazon Linux | AL2023 | ImageMagickaarch64 | Listed in advisory | Not stated | ALAS2023-2026-3490 |
| Amazon Linux | AL2023 | ImageMagicksrc | Listed in advisory | Not stated | ALAS2023-2026-3490 |
| Amazon Linux | AL2023 | ImageMagickx86_64 | Listed in advisory | Not stated | ALAS2023-2026-3490 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 5.4 / 10
- Severity
- medium
- Provider
- VulnCheck · cna
- Vector string
- CVSS:4.0/AV:L/AC:H/AT:P/PR:L/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 6.7 | medium | VulnCheck · cna | CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| ImageMagick | ImageMagick | 7.0.0 to < 7.1.2-35 (affected · semver)7.1.2-35 (unaffected · semver)Default: unaffected | VulnCheck · cna |
| ImageMagick | ImageMagick | 0 to < 6.9.13-60 (affected · semver)6.9.13-60 (unaffected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-94 Improper Control of Generation of Code ('Code Injection')
References
1- GitHub Security Advisory (GHSA-2pc3-3339-3qc9) https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-2pc3-3339-3qc9
Provider assertions
2VulnCheck · cna
ImageMagick before 7.1.2-35 Code Injection via MAGICK, XBM, XPM and UIL Encoders
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- d6e853cecc54450603d4672fd0e53824906cde18dd43dd9dd83c02f6d890afa2
- Ingested
- 21 Nov 2026, 02:51:04 UTC
- Source record
- Official CVE record