Cloudanix VulnDB

CVE-2026-76641

High · 7.5

CVSS

7.5

EPSS

0.4%

Published

Aug 20, 2026

CISA due date

—

Cloudanix analysis

Monitor only SSVC: Track

A bug in a common XML reading library can make programs crash when they process certain data sent over the network.

Exploitation
Remote Unauthenticated
Attacker needs
None
Complexity
Low
Impact
Denial Of Service
Component
Library
Class
Memory Corruption
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

Out-of-bounds read in storeAtts triggered by struct size mismatch on ELEMENT_TYPE members when XML_ExternalEntityParserCreate is used, causing attIndex access beyond allocation, failed whitespace normalization in non-CDATA attributes, or wild pointer dereference leading to segfault.

Why it matters to the business

Applications relying on XML external entity processing may crash or experience memory corruption, leading to denial of service and potential operational disruption in XML-heavy workflows.

How an attack unfolds

An attacker crafts XML content that exercises external entity parser creation paths; when the vulnerable storeAtts routine runs, the size mismatch allows reading past allocated memory, corrupting state or dereferencing invalid pointers.

How to fix it

Upgrade Expat to a version beyond 2.8.3 that corrects the struct size mismatch introduced by the prior CVE-2026-66046 fix; rebuild and redeploy all dependent applications.

How to confirm the fix worked

Confirm Expat version is newer than 2.8.3 via package manager or source build; run regression tests exercising XML_ExternalEntityParserCreate with non-CDATA attribute whitespace cases.

Typical attack path

  1. Locate a network-accessible service that parses attacker-controlled XML using Expat external entity support
  2. Construct XML payload containing external entity declarations sized to trigger the ELEMENT_TYPE mismatch
  3. Deliver the payload to the target parser entry point
  4. Observe crash or memory corruption resulting from the out-of-bounds attIndex read

How to detect it

Review application and system logs for segfaults or memory corruption signals during XML parsing; inspect crash dumps for storeAtts or XML_ExternalEntityParserCreate frames; correlate with inbound XML containing external entity references.

What your security team should do

  • Prioritize patching Expat in all XML-processing services within the next maintenance window
  • Scan source and binary inventories for direct or transitive Expat 2.8.3 usage
  • Implement input validation or parser hardening around external entity handling until patches are applied

The record

Expat through 2.8.3 contains an out-of-bounds read vulnerability that allows attackers to trigger memory corruption by processing XML with external entity parsers created via XML_ExternalEntityParserCreate. A struct size mismatch between ELEMENT_TYPE members causes storeAtts to read the attIndex member past allocated memory boundaries, resulting in failure to normalize whitespace in non-CDATA attributes or a wild pointer dereference causing a segfault. This vulnerability was introduced by the fix for CVE-2026-66046.

Affected packages

Ecosystem Package Introduced Fixed

Related vulnerabilities