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

ImageMagick can be crashed or potentially compromised when it processes a malicious XBM image. The risk is highest for services that automatically inspect, resize, or convert uploaded images. Fixed versions are available upstream, so this should be treated as a prompt patching item for exposed image-processing systems.

Executive priority

Patch exposed image-processing systems promptly, especially public upload and preview services. This is not confirmed exploited in the supplied sources, but the vulnerability affects a widely used image library and can be triggered by routine file processing.

Technical view

CVE-2026-23876 is a heap buffer overflow in ImageMagick's XBM decoder, ReadXBMImage. Before 7.1.2-13 and 6.9.13-38, crafted input can cause attacker-controlled data to be written past an allocated heap buffer during image read or identification operations. The CVSS score is 8.1 with high confidentiality, integrity, and availability impact.

Likely exposure

Exposure is likely where ImageMagick processes untrusted images, including upload services, thumbnail generation, file preview systems, media pipelines, and applications using MagickCore or MagickWand. Systems on ImageMagick 7 before 7.1.2-13 or 6 before 6.9.13-38 are in scope.

Exploitation context

The source bundle does not show CISA KEV listing or cited evidence of active exploitation. Exploitation requires a malicious XBM image to be processed, and the CVSS vector rates attack complexity as high. Still, common automated image pipelines can trigger the vulnerable parser without manual operator action.

Researcher notes

Focus analysis on the XBM decoder path in ReadXBMImage and version boundaries 7.1.2-13 and 6.9.13-38. The assigned CWEs are heap overflow, integer overflow, and out-of-bounds write. Avoid assuming exploit reliability or affected downstream products without vendor evidence.

Mitigation direction

  • Upgrade ImageMagick to 7.1.2-13, 6.9.13-38, or later.
  • Apply Red Hat RHSA-2026:3058 where applicable to RHEL-managed packages.
  • Check vendor guidance for backported fixes in distribution packages.
  • Prioritize systems that process untrusted uploads or external media feeds.
  • Restrict untrusted image processing until patched if business workflows allow.

Validation and detection

  • Inventory applications, containers, and hosts that bundle ImageMagick libraries or binaries.
  • Confirm deployed versions are fixed upstream versions or vendor-patched builds.
  • Review upload, preview, conversion, and metadata workflows for ImageMagick use.
  • Verify package status against Red Hat advisories where RHEL packages are used.
  • Record whether XBM files are accepted from untrusted sources.
Prepared
Confidence
high
Sources
5

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.