Servers and applications
CVE-2026-139881
libexpat 2.2.3 through 2.11.0 Insufficient Entropy via /dev/urandom Short Read
- Severity
- Medium 6.3
- Published
- 30 Nov 2026
- Last changed
- 30 Nov 2026
- Added to UpHeron
- 30 Nov 2026
- Weakness
- CWE-331
- Attack
- Over the network · Only under certain conditions · No login needed · No user action needed
- Attacker can
- Slow it down
- CVSS vector
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N- Sources
- CVE Program
Description
libexpat 2.2.3 through 2.11.0 contains an insufficient entropy vulnerability in writeRandomBytes_dev_urandom() that falls back to a predictable hash salt after short reads. Attackers can craft XML documents with names colliding in the parser's hash tables, causing hash flooding and excessive CPU consumption.
Affected software
| Software | Affected versions |
|---|---|
ExpatServers and applications · cna:libexpat|libexpat |
|
Status in Debian
Debian builds fixes into its own packages, so a release is often fixed under an older version number than the one upstream names.
- 4 vulnerable
| Package | Debian release | Status |
|---|---|---|
| expat | sidunstable | VulnerableNo fix yet. |
| 14forkytesting | VulnerableNo fix yet. | |
| 13trixiestable | VulnerableNo fix yet. | |
| 12bookwormoldstable | VulnerableNo fix yet. |
From Debian's security tracker for CVE-2026-139881 , read in the last 12 hours.
About Expat
XML parser library
- GitHub stars
- 1,412GitHub, 29 Nov 2026
- Forks
- 578GitHub, 29 Nov 2026
- Latest release
- R_2_11_0GitHub, 29 Nov 2026
- Released
- 23 Nov 2026GitHub
- Developer
- James ClarkWikidata
- License
- Expat licenseWikidata
- Written in
- CWikidata
- First published on GitHub
- 28 Jan 2017GitHub
Vulnerabilities in Expat
- In our list
- 79
- Published in the last 12 months
- 38
- Critical, last 12 months
- 0
- High, last 12 months
- 14
- Known exploited
- 0
- CVE-2026-137992libexpat through 2.11.0 Denial of Service via defineAttribute Duplicate DeclarationsHigh 8.7 27 Nov 2026
- CVE-2026-137951libexpat 2.6.0 through 2.11.0 Out-of-Bounds Read via storeSelfEntityValueMedium 6.3 27 Nov 2026
- CVE-2026-134703libexpat through 2.10.0 Isolated High Surrogate via UTF-16 ConversionMedium 6.3 22 Nov 2026
- CVE-2026-128241libexpat xmlwf through 2.10.0 Symlink Following via -d Output DirectoryMedium 4.1 13 Nov 2026
- CVE-2026-124317libexpat through 2.10.0 Out-of-Bounds Read via unknown_toUtf8 and unknown_toUtf16Medium 6.3 7 Nov 2026
- CVE-2026-118370libexpat through 2.9.0 Integer Overflow in storeAtts via attIndex and nPrefixesHigh 8.2 28 Oct 2026
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-139881