CVE-2025-55298

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.
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:*
cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:*

History

02 Sep 2025, 18:10

Type Values Removed Values Added
CPE cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:*
References () https://github.com/ImageMagick/ImageMagick/commit/439b362b93c074eea6c3f834d84982b43ef057d5 - () https://github.com/ImageMagick/ImageMagick/commit/439b362b93c074eea6c3f834d84982b43ef057d5 - Patch
References () https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-9ccg-6pjw-x645 - () https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-9ccg-6pjw-x645 - Exploit, Vendor Advisory
References () https://github.com/dlemstra/Magick.NET/releases/tag/14.8.1 - () https://github.com/dlemstra/Magick.NET/releases/tag/14.8.1 - Release Notes
First Time Imagemagick
Imagemagick imagemagick

29 Aug 2025, 16:22

Type Values Removed Values Added
Summary
  • (es) ImageMagick es un software gratuito y de código abierto que se utiliza para editar y manipular imágenes digitales. Antes de las versiones 6.9.13-28 y 7.1.2-2 de ImageMagick, existía una vulnerabilidad de error de formato de cadena en la función InterpretImageFilename, donde la entrada del usuario se pasaba directamente a FormatLocaleString sin la debida depuración. Un atacante podía sobrescribir regiones de memoria arbitrarias, lo que permitía una amplia gama de ataques, desde el desbordamiento de pila hasta la ejecución remota de código. Este problema se ha corregido en las versiones 6.9.13-28 y 7.1.2-2.

26 Aug 2025, 21:15

Type Values Removed Values Added
References () https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-9ccg-6pjw-x645 - () https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-9ccg-6pjw-x645 -

26 Aug 2025, 18:15

Type Values Removed Values Added
New CVE

Information

Published : 2025-08-26 18:15

Updated : 2025-09-02 18:10


NVD link : CVE-2025-55298

Mitre link : CVE-2025-55298

CVE.ORG link : CVE-2025-55298


JSON object : View

Products Affected

imagemagick

  • imagemagick
CWE
CWE-123

Write-what-where Condition

CWE-134

Use of Externally-Controlled Format String