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.

Severity (CVSS)

Base score5.4
SeverityMedium
VersionCVSS 4.0
VectorCVSS:4.0/AV:L/AC:H/AT:P/PR:L/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Provided byCNA

Weaknesses

  • CWE-94 — Improper Control of Generation of Code ('Code Injection')

Affected products

VendorProductVersions
ImageMagickImageMagick7.0.0 to <7.1.2-35 [affected]; 7.1.2-35 [unaffected]
ImageMagickImageMagick0 to <6.9.13-60 [affected]; 6.9.13-60 [unaffected]

References

Authoritative sources

This page is a snapshot. For the latest enrichment and updates, view the record on CVE.org or the NVD.

Assess this vulnerability

Compare your deployed product and version with the source record. Review vendor references for fixes and workarounds. A CVSS score describes technical severity; it does not establish that your systems are affected or that exploitation has occurred.

Browse all CVE security advisories · Symaro cybersecurity services

Generated from the official CVE List on 19 Nov 2026 08:05 UTC.