Patch Ticker
EnglishEN
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

All Incidents of 2026-12-01

Distribution packages (2) (every link below opens in a new tab)

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)