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.
Published: 2026-08-06
Score: 9.1 Critical
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

This vulnerability is a stack recursion flaw (CWE‑674) that occurs in the apr_xml_quote_elem function of APR‑util when parsing XML from untrusted sources. The recursion can overflow the call stack, causing the consuming application or library to crash, demonstrating a buffer overflow or inappropriate stack usage (CWE‑776). The primary consequence of this behavior is a denial‑of‑service scenario where an attacker can repeatedly send crafted XML to terminate services that depend on APR‑util.

Affected Systems

All systems using Apache Portable Runtime Utility version 1.6.3 or earlier are impacted. APR‑util is a core library for many Apache projects, so any application linking against these older versions may be vulnerable if it calls apr_xml_quote_elem on external XML.

Risk and Exploitability

The EPSS score is < 1%, implying a low but nonzero probability of exploitation, and the vulnerability is not listed in CISA KEV. The CVSS score is 9.1, indicating high severity. The description shows that the stack recursion flaw can cause the consuming application to crash when parsing malicious XML. Consequently, the potential impact is a denial‑of‑service scenario if an attacker supplies crafted XML that triggers the recursion error.

Generated by OpenCVE AI on August 11, 2026 at 02:36 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade APR‑util to version 1.6.4 or later.
  • Avoid calling apr_xml_quote_elem in contexts that handle externally supplied XML, or add defensive checks before invoking the function.
  • Monitor affected services for unexpected crashes and review logs for stack overflows following updates.

Generated by OpenCVE AI on August 11, 2026 at 02:36 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-4742-1 apr-util security update
Debian DSA Debian DSA DSA-6437-1 apr-util security update
History

Tue, 11 Aug 2026 00:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-776
References
Metrics threat_severity

None

threat_severity

Moderate


Thu, 06 Aug 2026 18:30:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 9.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Thu, 06 Aug 2026 16:45:00 +0000

Type Values Removed Values Added
First Time appeared Apache
Apache portable Runtime Utility
Vendors & Products Apache
Apache portable Runtime Utility

Thu, 06 Aug 2026 14:45:00 +0000

Type Values Removed Values Added
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.
Title Apache Portable Runtime Utility: apr-util XML stack recursion crash
Weaknesses CWE-674
References

Subscriptions

Apache Apr-util Portable Runtime Utility
cve-icon MITRE

Status: PUBLISHED

Assigner: apache

Published:

Updated: 2026-08-06T21:56:07.488Z

Reserved: 2026-03-12T08:57:52.096Z

Link: CVE-2026-32327

cve-icon Vulnrichment

Updated: 2026-08-06T21:56:07.488Z

cve-icon NVD

Status : Analyzed

Published: 2026-08-06T15:16:54.190

Modified: 2026-08-07T19:49:33.353

Link: CVE-2026-32327

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-08-06T14:32:43Z

Links: CVE-2026-32327 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-11T02:45:06Z

Weaknesses
  • CWE-674

    Uncontrolled Recursion

  • CWE-776

    Improper Restriction of Recursive Entity References in DTDs ('XML Entity Expansion')