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.
Published: 2026-10-28
Score: 8.2 High
EPSS: n/a
KEV: No
Impact: Denial of Service via null pointer dereference
Action: Patch
AI Analysis

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.

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

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 yet.

History

Wed, 28 Oct 2026 02:30:00 +0000

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'}


Subscriptions

Libexpat Project Libexpat
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-10-28T02:03:18.766Z

Reserved: 2026-10-27T13:04:09.906Z

Link: CVE-2026-117610

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-28T03:17:12.777

Modified: 2026-10-28T03:17:12.777

Link: CVE-2026-117610

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-28T04:30:14Z

Weaknesses