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

Published Nov 18, 2026
·
Updated

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.

Affected Software

1 affected component
ImageMagick ImageMagick<7.1.2-35

Event History

Nov 18, 2026
CVE Published
via MITRE·11:33 AM
Data Sourced
via MITRE·11:33 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·12:17 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What access does an attacker need to exploit this issue?

The attacker needs local access, permission to write to the output directory, and control over the filename used for generated output. Exploitation also requires user interaction and has high attack complexity.

2

Which output formats are affected?

The affected encoders are MAGICK, XBM, XPM, and UIL. The issue occurs when crafted filenames cause additional headers or code to be injected into generated image source output.

3

Which versions need remediation?

ImageMagick versions before 7.1.2-35 are affected. Updating to 7.1.2-35 or later addresses the affected version range described here.

4

What can be done if updating is not immediately possible?

Do not allow untrusted users or processes to control output filenames or write to image output directories. Avoid generating output through the MAGICK, XBM, XPM, and UIL encoders when filenames may be attacker-controlled.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203