CVE-2026-139881

medium

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.

References

https://www.vulncheck.com/advisories/libexpat-2.2.3-through-2.11.0-insufficient-entropy-via-dev-urandom-short-read

https://github.com/libexpat/libexpat/pull/1542

https://github.com/libexpat/libexpat/blob/R_2_11_0/expat/lib/xmlparse.c#L1166-L1190

https://github.com/libexpat/libexpat/blob/R_2_11_0/expat/lib/random_dev_urandom.c#L47-L74

https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-139545

Details

Source: Mitre, NVD

Published: 2026-11-30

Updated: 2026-12-01

Risk Information

CVSS v2

Base Score: 5

Vector: CVSS2#AV:N/AC:L/Au:N/C:N/I:N/A:P

Severity: Medium

CVSS v3

Base Score: 3.7

Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L

Severity: Low

CVSS v4

Base Score: 6.3

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

Severity: Medium

EPSS

EPSS: 0.00483