CVE-2026-32327

Apache Portable Runtime Utility: apr-util XML stack recursion crash

Published Aug 6, 2026 CVSS 3.1 · 9.1 Critical EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

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

Remediation

No solution or workaround provided in the CVE record.

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
Ubuntu USN Ubuntu USN USN-8719-1 APR-util vulnerabilities
History
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'}

Type Values Removed Values Added
First Time appeared Apache
Apache portable Runtime Utility
Vendors & Products Apache
Apache portable Runtime Utility
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
Weaknesses
  • CWE-674

    Uncontrolled Recursion

  • CWE-776

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

Sources

Status
PUBLISHED
Assigner
apache
Published
Updated
Aug 6, 2026, 9:56 PM
Reserved
Mar 12, 2026, 8:57 AM
Status
Analyzed
Published
Aug 6, 2026, 3:16 PM
Modified
Oct 24, 2026, 4:10 PM
Severity
Moderate
Public date
Aug 6, 2026, 2:32 PM