ImageMagick has Heap Buffer Overflow in InterpretImageFilename
Published Jul 14, 2025
9.8
CRITICALCVSS 3.1
EPSS 0.68%
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
-
- Version < 6.9.13-26StatusaffectedConstraints-
- Version < 7.1.2-0StatusaffectedConstraints-
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ImageMagick | ImageMagick | n/a |
|
- < 6.9.13-26
- ≥ 7.0.0-0 · < 7.1.2-0
No data.
Red Hat Enterprise Linux 6
ImageMagick
Out of support scope
Red Hat Enterprise Linux 7
ImageMagick
Fix deferred
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 6 | ImageMagick | Out of support scope | n/a |
| Red Hat Enterprise Linux 7 | ImageMagick | Fix deferred | n/a |
No package ranges for this CVE.
Remediation
Red Hat mitigation
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.
References (10)
- https://access.redhat.com/security/cve/CVE-2025-53014 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2379941 Issue Tracking
- https://github.com/ImageMagick/ImageMagick/commit/29d82726c7ec20c07c49ba263bdcea16c2618e03
- https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-hm4x-r5hc-794f x_refsource_CONFIRMExploitVendor Advisory
- https://github.com/ImageMagick/ImageMagick6/commit/79b6ed03770781d996d1710b89fbb887e5ea758a
- https://github.com/advisories/GHSA-hm4x-r5hc-794f Advisory
- https://github.com/dlemstra/Magick.NET/releases/tag/14.7.0
- https://lists.debian.org/debian-lts-announce/2025/09/msg00012.html
- https://nvd.nist.gov/vuln/detail/CVE-2025-53014
- https://www.cve.org/CVERecord?id=CVE-2025-53014
Change history (0)
No recorded changes yet.