CVE-2026-105083: ImageMagick before 7.1.2-32 and 6.9.13-57 Security Policy Bypass via policy.xml DOCTYPE

Published Oct 3, 2026
·
Updated

ImageMagick before 7.1.2-32 and 6.9.13-57 contains a policy bypass vulnerability in LoadPolicyCache that silently skips security policy rules when policy.xml uses an alternate DOCTYPE. A valid DOCTYPE not ending in ']>' makes the parser consume the rest of the file, so no policy rules are applied and restricted operations become allowed.

Affected Software

1 affected component
ImageMagick ImageMagick<7.1.2-32, <6.9.13-57

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade ImageMagick to a version that resolves this vulnerability.

    Fixed in 7.1.2-32
  2. Upgrade

    Upgrade ImageMagick to a version that resolves this vulnerability.

    Fixed in 6.9.13-57

Event History

Oct 3, 2026
CVE Published
via MITRE·01:11 AM
Data Sourced
via MITRE·01:11 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which ImageMagick releases include the fix?

Upgrade to ImageMagick 7.1.2-32 or later, or 6.9.13-57 or later. Earlier releases are affected.

2

What policy.xml condition triggers the bypass?

The condition requires a valid alternate DOCTYPE whose declaration does not end in ']>'. Under that condition, LoadPolicyCache consumes the remainder of the file and skips all subsequent security policy rules.

3

How can I check whether an existing policy file is being bypassed?

Inspect policy.xml for a DOCTYPE declaration that does not end in ']>' and determine whether policy rules follow it. In an affected release, rules after that declaration are not applied, allowing operations that the policy was intended to restrict.

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