ADVISORIES

Alpine Security Database

ALPINE-CVE-2025-55298

Details

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.

Affected packages

EcosystemPackageAffected versions
Alpine:v3.23imagemagick
All versions before 7.1.2.8-r0 (fixed in 7.1.2.8-r0)
Alpine:v3.24imagemagick
All versions before 7.1.2.8-r0 (fixed in 7.1.2.8-r0)

References