Description
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.
Published: 2026-08-20
Score: 8.7 High
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Expat, the XML parser library used in many programs, contains an out‑of‑bounds read when handling external entities. The flaw occurs in the storeAtts function, where a struct size mismatch causes the attIndex member to be read beyond its allocated buffer. This can lead to memory corruption that may be exploited to trigger a segmentation fault or, in some cases, arbitrary code execution. The vulnerability is classified as CWE‑125.

Affected Systems

All libexpat releases up to and including version 2.8.3 are affected. Clients that rely on libexpat without an update are vulnerable, regardless of the application they run. The bug was introduced by the fix for CVE‑2026‑66046 and remains present in any distribution containing that code.

Risk and Exploitability

With a CVSS score of 8.7 this flaw is considered high severity. No public exploits are currently known and the EPSS score is not available, which lowers the likelihood of an immediate attack. However, the weakness can be triggered by any XML document that enables external entity parsing, so programs that accept untrusted XML input are at greatest risk. The bug is not listed in the CISA KEV catalog, but the potential for denial of service and memory corruption warrants proactive remediation.

Generated by OpenCVE AI on August 20, 2026 at 19:44 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade libexpat to a release that includes the commit 98599f6d which fixes CVE‑2026‑76641
  • If an upgrade cannot be applied immediately, configure the XML parser to disable external entity processing so that XML_ExternalEntityParserCreate is not used
  • After applying the update or configuration change, restart the affected service to ensure the new settings take effect

Generated by OpenCVE AI on August 20, 2026 at 19:44 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 20 Aug 2026 19:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Thu, 20 Aug 2026 17:45:00 +0000

Type Values Removed Values Added
Description 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.
Title Expat Out-of-Bounds Read via dtdCopy
Weaknesses CWE-125
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}

cvssV4_0

{'score': 8.7, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-08-20T18:49:21.993Z

Reserved: 2026-08-19T14:53:58.575Z

Link: CVE-2026-76641

cve-icon Vulnrichment

Updated: 2026-08-20T18:48:55.119Z

cve-icon NVD

Status : Received

Published: 2026-08-20T18:16:51.887

Modified: 2026-08-20T19:17:04.430

Link: CVE-2026-76641

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-20T19:45:03Z

Weaknesses