Description (CNA)
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.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| libexpat / libexpat | affected 2.7.2 through 2.9.0 |
CWE
CWE-909
References
- https://github.com/libexpat/libexpat/pull/1431
- https://github.com/libexpat/libexpat/blob/a76b1174c1ea52abb639a4c69d52b630a8a106a2/expat/lib/xmlparse.c#L860-L884
- https://github.com/libexpat/libexpat/blob/a76b1174c1ea52abb639a4c69d52b630a8a106a2/expat/lib/xmlparse.c#L1560
- https://github.com/libexpat/libexpat
- https://www.vulncheck.com/advisories/libexpat-2.7.2-through-2.9.0-denial-of-service-via-xml-parserreset
ADP enrichment
No English description supplied.
No references supplied.