« List of all CVEs

CVE-2025-55298

ImageMagick Format String Bug in InterpretImageFilename leads to arbitrary code execution

Published: 8/26/2025 Last updated: 11/3/2025 Reserved: 8/12/2025

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.

CNA assigner: GitHub_M (a0819718-46f1-4df5-94e2-005712e83aaa) Requested by: n/a

Metrics

Version Score Severity Vector String
3.1 7.5 High CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

Opam packages affected (2)

conf-libMagickCore ocsigen-start

Products affected (2)

Product Vendor Version
ImageMagick ImageMagick < 95bc35f9bee5220dad4e8567654ab3288a181639
ImageMagick ImageMagick 6.0.6

References (10)