CVE-2026-139881
published medium CVSS 4.0 · 6.3libexpat 2.2.3 through 2.11.0 Insufficient Entropy via /dev/urandom Short Read
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| libexpat | — | libexpat2.2.3 through 2.11.0 · Other versions: unaffected | Affected | Not stated | VulnCheck |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Pending Fix; Not Affected | Not stated | Amazon Linux assessment |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 6.3 / 10
- Severity
- medium
- Provider
- VulnCheck · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 3.7 | low | VulnCheck · cna | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| libexpat | libexpat | 2.2.3 through 2.11.0 (affected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-331 Insufficient Entropy
References
4- https://github.com/libexpat/libexpat/blob/R_2_11_0/expat/lib/random_dev_urandom.c#L47-L74
- https://github.com/libexpat/libexpat/blob/R_2_11_0/expat/lib/xmlparse.c#L1166-L1190
- https://github.com/libexpat/libexpat/pull/1542
- VulnCheck Advisory: libexpat 2.2.3 through 2.11.0 Insufficient Entropy via /dev/urandom Short Read https://www.vulncheck.com/advisories/libexpat-2.2.3-through-2.11.0-insufficient-entropy-via-dev-urandom-short-read
Provider assertions
2VulnCheck · cna
libexpat 2.2.3 through 2.11.0 Insufficient Entropy via /dev/urandom Short Read
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- e5f166ffd9f48fa4773865948467fe096de49d8dc1a3ac6dd726df5e346f98d7
- Ingested
- 01 Dec 2026, 21:43:59 UTC
- Source record
- Official CVE record