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

Severity
9.8CRITICALNVD
CNA8.1
EPSS
0.1%
top 74.85%
CISA KEV
Not in KEV
Exploit
No known exploits
Affected products
Timeline
PublishedJan 20
Latest updateFeb 10

Description

ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to versions 7.1.2-13 and 6.9.13-38, a heap buffer overflow vulnerability in the XBM image decoder (ReadXBMImage) allows an attacker to write controlled data past the allocated heap buffer when processing a maliciously crafted image file. Any operation that reads or identifies an image can trigger the overflow, making it exploitable via common image upload and processing pipelines. Versions 7.1.2-

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< 7.1.2-13+1
NVDimagemagick/imagemagick7.0.0-07.1.2-13+1
Debianimagemagick/imagemagick< 8:6.9.11.60+dfsg-1.3+deb11u9+3

Patches

🔴Vulnerability Details

2
CVEList
Heap buffer overflow with attacker-controlled data in XBM parser2026-01-20
OSV
CVE-2026-23876: ImageMagick is free and open-source software used for editing and manipulating digital images2026-01-20

📋Vendor Advisories

3
Ubuntu
ImageMagick vulnerability2026-02-10
Red Hat
ImageMagick: ImageMagick: Arbitrary code execution via a crafted XBM image file2026-01-20
Debian
CVE-2026-23876: imagemagick - ImageMagick is free and open-source software used for editing and manipulating d...2026

🕵️Threat Intelligence

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