CVE-2026-130663 — ImageMagick before 7.1.2-35 Code Injection via MAGICK, XBM, XPM and UIL Encoders

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.

Published

CVSS 4.0 score 5.4 out of 10.

Reported versions and fixes

  • Source-reported product
  • Source-reported product
  • Source-reported product
  • Source-reported product
  • Source-reported product — Reported version range cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:*
  • Source-reported product — Reported version range cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:*

Source evidence