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

Home › Vulnerabilities › libexpat

High 8.7 2 CVEs Analysis

libexpat through 2.11.0: two denial-of-service flaws in XML parsing (CVE-2026-141595, CVE-2026-141596)

NVD published two high-severity denial-of-service flaws in libexpat through version 2.11.0, both in lib/xmlparse.c. One can cause quadratic CPU consumption from crafted DTD attribute declarations, and the other can crash applications that suspend the parser inside CDATA sections within internal entities.

What to look into

  • 2 vulnerabilities in libexpat: 2 high (CVSS up to 8.7).
  • None of them is known to be exploited yet.
  • Start with CVE-2026-141595 (8.7 high): libexpat through 2.11.0 contains a denial of service vulnerability in storeAtts() in lib/xmlparse.c that scans valueless default attribute declarations for every start tag. Attackers can supply XML w… 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; NULL Pointer Dereference.
Vulnerabilities

Key points

  • Two HIGH-severity denial-of-service flaws in libexpat through 2.11.0, published by NVD on 2026-12-02
  • CVE-2026-141595 (CVSS 8.7) can cause quadratic CPU use via many #IMPLIED attributes and start tags
  • CVE-2026-141596 (CVSS 8.2) can crash applications that suspend the parser inside CDATA sections in internal entities
  • The sources give no fixed version, workaround, or exploitation status

The batch contains two vulnerabilities in libexpat, the XML parser library, both affecting versions through 2.11.0 according to NVD. Both are classed as denial-of-service issues, and both sit in lib/xmlparse.c.

Excessive CPU use from attribute declarations

CVE-2026-141595 (HIGH, CVSS 8.7) affects storeAtts(). The function scans valueless default attribute declarations for every start tag. According to the record, an attacker can supply XML with an internal DTD that declares many #IMPLIED attributes for one element, followed by many start tags. The record says this causes quadratic CPU consumption.

Crash when parsing is suspended in CDATA

CVE-2026-141596 (HIGH, CVSS 8.2) is a NULL pointer dereference in doContent(). The record says the code mishandles parser suspension inside CDATA sections within internal general entities. A crafted document can corrupt parser state and cause a crash, but only in applications whose handlers suspend the parser inside that CDATA section.

Who is affected and what to do

The records identify the affected range as libexpat through 2.11.0. They do not name a fixed version, a vendor patch, a workaround, or any detection method, and they do not state whether either flaw has been exploited. Administrators should check which software on their systems bundles or links libexpat, compare the installed version with the vendor's guidance, and watch for updates. Applications that accept untrusted XML are the most relevant to review.

What to do

  1. Identify systems and applications that use libexpat through 2.11.0, including bundled copies.
  2. Prioritise applications that parse untrusted XML, especially those with custom handlers that suspend parsing.
  3. Check the vendor or upstream project for a fixed version; 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-141595 8.7 libexpat through 2.11.0 contains a denial of service vulnerability in storeAtts() in lib/xmlparse.c that scans valueless default attribute declarations for every start tag. Attackers can supply XML with an internal DTD declaring many #IMPL…
  • CVE-2026-141596 8.2 libexpat through 2.11.0 contains a NULL pointer dereference vulnerability in doContent() in lib/xmlparse.c that mishandles parser suspension inside CDATA sections within internal general entities. Attackers can supply a crafted XML documen…

Frequently asked questions

How many libexpat vulnerabilities were published on December 2, 2026?

2 vulnerabilities: 2 high, 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-141595 (CVSS 8.7): libexpat through 2.11.0 contains a denial of service vulnerability in storeAtts() in lib/xmlparse.c that scans valueless default attribute declarations for every start tag. Attackers can supply XML w…

Original records