CVE-2025-55298CWE-123CWE-134

ImageMagick Format String Bug in InterpretImageFilename leads to arbitrary code execution

High · published August 26, 2025

CVSS v3.1
7.5
EPSS
5%
Percentile
91.7
In the wild
Unconfirmed
What it is

ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to ImageMagick versions 6.9.13-28 and 7.1.2-2, a format string bug vulnerability exists in InterpretImageFilename function where user input is directly passed to FormatLocaleString without proper sanitization. An attacker can overwrite arbitrary memory regions, enabling a wide range of attacks from heap overflow to remote code execution. This issue has been patched in versions 6.9.13-28 and 7.1.2-2.

The record
Technical detail
CVSS v3.1
7.5 · HIGH
Vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.04649 · 91.7th percentile
Weaknesses
CWE-123 · Write-what-where Condition; CWE-134 · Use of Externally-Controlled Format String
Published
2025-08-26T17:20Z
EPSS history
Timeline
  • 26 AUG 17:20Z
    ImageMagick Format String Bug in InterpretImageFilename leads to arbitrary code execution
    cvelistv5