CVE-2026-113351
Analyzed Analyzed - Analysis Complete

XML Parser Reset Heap Exhaustion in libexpat

Vulnerability report for CVE-2026-113351, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-10-20

Last updated on: 2026-11-03

Assigner: VulnCheck

Description

libexpat 2.7.2 through 2.9.0 contains a denial of service vulnerability because XML_ParserReset zeroes the direct byte count but never offsets tracked heap allocations. Attackers can submit a large XML document so later documents on the same reset parser fail with XML_ERROR_NO_MEMORY until it is recreated.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-10-20
Last Modified
2026-11-03
Generated
2026-11-09
AI Q&A
2026-10-20
EPSS Evaluated
2026-11-08
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
libexpat_project libexpat From 2.7.2 (inc) to 2.9.0 (inc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-909 The product does not initialize a critical resource.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This is a denial of service vulnerability in libexpat versions 2.7.2 through 2.9.0. The XML_ParserReset function fails to properly adjust tracked heap allocations when resetting the direct byte count. Attackers can exploit this by submitting a large XML document, causing subsequent documents processed by the same reset parser to fail with an XML_ERROR_NO_MEMORY error until the parser is recreated.

Detection Guidance

To detect this vulnerability, check the version of libexpat installed on your system using commands like 'expat-config --version' or 'dpkg -l | grep libexpat'. If the version is between 2.7.2 and 2.9.0, the system is vulnerable. Monitor for XML parsing failures or 'XML_ERROR_NO_MEMORY' errors after processing large XML documents.

Impact Analysis

If you use an affected version of libexpat in applications processing XML documents, an attacker could send a large XML file to crash or hang the parser. Services reusing parsers via XML_ParserReset could reject all later requests after receiving one oversized document, leading to service disruption.

Compliance Impact

This vulnerability primarily causes denial-of-service conditions by exhausting memory during XML parsing, which could lead to service disruptions. While not directly violating GDPR or HIPAA, such disruptions may impact availability requirements under these regulations. GDPR requires data availability for data subjects, and HIPAA mandates timely access to protected health information. A DoS condition could hinder compliance by preventing access to critical data.

Mitigation Strategies

Immediately upgrade libexpat to a version beyond 2.9.0 to address the vulnerability. If upgrading is not possible, avoid reusing XML parsers across requests by recreating them for each document. Disable XML parsing for untrusted inputs if feasible.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-113351. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...