Description
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.
Problem types
CWE-123: Write-what-where Condition
CWE-134: Use of Externally-Controlled Format String
Product status
< 6.9.13-28
References
github.com/...Magick/security/advisories/GHSA-9ccg-6pjw-x645
github.com/...ommit/439b362b93c074eea6c3f834d84982b43ef057d5
github.com/dlemstra/Magick.NET/releases/tag/14.8.1