Vulnerability · Published May 13, 2024 · Assigned by mitre
CVE-2024-34459
High 7.5
In plain English
A high-severity heap buffer overflow in the libxml2 package (AlmaLinux). Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 1.8% (higher than 79% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)7.5High
Exploit odds (30 days)1.8%top 21.4% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known
Official description
An issue was discovered in xmllint (from libxml2) before 2.11.8 and 2.12.x before 2.12.7. Formatting error messages with xmllint --htmlout can result in a buffer over-read in xmlHTMLPrintFileContext in xmllint.c.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:10 | libxml2 | 2.12.5-10.el10_2.1 | ALSA-2026:28234 |
| AlmaLinux:8 | libxml2 | 2.9.7-21.el8_10.5 | ALSA-2026:26354 |
| AlmaLinux:9 | libxml2 | 2.9.13-14.el9_8.1 | ALSA-2026:28254 |
| AlmaLinux:10 | libxml2-devel | 2.12.5-10.el10_2.1 | ALSA-2026:28234 |
| AlmaLinux:8 | libxml2-devel | 2.9.7-21.el8_10.5 | ALSA-2026:26354 |
| AlmaLinux:9 | libxml2-devel | 2.9.13-14.el9_8.1 | ALSA-2026:28254 |
| AlmaLinux:10 | libxml2-static | 2.12.5-10.el10_2.1 | ALSA-2026:28234 |
| AlmaLinux:10 | python3-libxml2 | 2.12.5-10.el10_2.1 | ALSA-2026:28234 |
| AlmaLinux:8 | python3-libxml2 | 2.9.7-21.el8_10.5 | ALSA-2026:26354 |
| AlmaLinux:9 | python3-libxml2 | 2.9.13-14.el9_8.1 | ALSA-2026:28254 |
| Alpine:v3.20 | libxml2 | 2.12.7-r0 | ALPINE-CVE-2024-34459 |
| Alpine:v3.21 | libxml2 | 2.12.7-r0 | ALPINE-CVE-2024-34459 |
| Alpine:v3.22 | libxml2 | 2.12.7-r0 | ALPINE-CVE-2024-34459 |
| Alpine:v3.23 | libxml2 | 2.12.7-r0 | ALPINE-CVE-2024-34459 |
| Alpine:v3.24 | libxml2 | 2.12.7-r0 | ALPINE-CVE-2024-34459 |
| Debian:12 | libxml2 | 2.9.14+dfsg-1.3~deb12u2 | DEBIAN-CVE-2024-34459 |
| Debian:12 | libxml2 | 2.9.14+dfsg-1.3~deb12u2 | DSA-5949-1 |
| Debian:13 | libxml2 | 2.12.7+dfsg+really2.9.14-0.4 | DEBIAN-CVE-2024-34459 |
| Debian:14 | libxml2 | 2.12.7+dfsg+really2.9.14-0.4 | DEBIAN-CVE-2024-34459 |
| Rocky Linux:10 | libxml2 | 0:2.12.5-10.el10_2.1 | RLSA-2026:28234 |
| Rocky Linux:8 | libxml2 | 0:2.9.7-21.el8_10.5 | RLSA-2026:26354 |
| Rocky Linux:9 | libxml2 | 0:2.9.13-14.el9_8.1 | RLSA-2026:28254 |
| Ubuntu:22.04:LTS | libxml2 | 2.9.13+dfsg-1ubuntu0.6 | USN-7302-1 |
| Ubuntu:22.04:LTS | libxml2 | 2.9.13+dfsg-1ubuntu0.5 | USN-7240-1 |
| Ubuntu:22.04:LTS | libxml2 | 2.9.13+dfsg-1ubuntu0.5 | UBUNTU-CVE-2024-34459 |
| Ubuntu:24.04:LTS | libxml2 | 2.9.14+dfsg-1.3ubuntu3.1 | UBUNTU-CVE-2024-34459 |
| Ubuntu:24.04:LTS | libxml2 | 2.9.14+dfsg-1.3ubuntu3.1 | USN-7240-1 |
| Ubuntu:24.04:LTS | libxml2 | 2.9.14+dfsg-1.3ubuntu3.2 | USN-7302-1 |
Affected products (as reported)
Weakness: CWE-122 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
References
- https://gitlab.gnome.org/GNOME/libxml2/-/issues/720
- https://gitlab.gnome.org/GNOME/libxml2/-/releases/v2.12.7
- https://gitlab.gnome.org/GNOME/libxml2/-/releases/v2.11.8
- FEDORA-2024-08e01e9f2f vendor-advisory
- FEDORA-2024-4862425658 vendor-advisory
- FEDORA-2024-9ffc6cc7bf vendor-advisory
- https://lists.debian.org/debian-lts-announce/2025/07/msg00014.html
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/5HVUXKYTBWT3G5DEEQX62STJQBY367NL/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/INKSSLW5VMZIXHRPZBAW4TJUX5SQKARG/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/VRDJCNQP32LV56KESUQ5SNZKAJWSZZRI/
- https://cert-portal.siemens.com/productcert/html/ssa-398330.html