What’s Vulnerable › Vulnerabilities
CVE-2026-27799: ImageMagick has a heap Buffer Over-read in its DJVU image format handler
- Severity: medium (CVSS 4.4 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.1% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-02-26 · updated 2026-06-17
- Weakness: CWE-122
Description
ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to versions 7.1.2-15 and 6.9.13-40, a heap buffer over-read vulnerability exists in the DJVU image format handler. The vulnerability occurs due to integer truncation when calculating the stride (row size) for pixel buffer allocation. The stride calculation overflows a 32-bit signed integer, resulting in an out-of-bounds memory reads. Versions 7.1.2-15 and 6.9.13-40 contain a patch.
Affected products
- Dlemstra Magick.Net: before 14.10.3 — fixed in 14.10.3
- ImageMagick: before 6.9.13-40; from 7.0.0-0 before 7.1.2-15 — fixed in 6.9.13-40, 7.1.2-15
How to fix
Upgrade to a fixed version: Dlemstra Magick.Net 14.10.3; ImageMagick 6.9.13-40, 7.1.2-15. Check the vendor advisory for mitigations.
References
- https://github.com/ImageMagick/ImageMagick/commit/e87695b3227978ad70b967b8d054baaf8ac2cced
- https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-r99p-5442-q2x2
- https://github.com/dlemstra/Magick.NET/releases/tag/14.10.3
Get alerted when CVE-2026-27799 or the next vulnerability affects your stack