CVE-2026-113351
libexpat 2.7.2 through 2.9.0 Denial of Service via XML_ParserReset
- State
- Published
- Severity
- 8.2 High
- Published
- Oct 20, 2026
- Updated
- Oct 20, 2026
- Reserved
- Oct 20, 2026
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 8.2 High | 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 | VulnCheck |
| 3.1 | 5.9 Medium | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H | VulnCheck |
Weaknesses
- CWE-909 Missing Initialization of Resource
Affected Products
| Product | Versions |
|---|---|
libexpatlibexpat |
|
References
- https://github.com/libexpat/libexpat/pull/1431patchissue-tracking
- https://github.com/libexpat/libexpat/blob/a76b1174c1ea52abb639a4c69d52b630a8a106a2/expat/lib/xmlparse.c#L860-L884technical-description
- https://github.com/libexpat/libexpat/blob/a76b1174c1ea52abb639a4c69d52b630a8a106a2/expat/lib/xmlparse.c#L1560technical-description
- https://github.com/libexpat/libexpatproduct
- VulnCheck Advisory: libexpat 2.7.2 through 2.9.0 Denial of Service via XML_ParserResetthird-party-advisory
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.