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

- Severity: High 8.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.67%, higher than 47% of CVEs (2026-11-30)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-01-20T01:01:38.527Z
- Modified: 2026-07-15T02:18:45.213Z
- Weaknesses: CWE-122, CWE-190, CWE-787
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- ImageMagick ImageMagick: < 7.1.2-13; < 6.9.13-38; before 6.9.13-38; from 7.0.0-0 before 7.1.2-13
- ImageMagick: no versions given (not affected: from 0:6.9.10.68-10.el7_9 before *)

## Every score

- GitHub_M: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`
- redhat-SADP: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-r49w-jqq3-3gx8> (exploit, vendor-advisory)
- <https://github.com/ImageMagick/ImageMagick/commit/2fae24192b78fdfdd27d766fd21d90aeac6ea8b8> (patch)
- <https://access.redhat.com/security/cve/CVE-2026-23876> (vdb-entry)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2431038> (issue-tracking)
- <https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-23876.json>
- <https://access.redhat.com/errata/RHSA-2026:3058> (vendor-advisory)

## Sources

- CVE List: [CVE-2026-23876](https://www.cve.org/CVERecord?id=CVE-2026-23876), CVE Terms of Use, modified 2026-07-15
- NVD: [CVE-2026-23876](https://nvd.nist.gov/vuln/detail/CVE-2026-23876), Public domain, modified 2026-07-15

---

Page: https://cve.day/CVE-2026-23876 · Whole record: https://cve.day/CVE-2026-23876.json · Rebuilt by cve.day 2026-11-25T22:59:12.967Z
