CVE-2026-23876: Heap buffer overflow with attacker-controlled data in XBM parser
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.
Security readout for executives and security teams
Plain-English summary
CVE-2026-23876 affects ImageMagick when it reads specially crafted XBM images. A vulnerable server that accepts or inspects images could corrupt memory during routine processing. The supplied sources state fixed versions are available, but do not show confirmed active exploitation.
Executive priority
Treat this as a high-priority patch for internet-facing or customer-file-processing services. Business urgency depends on whether ImageMagick handles untrusted images in production.
Technical view
The issue is a heap buffer overflow in ImageMagick's XBM decoder, ReadXBMImage. Before 7.1.2-13 and 6.9.13-38, attacker-controlled XBM data can be written past an allocated heap buffer. The CVSS 3.1 score is 8.1 with high confidentiality, integrity, and availability impact.
Likely exposure
Exposure is most likely in web applications, media services, CI jobs, or back-office workflows that use ImageMagick to identify, convert, thumbnail, or validate untrusted images.
Exploitation context
The bundle says any read or identify operation can trigger the overflow. KEV is false, and the provided sources do not establish active exploitation or public weaponization.
Researcher notes
Focus validation on XBM parsing reachability rather than only installed package presence. The advisory identifies heap overflow, integer overflow, and out-of-bounds write classes, but the bundle does not provide exploit reliability details.
Mitigation direction
Upgrade ImageMagick to 7.1.2-13, 6.9.13-38, or later.
Apply applicable vendor packages, including Red Hat advisory updates where relevant.
Prioritize systems processing untrusted uploads or externally supplied images.
Until patched, avoid routing untrusted image processing through affected ImageMagick deployments.
Check ImageMagick and OS vendor guidance for any additional supported mitigations.
Validation and detection
Inventory ImageMagick versions across servers, containers, and build images.
Confirm production systems run 7.1.2-13, 6.9.13-38, or vendor-fixed builds.
Identify upload, thumbnailing, document conversion, and image-identification paths using ImageMagick.
Review dependency and container scans for affected ImageMagick packages.
Verify Red Hat environments have relevant RHSA-2026:3058 packages applied.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · low confidence lookup
CWE-122: Exact CWE lookup
Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
2CVSS vectors
5Timeline events
2ADP providers
7Source links
SSVC decision data
CISA-ADPCISA Coordinator
Timestamp
Version
2.0.3
Exploitation: noneAutomatable: noTechnical Impact: total
CVSS vector scores
2 official scores
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
CWE-122 · source CWE mapping
Heap-based Buffer Overflow
Heap-based Buffer Overflow represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.
Integer Overflow or Wraparound represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.
Out-of-bounds Write represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.