ImageMagick
ImageMagick affected by divide-by-zero in ThumbnailImage via montage -geometry ":" leads to crash
ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to versions 6.9.13-28 and 7.1.2-2, passing a geometry string containing only a colon (":") to montage -geometry leads GetGeometry() to set width/height to 0. Later, ThumbnailImage() divides by these zero dimensions, triggering a crash (SIGFPE/abort), resulting in a denial of service. 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
CVSS7.5high · scored by NVD · CWE-369
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/5f0b…
- 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.