CVE-2026-61858: ImageMagick before 7.1.2-26 Policy Bypass via APNG encoder

Published Jul 11, 2026
·
Updated

ImageMagick before 7.1.2-26 contains a policy bypass vulnerability in the APNG encoder and external delegates due to missing validation checks. Attackers can write files to disallowed paths by bypassing configured policy restrictions through the APNG encoding process.

Affected Software

3 affected components
ImageMagick ImageMagick<7.1.2-26
ImageMagick ImageMagick<6.9.13-51
ImageMagick ImageMagick>=7.0.0-0<7.1.2-26

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-26
  2. Compensating control

    If immediate upgrade is not possible, restrict or sandbox ImageMagick usage to prevent it from writing to disallowed paths while the APNG encoder policy bypass is present.

Event History

Jul 11, 2026
CVE Published
via MITRE·01:01 PM
Data Sourced
via MITRE·01:01 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·02:16 PM
DescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-61858?

CVE-2026-61858 has a low severity rating of 3.3.

2

How do I fix CVE-2026-61858?

To fix CVE-2026-61858, update ImageMagick to version 7.1.2-26 or later.

3

What does CVE-2026-61858 affect?

CVE-2026-61858 affects versions of ImageMagick prior to 7.1.2-26.

4

What is the impact of CVE-2026-61858?

CVE-2026-61858 allows attackers to bypass policy restrictions and write files to disallowed paths.

5

How can CVE-2026-61858 be exploited?

CVE-2026-61858 can be exploited through the APNG encoding process due to missing validation checks.

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