CVE-2026-27799Heap-based Buffer Overflow in Imagemagick

Severity
4.4MEDIUMNVD
EPSS
0.0%
top 96.72%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedFeb 26

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.

CVSS vector

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:LExploitability: 1.8 | Impact: 2.5

Affected Packages5 packages

debiandebian/imagemagick< imagemagick 8:6.9.11.60+dfsg-1.6+deb12u7 (bookworm)
NVDimagemagick/imagemagick7.0.0-07.1.2-15+1
Debianimagemagick/imagemagick< 8:6.9.11.60+dfsg-1.3+deb11u10+3
CVEListV5imagemagick/imagemagick>= 7.0.0, < 7.1.2-15
NVDdlemstra/magick.net< 14.10.3

Patches

🔴Vulnerability Details

3
OSV
CVE-2026-27799: ImageMagick is free and open-source software used for editing and manipulating digital images2026-02-26
GHSA
ImageMagick has a heap Buffer Over-read in its DJVU image format handler2026-02-25
OSV
ImageMagick has a heap Buffer Over-read in its DJVU image format handler2026-02-25

📋Vendor Advisories

2
Red Hat
ImageMagick: ImageMagick: Denial of Service and data corruption due to crafted DJVU image processing2026-02-25
Debian
CVE-2026-27799: imagemagick - ImageMagick is free and open-source software used for editing and manipulating d...2026

🕵️Threat Intelligence

1
Wiz
CVE-2026-27799 Impact, Exploitability, and Mitigation Steps | Wiz