What’s Vulnerable › Vulnerabilities

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

Description

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 products

How to fix

Upgrade to a fixed version: ImageMagick 6.9.13-51, 7.1.2-26; ImageMagick 7.1.2-26. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-61858 or the next vulnerability affects your stack