CVE-2026-117610

libexpat through 2.9.0 NULL Pointer Dereference via External Entity Subparser

Published Oct 28, 2026 CVSS 4.0 · 8.2 High EPSS < 1% KEV · Not listed
Description
libexpat through 2.9.0 contains a NULL pointer dereference vulnerability in externalEntityInitProcessor2() in lib/xmlparse.c that mishandles the XML_TOK_NONE token from empty input. Attackers who control stream chunking can force an empty non-final first parse on an external entity subparser, causing a later parse to crash the application.

Analysis

AI-generated

Technical impact

The vulnerability is a NULL pointer dereference in libexpat’s externalEntityInitProcessor2() that mishandles the XML_TOK_NONE token for empty input streams. When an attacker can control the chunking of XML data, they can force the parser to perform an empty, non‑final initial parse on an external entity subparser, causing a subsequent parse to dereference a NULL pointer and crash the application. This crash results in a denial‑of‑service to the affected process.

Affected Systems

Affected vendors and products include the libexpat library. All releases of libexpat up to and including version 2.9.0 are impacted. Systems that parse XML streams containing external entities with these versions are susceptible to the flaw.

Risk and Exploitability

The CVSS score of 8.2 indicates high severity. EPSS data is unavailable, and the vulnerability is not listed in the CISA KEV catalog. Based on the description, it is inferred that the attacker must be able to provide crafted XML data to the vulnerable parser, making the likely attack vector client‑side or application‑side. The risk remains significant in environments where external entities are processed and no other mitigations are in place.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update libexpat to the latest patched version that addresses the NULL pointer dereference.
  • If an immediate upgrade is not possible, configure the XML parser to reject or disable external entities so that the exploit path is blocked.
  • Apply input validation or consider using an alternative XML parsing library that is not affected by this vulnerability.

Generated by OpenCVE AI on October 28, 2026 at 04:21 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
Description libexpat through 2.9.0 contains a NULL pointer dereference vulnerability in externalEntityInitProcessor2() in lib/xmlparse.c that mishandles the XML_TOK_NONE token from empty input. Attackers who control stream chunking can force an empty non-final first parse on an external entity subparser, causing a later parse to crash the application.
Title libexpat through 2.9.0 NULL Pointer Dereference via External Entity Subparser
First Time appeared Libexpat Project
Libexpat Project libexpat
Weaknesses CWE-476
CPEs cpe:2.3:a:libexpat_project:libexpat:*:*:*:*:*:*:*:*
Vendors & Products Libexpat Project
Libexpat Project libexpat
References
Metrics cvssV3_1

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

cvssV4_0

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

Weaknesses

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Nov 5, 2026, 3:47 PM
Reserved
Oct 27, 2026, 1:04 PM
Status
Analyzed
Published
Oct 28, 2026, 3:17 AM
Modified
Nov 5, 2026, 4:17 PM
Severity
Moderate
Public date
Oct 28, 2026, 2:03 AM