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

Read the record on cve.org

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.

ProductVersions
ImageMagick ImageMagick7.0.0 to before 7.1.2-35 Affected7.1.2-35 Not Affected
ImageMagick ImageMagickbefore 6.9.13-60 Affected6.9.13-60 Not Affected

Weaknesses

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

References

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.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.