CVE-2026-105404: ImageMagick before 7.1.2-31 Code Injection via PostScript Coders

Published Oct 8, 2026
·
Updated

ImageMagick before 6.9.13-56 and 7.x before 7.1.2-31 contains a code injection vulnerability in its PostScript coders, because some values are not properly escaped or trimmed when written to output. Attackers can supply crafted values that embed arbitrary PostScript code into files generated by these coders.

Affected Software

1 affected component
ImageMagick ImageMagick<6.9.13-56, >=7.0.0<7.1.2-31

Event History

Oct 8, 2026
CVE Published
via MITRE·02:10 PM
Data Sourced
via MITRE·02:10 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·03:17 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which deployments are affected?

ImageMagick versions before 6.9.13-56 and 7.x versions before 7.1.2-31 are affected. Exposure applies when PostScript coders generate output using values that an attacker can influence.

2

What must an attacker do to exploit this issue?

An attacker must supply crafted values that are written into output produced by ImageMagick's PostScript coders. The values can embed arbitrary PostScript code because they are not properly escaped or trimmed.

3

How can this be remediated?

Upgrade ImageMagick to 6.9.13-56 or later in the 6.x branch, or to 7.1.2-31 or later in the 7.x branch.

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