Vulnerability · Published Jan 20, 2026 · Assigned by GitHub_M

CVE-2026-23876Heap buffer overflow with attacker-controlled data in XBM parser

High 8.1

In plain English

A high-severity heap buffer overflow in ImageMagick from ImageMagick. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.7% (higher than 52% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)8.1High
Exploit odds (30 days)0.7%top 47.5% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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-13 and 6.9.13-38 fix the issue.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12imagemagick8:6.9.11.60+dfsg-1.6+deb12u6DSA-6111-1
Debian:12imagemagick8:6.9.11.60+dfsg-1.6+deb12u6DEBIAN-CVE-2026-23876
Debian:13imagemagick8:7.1.1.43+dfsg1-1+deb13u5DSA-6111-1
Debian:13imagemagick8:7.1.1.43+dfsg1-1+deb13u5DEBIAN-CVE-2026-23876
Debian:14imagemagick8:7.1.2.13+dfsg1-1DEBIAN-CVE-2026-23876
Ubuntu:25.10imagemagickno fix listedUBUNTU-CVE-2026-23876

Affected products (as reported)

VendorProductVersions
ImageMagick ImageMagick < 7.1.2-13< 6.9.13-38

Weakness: CWE-122, CWE-190, CWE-787 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

References