Elevated
libexpat XML parser CPU exhaustion and crash flaws
CVE-2026-141595 and 2 more
A program that reads XML can be stalled by one attacker-made XML file.
- CVE
- CVE-2026-141595 and 2 more
- Score
- CVSS 8.7 · CVE-2026-141595
- Public date
- 2026-11-26
- First seen
8.7
Products
Disclosed together libexpat
Mitigation
No source names a fixed version yet. Check that libexpat runs a version newer than 2.11.0, and read the vendor's advisory.
Summary
The storeAtts() function in the libexpat XML parser rechecks default attributes on every start tag, so attacker-made XML can use up CPU and stall the service. Versions 2.11.0 and earlier are affected. The same group also holds a hash-collision flaw and a NULL pointer dereference that crashes the parser.
Affected when
- CVE-2026-141595 parser reads attacker XML with an internal DTD declaring many default attributes
- CVE-2026-141596 application uses handlers that suspend the parser inside a CDATA section
- CVE-2026-139881 /dev/urandom reads come up short and a predictable hash salt is used
- libexpat 2.11.0 or earlier in use
3 other Incidents of this product in the last 30 days
Incidents by product: libexpat
Other recent Incidents of libexpat
Distribution packages (2) (every link below opens in a new tab)
- Debian 13 (trixie)expat · not fixed yet CVE-2026-141595, CVE-2026-141596
- Debian 12 (bookworm)expat · not fixed yet CVE-2026-141595, CVE-2026-141596
Sources: Debian Security Tracker
3 CVEs (every link below opens in a new tab)
Read the write-up · github.com (opens in a new tab)
Each of the 3 CVEs (every link below opens in a new tab)
- CVE-2026-141595Attacker-made XML can use up CPU on a server or program and stall it. CVSS 8.7 CVE-2026-141595 write-up 1 · CVE-2026-141595 write-up 2
- CVE-2026-141596A program fed specific XML can crash from a NULL pointer dereference. CVSS 8.2 CVE-2026-141596 write-up 1 · CVE-2026-141596 write-up 2
- CVE-2026-139881Predictable hash values let attackers force hash collisions that use up CPU. CVSS 6.3 CVE-2026-139881 write-up 1 · CVE-2026-139881 write-up 2 · CVE-2026-139881 write-up 3