CVE Vulnerabilities

CVE-2025-55298

Write-what-where Condition

Published: Aug 26, 2025 | Modified: Nov 03, 2025
CVSS 3.x
8.8
HIGH
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS 2.x
RedHat/V2
RedHat/V3
7.8 IMPORTANT
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Ubuntu
MEDIUM
root.io logo minimus.io logo echo.ai logo

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.

Weakness

Any condition where the attacker has the ability to write an arbitrary value to an arbitrary location, often as the result of a buffer overflow.

Affected Software

NameVendorStart VersionEnd Version
ImagemagickImagemagick*6.9.13-28 (excluding)
ImagemagickImagemagick7.0.0-0 (including)7.1.2-2 (excluding)
ImagemagickUbuntuesm-apps/focal*
ImagemagickUbuntuesm-apps/jammy*
ImagemagickUbuntuesm-apps/noble*
ImagemagickUbuntuesm-infra-legacy/trusty*
ImagemagickUbuntuesm-infra/bionic*
ImagemagickUbuntuesm-infra/xenial*
ImagemagickUbuntujammy*
ImagemagickUbuntunoble*
ImagemagickUbuntuplucky*
ImagemagickUbuntuupstream*

Potential Mitigations

References