
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-141595 is a denial-of-service vulnerability in libexpat (the Expat XML parsing library) affecting all versions through 2.11.0. The flaw resides in the storeAtts() function in lib/xmlparse.c, which inefficiently scans all valueless default attribute declarations for every XML start tag encountered during parsing. An unauthenticated remote attacker can craft XML input with an internal DTD declaring many #IMPLIED attributes for a single element followed by many start tags, triggering quadratic CPU consumption. It was disclosed on December 2, 2026, with a CVSS v3.1 score of 7.5 (High) and a CVSS v4.0 score of 8.7 (High) (GitHub Advisory, Feedly).
The root cause is classified as CWE-407 (Inefficient Algorithmic Complexity): the storeAtts() function in lib/xmlparse.c (lines 4510–4513 in the R_2_11_0 tag) iterates over the full linked list of default attribute declarations on every start tag, rather than maintaining an index of only the valueless entries (libexpat source). When an attacker supplies XML with an internal DTD declaring N #IMPLIED attributes on one element and then N start tags for that element, the parser performs O(N²) work, causing CPU exhaustion. No authentication or user interaction is required — the attacker only needs to deliver crafted XML to any application that parses it with a vulnerable libexpat instance. The fix, proposed in pull request #1535, introduces a valueDefaultIndex array so the loop walks only valueless attribute positions rather than the full declaration list (libexpat PR #1535).
Successful exploitation causes quadratic CPU consumption in the XML parsing process, rendering the affected application unresponsive or severely degraded — a pure availability impact with no confidentiality or integrity consequences. Any application or service that parses untrusted XML using a vulnerable libexpat (≤ 2.11.0) is at risk, including web services, API endpoints, and system utilities that rely on the library. Because libexpat is widely embedded in other software (Python, PHP, Firefox, and many Linux system packages), the blast radius can extend across a broad ecosystem of dependent applications (GitHub Advisory, Feedly).
As of the disclosure date (December 2, 2026), there is no public proof-of-concept exploit and no evidence of in-the-wild exploitation (Feedly). The EPSS score is 0.0, reflecting a currently low probability of near-term exploitation. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. No threat actor attribution has been reported. However, the attack requires no authentication, no user interaction, and low complexity, making it straightforward to weaponize once a PoC is developed.
xml.parsers.expat, PHP's xml_* functions, or similar libexpat-backed parsers).#IMPLIED attributes (e.g., hundreds or thousands) for a single element type, followed by a large number of start tags for that same element.<?xml version="1.0"?>
<!DOCTYPE root [
<!ATTLIST elem attr1 CDATA #IMPLIED
attr2 CDATA #IMPLIED
... (N attributes) ...>
]>
<root>
<elem/><elem/><elem/>... (N start tags)
</root>storeAtts() function processes O(N²) attribute-declaration scans, causing the parsing thread/process to consume excessive CPU and become unresponsive, effectively denying service to legitimate users (libexpat PR #1535, GitHub Advisory).<!DOCTYPE internal DTD declarations) to XML-parsing endpoints; unusually large request bodies from a single source IP.python, php-fpm, apache2, or a custom application binary) without a corresponding increase in throughput or response rate.The fix is targeted for libexpat version 2.12.0 (milestone assigned in PR #1535); users should upgrade to a version of libexpat later than 2.11.0 that includes the patch from GHSA-j54q-vp49-jm64 once released (libexpat PR #1535, GitHub Advisory). Until a patched release is available, mitigations include: (1) rejecting or sanitizing XML input that contains internal DTD declarations before passing it to libexpat; (2) enforcing CPU time limits or timeouts on XML parsing operations that handle untrusted input; (3) rate-limiting or blocking XML submissions from untrusted sources at the network or application layer. Prioritize remediation for internet-facing services that accept arbitrary XML from external users.
The vulnerability was reported by community contributor ozataknurullah via a GitHub pull request and assigned CVE-2026-141595 by carnil on December 2, 2026; libexpat maintainer hartwork reviewed and approved the fix, targeting the 2.12.0 milestone (libexpat PR #1535). VulnCheck published an advisory noting the denial-of-service impact via the storeAtts() default attribute scan. Early social media activity was observed on Mastodon via @thehackerwire, and the CVE was quickly indexed by multiple vulnerability tracking platforms including VulDB, OSV, and CIRCL. Community reaction has been measured, consistent with a medium-severity DoS in a widely-used library with no active exploitation.
Fix availability across major Linux distributions and their releases.
bionic (esm-apps)
xmlrpc-c
bionic (esm-infra)
expat
devel
expat
focal (esm-apps)
xmlrpc-c
focal (esm-infra)
expat
jammy
expat
jammy (esm-apps)
xmlrpc-c
noble
expat
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."