CVE-2025-55298 HIGH

CVE-2025-55298: ImageMagick Format String Bug in InterpretImageFilename leads to arbitrary code execution

Vendor Imagemagick
Product ImageMagick
Weakness CWE-123
Published August 26, 2025
Last update November 3, 2025

CVSS base score

7.5/10
Attack vector Network
Attack complexity High
Privileges required Low
User interaction None
Confidentiality High
Integrity High

CVSS vector

CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

August 26, 2025 CVE published
November 3, 2025 Record updated