What’s Vulnerable › Vulnerabilities

CVE-2025-53014: ImageMagick has Heap Buffer Overflow in InterpretImageFilename

Description

ImageMagick is free and open-source software used for editing and manipulating digital images. Versions prior to 7.1.2-0 and 6.9.13-26 have a heap buffer overflow in the `InterpretImageFilename` function. The issue stems from an off-by-one error that causes out-of-bounds memory access when processing format strings containing consecutive percent signs (`%%`). Versions 7.1.2-0 and 6.9.13-26 fix the issue.

Affected products

How to fix

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

References

Get alerted when CVE-2025-53014 or the next vulnerability affects your stack