Vulnerability DatabaseCVE-2026-141595

CVE-2026-141595: 
Rocky Linux vulnerability analysis and mitigation

Overview

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).

Technical details

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).

Impact

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).

Exploitability

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.

Exploitation steps

  1. Reconnaissance: Identify applications or services that accept and parse XML input using libexpat version ≤ 2.11.0 (e.g., web APIs, SOAP endpoints, XML-based file upload features, or any service using Python's xml.parsers.expat, PHP's xml_* functions, or similar libexpat-backed parsers).
  2. Craft malicious XML: Construct an XML document with an internal DTD that declares a large number of #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>
  3. Deliver the payload: Submit the crafted XML to the target application via HTTP POST, file upload, API call, or any other XML ingestion channel.
  4. Trigger quadratic CPU consumption: The vulnerable 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).

Indicators of compromise

  • Network: Repeated or sustained HTTP requests delivering large XML payloads (especially with embedded <!DOCTYPE internal DTD declarations) to XML-parsing endpoints; unusually large request bodies from a single source IP.
  • Process: Sustained high CPU utilization (near 100%) on a single core by the XML-parsing process (e.g., python, php-fpm, apache2, or a custom application binary) without a corresponding increase in throughput or response rate.
  • Logs: Application or web server logs showing requests with XML content-type that result in timeouts, 503 errors, or abnormally long processing times; repeated requests from the same IP with similar XML structure.
  • System: Elevated load average on the host with no corresponding disk I/O or network saturation; watchdog or health-check failures for services that parse XML.

Mitigation and workarounds

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.

Community reactions

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.

Additional resources

Linux Distribution fix status

Fix availability across major Linux distributions and their releases.

Ubuntu

Unknown

bionic (esm-apps)

xmlrpc-c

Unknown

bionic (esm-infra)

expat

Unknown

devel

expat

Unknown

focal (esm-apps)

xmlrpc-c

Unknown

focal (esm-infra)

expat

Unknown

jammy

expat

Unknown

jammy (esm-apps)

xmlrpc-c

Unknown

noble

expat

Unknown

RHEL / CentOS

Affected

OpenShift

openshift/ose-rhel-coreos-8

Affected

RHEL 8

Not Affected

RHEL 9

Not Affected

RHEL 10

Not Affected

Source: This report was generated using AI

Related Rocky Linux vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-144481MEDIUM6.9
  • VLC media player logoVLC media player
  • vlc
NoYesDec 04, 2026
CVE-2026-144480MEDIUM6.9
  • VLC media player logoVLC media player
  • vlc-plugin-lua
NoYesDec 04, 2026
CVE-2026-144479MEDIUM6.8
  • VLC media player logoVLC media player
  • vlc-plugins-extra
NoYesDec 04, 2026
CVE-2026-120376MEDIUM5.9
  • Samba logoSamba
  • ldb-tools
NoNoDec 04, 2026
CVE-2026-144711MEDIUM5.5
  • Rocky Linux logoRocky Linux
  • python3-syspurpose
NoYesDec 04, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Additional Wiz resources

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management