← News

Libexpat: denial of service via crafted XML

HighAI-generated2026-11-29

CVE
CVE-2026-137992
Severity
High (CVSS 7.5)
Attack conditions
Remotely, over the network · No account needed · No user action needed
Exploitation probability (EPSS)
0.6% (within 30 days; FIRST EPSS, 30 November 2026)

Summary

Libexpat versions up to 2.11.0 are vulnerable to a denial-of-service flaw. An attacker can send a specially crafted XML document that makes the library consume excessive CPU.

Details

According to the NVD record, libexpat through version 2.11.0 has a denial-of-service vulnerability in the defineAttribute() function of lib/xmlparse.c. The flaw occurs because duplicate non-ID #IMPLIED or #REQUIRED attribute declarations are not detected.

An attacker can exploit this by providing an XML document that contains repeated ATTLIST declarations in an internal DTD subset. During parsing, the library performs quadratic CPU work, which can significantly slow down or halt the affected application.

What to do

The source record does not name a specific patch, fixed version or workaround. General measures:

  • Follow the vendor's security advisories.
  • Apply the update when it is released.
  • Limit access to the product as much as possible, especially from the internet.

Sources

Timeline

  • 27 November 2026 NVD record published
  • 29 November 2026 This article was written