Sceawere

Vulnerability Detail

CVE-2026-32327UPDATED Verified Sceawere Triage Sources: NVD / CISA KEV

APR-util Stack Recursion Vulnerability

Vulnerability Metadata

Severity
Critical
Score / CVSS
9.1
Creation Date
1d ago
Vendor
Apache Software Foundation
Product
Apache Portable Runtime Utility
Attack Type
CWE-674 Uncontrolled Recursion
Vector String
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
Attack Complexity
LOW

Narrative and Response

Description

A bug in APR-util version 1.6.3 (and earlier) allows a stack recursion attack against any library consumer which parses XML from untrusted sources and uses the apr_xml_quote_elem() function. Users are recommended to upgrade to version 1.6.4, which fixes this issue.

Executive Summary

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.

Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Executive Summary Locked

Sign up to unlock professional threat analysis, mitigations, and indicator signatures.

Technical Details

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.

Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Detailed Technical Analysis Locked

Sign up to unlock professional threat analysis, mitigations, and indicator signatures.

Mitigations

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.

Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Remediation & Mitigations Locked

Sign up to unlock professional threat analysis, mitigations, and indicator signatures.

References

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.

Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Intelligence References Locked

Sign up to unlock professional threat analysis, mitigations, and indicator signatures.

Additional Metadata

{
  "score": "9.1",
  "pubDate": "2026-08-06T15:16:54.190Z",
  "pubdate": "2026-08-06T15:16:54.190Z",
  "executiveSummary": "A stack recursion vulnerability exists in APR-util version 1.6.3 and earlier, specifically within the XML parsing functionality. This flaw exposes any library consumer that parses XML documents from untrusted sources and utilizes the affected function to potential security risks. The primary vulnerability type is stack recursion leading to denial of service, where improper handling of nested XML elements causes excessive stack consumption. The impact of successful exploitation includes application crashes, potential denial of service (DoS) for dependent services, and disruption of normal operations. Affected systems include applications leveraging APR-util version 1.6.3 or prior. Risk implications are moderate to high depending on the exposure of the XML parsing interface to untrusted inputs. Attacker capabilities require the ability to supply malicious or deeply nested XML payloads to the vulnerable application. Exploitation requirements mandate that the target application processes untrusted XML input using the flawed quoting mechanism without adequate depth validation or recursion limits.",
  "technicalDetails": "The vulnerability resides in the apr_xml_quote_elem() function of the Apache Portable Runtime Utility (APR-util) library, specifically affecting version 1.6.3 and earlier. The root cause of the issue stems from an absence of proper depth checks or iterative handling when processing recursive structures within XML elements. During the execution of apr_xml_quote_elem(), the component recursively processes nested XML elements or entity structures without restricting the recursion depth. When an untrusted source provides a specially crafted XML document containing an excessively deep hierarchy of nested elements, each recursive function call consumes stack frame memory. The exploitation method relies on supplying a malicious XML payload engineered to maximize stack frame allocation during the parsing and quoting phase. The attack flow begins when a library consumer ingests the malicious XML from an untrusted network or local source. The application passes the XML structure to the vulnerable apr_xml_quote_elem() function. As the function traverses the deeply nested XML elements, uncontrolled recursive function calls are executed, rapidly exhausting the allocated thread stack space. This stack exhaustion invariably triggers a segmentation fault or stack overflow exception, causing the host process to abruptly terminate. No authentication or elevated privilege requirements are necessary if the vulnerable XML parsing endpoint is exposed to the network or accessible via unauthenticated input channels. Network exposure depends entirely on how the consumer application exposes its XML parsing capabilities, but remote exploitation is highly feasible if the parser accepts external HTTP requests or untrusted file uploads. The payload behavior is strictly destructive to availability, resulting in application crashes rather than arbitrary code execution, though repeated crashes sustain a permanent denial of service condition."
}
CVE-2026-32327: APR-util Stack Recursion Vulnerability (CRITICAL Severity, CVSS: 9.1) - Sceawere