CVE-2026-25986Out-of-bounds Write in Imagemagick

Severity
9.8CRITICALNVD
CNA5.3
EPSS
0.0%
top 92.83%
CISA KEV
Not in KEV
Exploit
No known exploits
Affected products
Timeline
PublishedFeb 24
Latest updateMar 12

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 overflow write vulnerability exists in ReadYUVImage() (coders/yuv.c) when processing malicious YUV 4:2:2 (NoInterlace) images. The pixel-pair loop writes one pixel beyond the allocated row buffer. Versions 7.1.2-15 and 6.9.13-40 contain a patch.

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HExploitability: 3.9 | Impact: 5.9

Affected Packages3 packages

CVEListV5imagemagick/imagemagick< 6.9.13-40+1
NVDimagemagick/imagemagick7.0.0-07.1.2-15+1
Debianimagemagick/imagemagick< 8:6.9.11.60+dfsg-1.3+deb11u10+3

🔴Vulnerability Details

4
OSV
ImageMagick has heap buffer overflow in YUV 4:2:2 decoder2026-03-12
GHSA
ImageMagick has heap buffer overflow in YUV 4:2:2 decoder2026-03-12
OSV
CVE-2026-25986: ImageMagick is free and open-source software used for editing and manipulating digital images2026-02-24
CVEList
ImageMagick has a heap buffer overflow in YUV 4:2:2 decoder2026-02-24

📋Vendor Advisories

3
Ubuntu
ImageMagick vulnerabilities2026-03-04
Red Hat
ImageMagick: ImageMagick: Denial of Service via malicious YUV image processing2026-02-24
Debian
CVE-2026-25986: imagemagick - ImageMagick is free and open-source software used for editing and manipulating d...2026

🕵️Threat Intelligence

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