CVE-2025-53014

ImageMagick has Heap Buffer Overflow in InterpretImageFilename

Published Jul 14, 2025 CVSS 3.1 · 3.7 Low EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4297-1 imagemagick security update
EUVD EUVD EUVD-2025-21380 ImageMagick has a Heap Buffer Overflow in InterpretImageFilename
Github GHSA Github GHSA GHSA-hm4x-r5hc-794f ImageMagick has a Heap Buffer Overflow in InterpretImageFilename
Ubuntu USN Ubuntu USN USN-7728-1 ImageMagick vulnerabilities
History
Type Values Removed Values Added
CPEs cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:*
Type Values Removed Values Added
Metrics epss

{'score': 0.00028}

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title ImageMagick has Heap Buffer Overflow in InterpretImageFilename
Weaknesses CWE-125
CWE-193
References
Metrics cvssV3_1

{'score': 3.7, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Nov 3, 2025, 6:13 PM
Reserved
Jun 24, 2025, 3:50 AM
Status
Modified
Published
Jul 14, 2025, 6:15 PM
Modified
Jun 17, 2026, 9:37 AM
Severity
Low
Public date
Jul 14, 2025, 5:59 PM