CVE-2025-8732
Low · 3.3CVSS
3.3
EPSS
0.2%
Published
Aug 8, 2025
CISA due date
—
Cloudanix analysis
A library used by many programs to read certain old catalog files could be tricked into crashing itself when given a specially made file, though this is unlikely to affect real systems.
- Exploitation
- Local Privilege
- Attacker needs
- Low Privilege
- Complexity
- Theoretical
- Impact
- Denial Of Service
- Component
- Library
- Class
- Denial of service
- Remediation
- Workaround Only
- Effort
- Low
- Patch risk
- None
What it actually does
Uncontrolled recursion in xmlParseSGMLCatalog when processing SGML catalogs leads to stack exhaustion and local denial of service.
Why it matters to the business
Rare potential for application or service crashes on affected Linux systems that still rely on legacy SGML catalogs; low operational urgency given maintainer assessment that untrusted catalogs are never used in practice.
How an attack unfolds
A local attacker supplies a specially crafted SGML catalog file to the xmlcatalog utility or any application linked against a vulnerable libxml2 build, triggering unbounded recursion that crashes the process.
How to fix it
Upgrade linux-lts (Alpaquita:stream) and linux-lts (Alpaquita:25) to version 6.12.41-r0 or later; discontinue use of SGML catalogs entirely.
How to confirm the fix worked
Confirm installed package versions match or exceed the listed fixed releases; attempt to parse a test SGML catalog known to trigger recursion on unpatched builds and verify no crash occurs.
Typical attack path
- Locate a system running an affected libxml2 package that exposes the xmlcatalog tool or equivalent SGML parsing path.
- Craft a malicious SGML catalog containing recursive entity references.
- Invoke the vulnerable function locally with the crafted catalog.
- Observe process crash due to stack exhaustion.
How to detect it
Monitor process crash logs for segmentation faults or stack overflow signals originating from libxml2 SGML parsing routines; review command-line invocations of xmlcatalog for unexpected catalog arguments.
What your security team should do
- Apply the 6.12.41-r0 package updates across all affected Alpaquita streams immediately.
- Audit any remaining SGML catalog usage and migrate to XML catalogs.
- Add package version checks to vulnerability scanning pipelines.
- Review local attack surface for xmlcatalog or libxml2-based SGML handling.
The record
A vulnerability was found in libxml2 up to 2.14.5. It has been declared as problematic. This vulnerability affects the function xmlParseSGMLCatalog of the component xmlcatalog. The manipulation leads to uncontrolled recursion. Attacking locally is a requirement. The exploit has been disclosed to the public and may be used. The real existence of this vulnerability is still doubted at the moment. The code maintainer explains, that "[t]he issue can only be triggered with untrusted SGML catalogs and it makes absolutely no sense to use untrusted catalogs. I also doubt that anyone is still using SGML catalogs at all."
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Debian:11 | libxml2 | 0 | No fix |
| Debian:12 | libxml2 | 0 | No fix |
| Debian:13 | libxml2 | 0 | No fix |
| Debian:14 | libxml2 | 0 | No fix |
| Mageia:9 | libxml2 | 0 | 2.10.4-1.9.mga9 |
| SUSE:Linux Enterprise Micro 5.2 | libxml2 | 0 | 2.9.7-150000.3.88.1 |
| SUSE:Linux Enterprise Micro 5.2 | python-libxml2-python | 0 | 2.9.7-150000.3.88.1 |
| SUSE:Linux Enterprise Micro 5.3 | libxml2 | 0 | 2.9.14-150400.5.50.1 |
| SUSE:Linux Enterprise Micro 5.3 | libxml2-python | 0 | 2.9.14-150400.5.50.1 |
| SUSE:Linux Enterprise Micro 5.4 | libxml2 | 0 | 2.9.14-150400.5.50.1 |
| SUSE:Linux Enterprise Micro 5.4 | libxml2-python | 0 | 2.9.14-150400.5.50.1 |
| SUSE:Linux Enterprise Micro 5.5 | libxml2 | 0 | 2.10.3-150500.5.38.1 |
| SUSE:Linux Enterprise Micro 5.5 | libxml2-python | 0 | 2.10.3-150500.5.38.1 |
| openSUSE:Leap 15.6 | libxml2 | 0 | 2.10.3-150500.5.38.1 |
| openSUSE:Leap 15.6 | libxml2-python | 0 | 2.10.3-150500.5.38.1 |
| openSUSE:Leap 15.6 | python-libxml2-python | 0 | 2.9.7-150000.3.88.1 |
| openSUSE:Leap 16.0 | libxml2 | 0 | 2.13.8-160000.4.1 |
| openSUSE:Leap 16.0 | libxml2-python | 0 | 2.13.8-160000.4.1 |
| openSUSE:Leap 16.0 | libxslt | 0 | 1.1.43-160000.4.1 |
| openSUSE:Tumbleweed | libxml2 | 0 | 2.14.5-4.1 |
Related vulnerabilities
- CVE-2025-9714 Uncontrolled recursion in XPath evaluation in libxml2 up to and including version 2.9.14… Also affects libxml2
- CVE-2025-6170 A flaw was found in the interactive shell of the xmllint command-line tool, used for… Also affects libxml2
- CVE-2025-49796 A vulnerability was found in libxml2. Also affects libxml2
- CVE-2025-49795 A NULL pointer dereference vulnerability was found in libxml2 when processing XPath XML… Also affects libxml2
- CVE-2025-49794 A use-after-free vulnerability was found in libxml2. Also affects libxml2
- CVE-2025-6021 A flaw was found in libxml2's xmlBuildQName function, where integer overflows in buffer… Also affects libxml2
- CVE-2025-32415 In libxml2 before 2.13.8 and 2.14.x before 2.14.2, xmlSchemaIDCFillNodeTables in… Also affects libxml2
- CVE-2025-32414 In libxml2 before 2.13.8 and 2.14.x before 2.14.2, out-of-bounds memory access can occur… Also affects libxml2