libexpat 2.2.3 through 2.11.0 contains an insufficient entropy vulnerability in writeRandomBytes_dev_urandom() that
Source GCVE Database
Not known to be exploited · CVSS 6.3 Medium.
Data as of 30 Nov 2026, 19:59 UTC
Thin evidence
One scorer or none| CNA (VulnCheck) | CVSS 4.0 | 6.3 |
|---|---|---|
| CNA (VulnCheck) | CVSS 3.1 | 3.7 |
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 30 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 30 Nov 2026.
What to do
AI-suggested
Until a fix is available, consider limiting exposure to untrusted XML inputs or applying application-level mitigations to detect and block malicious XML documents with colliding names.
Description
libexpat versions 2.2.3 through 2.11.0 have an insufficient entropy vulnerability in the writeRandomBytes_dev_urandom() function. This flaw causes the function to fallback to a predictable hash salt after short reads, enabling attackers to craft XML documents with colliding names in the parser's hash tables. The resulting hash flooding can lead to excessive CPU consumption, causing a denial of service condition.
References
- nvd.nist.gov/vuln/detail/CVE-2026-139881 (opens in a new tab)
- github.com/libexpat/libexpat/pull/1542 (opens in a new tab)
- github.com/libexpat/libexpat/blob/R_2_11_0/expat/lib/random_dev_urandom.c (opens in a new tab)
- github.com/libexpat/libexpat/blob/R_2_11_0/expat/lib/xmlparse.c (opens in a new tab)
- vulncheck.com/advisories/libexpat-2.2.3-through-2.11.0-insufficient-entropy-via-dev-urandom-short-read (opens in a new tab)