Paper/Archive/CVE-2026-23876

CVE-2026-23876

ImageMagick ImageMagick — Heap buffer overflow with attacker-controlled data in XBM parser

Description · from the CVE record

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

ProductAffectedFixed inSource
ImageMagick< 7.1.2-13–CNA
ImageMagick< 6.9.13-38–CNA
Red Hat Enterprise Linux 7 Extended Lifecycle Supportsee advisory0:6.9.10.68-10.el7_9redhat-SADP
Red Hat Enterprise Linux 6see advisory–redhat-SADP

Scores by source

NVD9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
GitHub_M (CNA)8.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
redhat-SADP (CNA)8.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
CISA ADPSSVCExploitation: none · Automatable: no · Technical impact: total

References

refgithub.com/ImageMagick/ImageMagick/security/advisories/GHSA-r49w-jqq3-3gx8refgithub.com/ImageMagick/ImageMagick/commit/2fae24192b78fdfdd27d766fd21d90aeac6ea8b8refaccess.redhat.com/security/cve/CVE-2026-23876refbugzilla.redhat.com/show_bug.cgi?id=2431038refsecurity.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-23876.jsonadvisoryaccess.redhat.com/errata/RHSA-2026:3058