LiveActive security incident?Get immediate response
CVE Record

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.

HighCVSS 8.1Not KEV-listedUpdated
Glexia's TakeAutomated analysishigh

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.
Prepared
Confidence
high
Sources
6

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.

Open ATT&CK lookup
cwe · low confidence lookup

CWE-190: 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.

Open ATT&CK lookup
cwe · low confidence lookup

CWE-787: 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.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2026-23876 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
High
CVSS
8.1 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

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.

ScoreVersionSeverityVectorExploitImpactSource
8.1CVSS 3.1HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H2.25.9GitHub_M
8.1CVSS 3.1HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H2.25.9redhat-SADP

Vulnerability scoring details

Base CVSS 3.1 score

8.1High
CVSS 3.1 vector shape for CVE-2026-23876Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone

Vulnerability timeline

Timeline events are normalized from CVE metadata, CNA source timelines, ADP timelines, and KEV metadata when present.

  1. CVE reservedCVE Program

    The CVE ID was reserved by the assigning CNA.

  2. ADP timelineredhat-SADP

    Made public.

  3. CVE publishedCVE Program

    The CVE record was published.

  4. ADP timelineredhat-SADP

    Reported to Red Hat.

  5. CVE updatedCVE Program

    The CVE record metadata indicates this as the latest update time.

ADP provider summaries

CISA-ADPCISA ADP Vulnrichment
other:ssvc
redhat-SADPImageMagick: ImageMagick: Arbitrary code execution via a crafted XBM image file
other:Red Hat severity ratingcvssV3_1
  • 2026-01-20T02:01:08.646Z: Reported to Red Hat.
  • 2026-01-20T01:01:38.527Z: Made public.

Source materials

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
ImageMagickImageMagick< 7.1.2-13, < 6.9.13-38Listed
Weakness

CWE details

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.

CWE-190 · source CWE mapping

Integer Overflow or Wraparound

Integer Overflow or Wraparound represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.

CWE-787 · source CWE mapping

Out-of-bounds Write

Out-of-bounds Write represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.