Exploited now
Vulnerability WatchVulnerabilities, exploits & advisories — updated every 15 minutes
Alerts

Home › Vulnerabilities › libexpat

High 8.7 2 CVEs Analysis

libexpat flaws in versions through 2.11.0 enable denial of service and out-of-bounds read

Two libexpat vulnerabilities published by NVD on 2026-11-27 affect versions through 2.11.0: a high-severity CPU-exhaustion flaw in attribute declaration handling and a medium-severity out-of-bounds read in certain XMLUNICODE builds. The records state no fixed version or workaround.

What to look into

  • 2 vulnerabilities in libexpat: 1 high, 1 medium (CVSS up to 8.7).
  • None of them is known to be exploited yet.
  • Start with CVE-2026-137992 (8.7 high): libexpat Denial of Service Vulnerability in XML Parsing. An attacker without an account can exploit this over the network, without any user action.
  • 2 of 2 can be attacked over the network without logging in, 2 of them without anyone clicking anything.
  • Kinds of flaws: Inefficient Algorithmic Complexity; Out-of-bounds Read.
Vulnerabilities

Key points

  • CVE-2026-137992 (HIGH, CVSS 8.7) allows quadratic CPU use via repeated ATTLIST declarations, causing denial of service.
  • CVE-2026-137951 (MEDIUM, CVSS 6.3) is an out-of-bounds read in builds with XMLGE=0 and XMLUNICODE, which can expose adjacent static memory or crash the parser.
  • Both flaws affect libexpat through 2.11.0; the second is limited to versions 2.6.0 through 2.11.0 with that build configuration.
  • The records name no fixed version, workaround, or known exploitation.

The batch contains two libexpat flaws, both described by NVD and both reaching back to version 2.11.0 or earlier. Each one is triggered by crafted XML input, so any service that parses untrusted XML with libexpat is in scope.

Denial of service through attribute declarations

The more severe record is CVE-2026-137992, rated HIGH with a CVSS score of 8.7. According to NVD, libexpat through 2.11.0 does not detect duplicate non-ID #IMPLIED or #REQUIRED attribute declarations in the defineAttribute() function in lib/xmlparse.c. An attacker can supply a document with repeated ATTLIST declarations in an internal DTD subset. The record says this causes quadratic CPU consumption in storeAtts() during parsing, which is a denial of service condition.

Out-of-bounds read in specific builds

CVE-2026-137951 is rated MEDIUM with a CVSS score of 6.3. NVD says it affects libexpat 2.6.0 through 2.11.0 when built with XMLGE=0 and XMLUNICODE. Narrow string literals are treated as wide strings in storeSelfEntityValue(), producing an out-of-bounds read. The record states that an attacker can craft a DOCTYPE declaring a general entity to expose adjacent static memory through the entity value, or to crash the parser.

Who is affected

The second flaw only applies to builds using the stated configuration. The sources do not say how common that configuration is. Neither record names a patched release, a workaround, or detection guidance, so the sources do not say whether a fix exists yet.

Exploitation

Neither record reports known exploitation. Both descriptions focus on the technical trigger rather than observed attacks.

What to do

  1. Identify systems that use libexpat up to version 2.11.0 and check whether any parse untrusted XML.
  2. Check whether your libexpat build uses XMLGE=0 with XMLUNICODE, since that configuration is required for CVE-2026-137951.
  3. Watch the upstream libexpat project for a fixed release, as the sources do not name one.

Our article about all 2 vulnerabilities, written with AI assistance from the official records listed below. Each CVE's page has its details.

The 2 vulnerabilities

  • CVE-2026-137992 8.7 libexpat Denial of Service Vulnerability in XML Parsing
  • CVE-2026-137951 6.3 libexpat 2.6.0 through 2.11.0 built with XMLGE=0 and XMLUNICODE contains an out-of-bounds read in storeSelfEntityValue() because narrow string literals are treated as wide strings. Attackers can supply an XML document whose DOCTYPE declare…

Frequently asked questions

How many libexpat vulnerabilities were published on November 27, 2026?

2 vulnerabilities: 1 high, 1 medium, with CVSS scores up to 8.7.

Are any of them being exploited?

None of them is in CISA's Known Exploited Vulnerabilities catalog yet.

Which one should be fixed first?

CVE-2026-137992 (CVSS 8.7): libexpat Denial of Service Vulnerability in XML Parsing.

Original records