Vulnerability · Published Aug 8, 2025 · Assigned by VulDB
CVE-2025-8732libxml2 xmlcatalog xmlParseSGMLCatalog recursion
Low 3.3
In plain English
A low-severity security flaw in libxml2. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 15% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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 & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | libxml2 | 2.9.14+dfsg-1.3~deb12u6 | DEBIAN-CVE-2025-8732 |
| Debian:13 | libxml2 | 2.12.7+dfsg+really2.9.14-2.1+deb13u3 | DEBIAN-CVE-2025-8732 |
| Debian:14 | libxml2 | 2.15.2+dfsg-0.1 | DEBIAN-CVE-2025-8732 |
| Ubuntu:22.04:LTS | libxml2 | 2.9.13+dfsg-1ubuntu0.11 | UBUNTU-CVE-2025-8732 |
| Ubuntu:24.04:LTS | libxml2 | 2.9.14+dfsg-1.3ubuntu3.7 | UBUNTU-CVE-2025-8732 |
| Ubuntu:25.10 | libxml2 | 2.14.5+dfsg-0.2ubuntu0.1 | UBUNTU-CVE-2025-8732 |
Affected products (as reported)
Weakness: CWE-674, CWE-404 · Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L/E:P/RL:X/RC:C
References
- VDB-319228 | libxml2 xmlcatalog xmlParseSGMLCatalog recursion vdb-entry, technical-description
- VDB-319228 | CTI Indicators (IOB, IOC, IOA) signature, permissions-required
- Submit #622285 | LibXML2 xmlcatalog the newest master stack overflow third-party-advisory
- https://gitlab.gnome.org/GNOME/libxml2/-/issues/958 issue-tracking
- https://gitlab.gnome.org/GNOME/libxml2/-/issues/958#note_2505853 issue-tracking
- https://drive.google.com/file/d/1woIeYVcSQB_NwfEhaVnX6MedpWJ_nqWl/view?usp=drive_link exploit
- https://cert-portal.siemens.com/productcert/html/ssa-253495.html