ImageMagick
ImageMagick Format String Bug in InterpretImageFilename leads to arbitrary code execution
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.
First public PoC
None yetno public PoC found
Public PoCs00 on GitHub
CVSS8.8high · scored by NVD · CWE-123
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
ImageMagick ImageMagick
- < 7.1.2-2
- < 6.9.13-28
Fixed in 7.1.2-2, 6.9.13-28
Mitigation
Upgrade ImageMagick to 7.1.2-2 or 6.9.13-28 or later.
References
- Vendor advisory github.com/ImageMagick/ImageMagick/security/ad…
- Patch github.com/ImageMagick/ImageMagick/commit/439b…
- Release notes github.com/dlemstra/Magick.NET/releases/tag/14…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.