CVE-2025-8732libxml2 xmlcatalog xmlParseSGMLCatalog recursion
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."
What to do
Fixed builds are available from Debian, Ubuntu: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 25.10 | libxml2 | Fixed | 2.14.5+dfsg-0.2ubuntu0.1 | UBUNTU-CVE-2025-8732 |
| Ubuntu 24.04 | libxml2 | Fixed | 2.9.14+dfsg-1.3ubuntu3.7 | UBUNTU-CVE-2025-8732 |
| Ubuntu 22.04 | libxml2 | Fixed | 2.9.13+dfsg-1ubuntu0.11 | UBUNTU-CVE-2025-8732 |
| Ubuntu 20.04 | libxml2 | Fix pending | 2.9.10+dfsg-5ubuntu0.20.04.10+esm4 (Ubuntu Pro) | UBUNTU-CVE-2025-8732 |
| Ubuntu 18.04 | libxml2 | Fix pending | 2.9.4+dfsg1-6.1ubuntu1.9+esm7 (Ubuntu Pro) | UBUNTU-CVE-2025-8732 |
| Ubuntu 16.04 | libxml2 | Fix pending | 2.9.3+dfsg1-1ubuntu0.7+esm12 (Ubuntu Pro) | UBUNTU-CVE-2025-8732 |
| Ubuntu 14.04 | libxml2 | Fix pending | 2.9.1+dfsg1-3ubuntu4.13+esm11 (Ubuntu Pro) | UBUNTU-CVE-2025-8732 |
| Debian 14 | libxml2 | Fixed | 2.15.2+dfsg-0.1 | DEBIAN-CVE-2025-8732 |
| Debian 13 | libxml2 | Fixed | 2.12.7+dfsg+really2.9.14-2.1+deb13u3 | DEBIAN-CVE-2025-8732 |
| Debian 12 | libxml2 | Fixed | 2.9.14+dfsg-1.3~deb12u6 | DEBIAN-CVE-2025-8732 |
| Red Hat Enterprise Linux 10 | libxml2 | Not affected | ||
| Red Hat Enterprise Linux 10 | libxml2-devel | Not affected | ||
| Red Hat Enterprise Linux 10 | libxml2-static | Not affected | ||
| Red Hat Enterprise Linux 10 | python3-libxml2 | Not affected | ||
| Red Hat Enterprise Linux 9 | libxml2 | Not affected | ||
| Red Hat Enterprise Linux 9 | libxml2-devel | Not affected | ||
| Red Hat Enterprise Linux 9 | python3-libxml2 | Not affected | ||
| Red Hat Enterprise Linux 8 | libxml2 | Not affected | ||
| Red Hat Enterprise Linux 8 | libxml2-devel | Not affected | ||
| Red Hat Enterprise Linux 8 | python3-libxml2 | Not affected | ||
| Red Hat Enterprise Linux 7 | libxml2 | Not affected | ||
| Red Hat Enterprise Linux 7 | libxml2-devel | Not affected | ||
| Red Hat Enterprise Linux 7 | libxml2-python | Not affected | ||
| Red Hat Enterprise Linux 7 | libxml2-static | Not affected | ||
| Red Hat Enterprise Linux 6 | libxml2 | Not affected | ||
| Red Hat Enterprise Linux 6 | libxml2-devel | Not affected | ||
| Red Hat Enterprise Linux 6 | libxml2-python | Not affected | ||
| Red Hat Enterprise Linux 6 | libxml2-static | Not affected |
What the vendor says
As published in the CVE record by VulDB, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- libxml2: affected: 2.14.0, 2.14.1, 2.14.2, 2.14.3, 2.14.4, 2.14.5
References
- https://vuldb.com/?id.319228
- https://vuldb.com/?ctiid.319228
- https://vuldb.com/?submit.622285
- https://gitlab.gnome.org/GNOME/libxml2/-/issues/958
- https://gitlab.gnome.org/GNOME/libxml2/-/issues/958#note_2505853
- https://drive.google.com/file/d/1woIeYVcSQB_NwfEhaVnX6MedpWJ_nqWl/view?usp=drive_link
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.