# CVE-2026-139881: libexpat 2.2.3 through 2.11.0 Insufficient Entropy via /dev/urandom Short Read

- Priority: **Routine**
- Reason: Not severe (CVSS 6.3, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-11-30 · Modified: 2026-12-01
- Aliases: DEBIAN-CVE-2026-139881, UBUNTU-CVE-2026-139881
- Record: https://cvemate.com/vulnerability/CVE-2026-139881 · JSON: https://cvemate.com/vulnerability/CVE-2026-139881/json

## Description

```text
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.
```

## Signals

- CVSS: 6.3 medium (v4.0, CVE.org) 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
- EPSS: 0.483%, percentile 43.316%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- debian expat (Debian): All versions (No fix recorded)
- ubuntu ayttm (Ubuntu): All versions (No fix recorded)
- ubuntu cableswig (Ubuntu): All versions (No fix recorded)
- ubuntu cadaver (Ubuntu): All versions (No fix recorded)
- ubuntu coin3 (Ubuntu): All versions (No fix recorded)
- ubuntu expat (Ubuntu): All versions (No fix recorded)
- ubuntu gdcm (Ubuntu): All versions (No fix recorded)
- ubuntu insighttoolkit4 (Ubuntu): All versions (No fix recorded)
- ubuntu libxmltok (Ubuntu): All versions (No fix recorded)
- ubuntu matanza (Ubuntu): All versions (No fix recorded)
- ubuntu smart (Ubuntu): All versions (No fix recorded)
- ubuntu swish-e (Ubuntu): All versions (No fix recorded)
- ubuntu tdom (Ubuntu): All versions (No fix recorded)
- ubuntu vnc4 (Ubuntu): All versions (No fix recorded)
- ubuntu vtk (Ubuntu): All versions (No fix recorded)
- ubuntu wbxml2 (Ubuntu): All versions (No fix recorded)
- ubuntu xmlrpc-c (Ubuntu): All versions (No fix recorded)
- libexpat libexpat: ≥ 2.2.3, ≤ 2.11.0

## References

- <https://github.com/libexpat/libexpat/pull/1542>
- <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://www.vulncheck.com/advisories/libexpat-2.2.3-through-2.11.0-insufficient-entropy-via-dev-urandom-short-read>
- <https://security-tracker.debian.org/tracker/CVE-2026-139881>
- <https://ubuntu.com/security/CVE-2026-139881>
- <https://www.cve.org/CVERecord?id=CVE-2026-139881>

---

Data as of 2026-12-05T07:20:49.347Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
