{"id":"CVE-2026-139881","summary":"libexpat 2.2.3 through 2.11.0 Insufficient Entropy via /dev/urandom Short Read","details":"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.","modified":"2026-11-30T19:00:29.278563892Z","published":"2026-11-30T16:20:39.076Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139881.json","cna_assigner":"VulnCheck","cwe_ids":["CWE-331"]},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139881.json"},{"type":"PACKAGE","url":"https://github.com/libexpat/libexpat"},{"type":"ARTICLE","url":"https://github.com/libexpat/libexpat/blob/R_2_11_0/expat/lib/random_dev_urandom.c#L47-L74"},{"type":"ARTICLE","url":"https://github.com/libexpat/libexpat/blob/R_2_11_0/expat/lib/xmlparse.c#L1166-L1190"},{"type":"FIX","url":"https://github.com/libexpat/libexpat/pull/1542"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139881"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/libexpat-2.2.3-through-2.11.0-insufficient-entropy-via-dev-urandom-short-read"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/libexpat/libexpat","events":[{"introduced":"97c6bd01990090d4015364ae37dd141f3c39a30f"},{"last_affected":"bbdb35e85b68284cb20ad8876c56e9b80175babb"}],"database_specific":{"extracted_events":[{"source":"AFFECTED_FIELD","strategy":"StandardRange","range":[{"introduced":"2.2.3"},{"last_affected":"2.11.0"}]}]}}],"versions":["R_2_11_0","R_2_10_0","R_2_9_0","R_2_8_5","R_2_8_4","R_2_8_3","R_2_8_2","R_2_8_1","R_2_8_0","R_2_7_5","R_2_7_4","R_2_7_3","R_2_7_2","R_2_7_1","R_2_7_0","R_2_6_4","R_2_6_3","R_2_6_2","R_2_6_1","R_2_6_0","R_2_5_0","R_2_4_9","R_2_4_8","R_2_4_7","R_2_4_6","R_2_4_5","R_2_4_4","R_2_4_3","R_2_4_2","R_2_4_1","R_2_4_0","R_2_3_0","R_2_2_10","R_2_2_9","R_2_2_8","R_2_2_7","R_2_2_6","R_2_2_5","R_2_2_4","R_2_2_3"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139881.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"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"}]}