Logo
›
›component›expat
Name
expat
Version
2.8.3
Type
library
Description
A stream-oriented XML parser library
Licenses
MIT
PURL
-
CPE
cpe:2.3:*:libexpat_project:libexpat:2.8.3:*:*:*:*:*:*:*

Other Versions#


Project
Branch
Version
kirkstone
2.5.0
master
2.9.0

Vulnerabilities#


Name
Analysis
Description
Exploitable
libexpat before 2.8.4 lacks handler call depth tracking with custom encoding callbacks. Thus, a use-after-free can occur. NOTE: this is similar to CVE-2026-50219, CVE-2026-56131 and CVE-2026-56412.
Exploitable
In libexpat 2.8.2 and 2.8.3 before 2.8.4, misinterpretation of getentropy's return code leads to insufficient entropy, which results in being vulnerable to hash flooding attacks, causing a denial of service via crafted XML content.
Exploitable
Expat through 2.8.3 contains a denial of service vulnerability caused by quadratic algorithmic complexity in the storeAtts() function in xmlparse.c, where processing N specified attributes with non-normalized values triggers an O(N^2) linear scan of elementType->defaultAtts to determine CDATA status. A remote unauthenticated attacker can supply a single well-formed XML document of a few megabytes to an application parsing untrusted XML to cause excessive CPU consumption, resulting in denial of service without requiring authentication, external entity resolution, or non-default parser options.