Vulnerability details

CVE-2026-23876

ImageMagick ImageMagick

Heap buffer overflow with attacker-controlled data in XBM parser

CVSS 3.1
8.1High

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.

CVSS scores

ScoreVersionSourceVector
8.1High 3.1 CVEProject cvelistV5 (CNA) (GitHub_M) CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
8.1High 3.1 CVEProject cvelistV5 (CNA) (redhat-SADP) CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected products

VendorProductVersionsSource
ImageMagick ImageMagick < 6.9.13-38 CVEProject cvelistV5 (CNA)
ImageMagick ImageMagick < 7.1.2-13 CVEProject cvelistV5 (CNA)

References and advisories

6
Kolun on Telegram @kolunsec Exploited CVEs, key news and a daily digest Alerts for this product's next CVEsFollow the product to get new vulnerabilities on Telegram.

Details

Published
2026-01-20
Last updated
2026-07-15
State
Published
Assigner (CNA)
GitHub_M

Exploit prediction (EPSS)

0.67%
Probability of exploitation in 30 days
52.4%
Percentile (among all CVEs)

SSVC assessment (CISA)

Automatable
No
Exploitation
None
Technical impact
Total

Weaknesses (CWE)

  • CWE-122
    Heap-based Buffer Overflow
  • CWE-190
    Integer Overflow or Wraparound
  • CWE-787
    Out-of-bounds Write