Vulnerability · Published Feb 4, 2024 · Assigned by mitre
CVE-2024-25062
High 7.5
In plain English
A high-severity use-after-free in the libxml2 package (AlmaLinux). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.3% (higher than 71% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)7.5High
Exploit odds (30 days)1.3%top 29.2% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known
Official description
An issue was discovered in libxml2 before 2.11.7 and 2.12.x before 2.12.5. When using the XML Reader interface with DTD validation and XInclude expansion enabled, processing crafted XML documents can lead to an xmlValidatePopElement use-after-free.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:8 | libxml2 | 2.9.7-18.el8_10.1 | ALSA-2024:3626 |
| AlmaLinux:9 | libxml2 | 2.9.13-6.el9_4 | ALSA-2024:2679 |
| AlmaLinux:8 | libxml2-devel | 2.9.7-18.el8_10.1 | ALSA-2024:3626 |
| AlmaLinux:9 | libxml2-devel | 2.9.13-6.el9_4 | ALSA-2024:2679 |
| AlmaLinux:8 | python3-libxml2 | 2.9.7-18.el8_10.1 | ALSA-2024:3626 |
| AlmaLinux:9 | python3-libxml2 | 2.9.13-6.el9_4 | ALSA-2024:2679 |
| Alpine:v3.20 | libxml2 | 2.12.5-r0 | ALPINE-CVE-2024-25062 |
| Alpine:v3.21 | libxml2 | 2.12.5-r0 | ALPINE-CVE-2024-25062 |
| Alpine:v3.22 | libxml2 | 2.12.5-r0 | ALPINE-CVE-2024-25062 |
| Alpine:v3.23 | libxml2 | 2.12.5-r0 | ALPINE-CVE-2024-25062 |
| Alpine:v3.24 | libxml2 | 2.12.5-r0 | ALPINE-CVE-2024-25062 |
| Alpine:v3.20 | qt6-qtwebengine | 6.6.3-r1 | ALPINE-CVE-2024-25062 |
| Alpine:v3.21 | qt6-qtwebengine | 6.6.3-r1 | ALPINE-CVE-2024-25062 |
| Alpine:v3.22 | qt6-qtwebengine | 6.6.3-r1 | ALPINE-CVE-2024-25062 |
| Alpine:v3.23 | qt6-qtwebengine | 6.6.3-r1 | ALPINE-CVE-2024-25062 |
| Alpine:v3.24 | qt6-qtwebengine | 6.6.3-r1 | ALPINE-CVE-2024-25062 |
| Debian:12 | libxml2 | 2.9.14+dfsg-1.3~deb12u2 | DSA-5949-1 |
| Debian:12 | libxml2 | 2.9.14+dfsg-1.3~deb12u2 | DEBIAN-CVE-2024-25062 |
| Debian:13 | libxml2 | 2.12.7+dfsg+really2.9.14-1 | DEBIAN-CVE-2024-25062 |
| Debian:14 | libxml2 | 2.12.7+dfsg+really2.9.14-1 | DEBIAN-CVE-2024-25062 |
| Rocky Linux:8 | libxml2 | 0:2.9.7-18.el8_10.1 | RLSA-2024:3626 |
| Rocky Linux:9 | libxml2 | 0:2.9.13-6.el9_4 | RLSA-2024:2679 |
| Ubuntu:22.04:LTS | libxml2 | 2.9.13+dfsg-1ubuntu0.4 | UBUNTU-CVE-2024-25062 |
| Ubuntu:22.04:LTS | libxml2 | 2.9.13+dfsg-1ubuntu0.4 | USN-6658-1 |
Affected products (as reported)
Weakness: CWE-416 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
References
- https://gitlab.gnome.org/GNOME/libxml2/-/tags
- https://gitlab.gnome.org/GNOME/libxml2/-/issues/604
- https://lists.debian.org/debian-lts-announce/2025/02/msg00028.html
- https://security.netapp.com/advisory/ntap-20241018-0009/
- https://cert-portal.siemens.com/productcert/html/ssa-794697.html
- https://cert-portal.siemens.com/productcert/html/ssa-784301.html