CVE-2026-23876Imagemagick Imagemagick Heap-based Buffer Overflow
NVDCVSS scored by security-advisories@github.com
Vulnerability Summary
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 v3.1 Base Metrics — Score 8.1 (HIGH)
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:HAttack VectorNetwork
Attack ComplexityHigh
Privileges RequiredNone
User InteractionNone
ScopeUnchanged
ConfidentialityHigh
IntegrityHigh
AvailabilityHigh
Affected & Patched Versions
- Imagemagick Imagemagick < 6.9.13-38
- Imagemagick Imagemagick >= 7.0.0-0 and < 7.1.2-13
- Imagemagick Imagemagick 6.9.13-38
- Imagemagick Imagemagick 7.1.2-13
What to do
Prioritize this fix. Exploit code is public, so attacks can follow quickly.
- Check whether you run Imagemagick Imagemagick and which version.
- Update to a patched version listed above, then confirm the new version.
- Review logs and exposed services for signs of earlier compromise.
Timeline
- Jan 20, 2026Published
- Jul 15, 2026Record last modified
Score, severity and exploitation changes are tracked from the day Watchtower started logging them.
Get notified about new Imagemagick Imagemagick CVEsYou are reading CVE-2026-23876. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alertsRelated Coverage
External References
- Patchhttps://github.com/ImageMagick/ImageMagick/commit/2fae24192b78fdfdd27d766fd21d90aeac6ea8b8
- Exploithttps://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-r49w-jqq3-3gx8
- Referencehttps://access.redhat.com/errata/RHSA-2026:3058
- Vendor Advisoryhttps://access.redhat.com/security/cve/CVE-2026-23876
- Issue Trackinghttps://bugzilla.redhat.com/show_bug.cgi?id=2431038
- Referencehttps://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-23876.json
Data last checked: Nov 19, 2026 10:07 UTC