CVE-2024-34459 Memory corruption in n/a
A buffer over-read in libxml2's xmllint tool can cause a crash when formatting HTML error messages, requiring an upgrade to patched versions.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2024-34459?
CVE-2024-34459 is a high-severity memory corruption vulnerability in Xmlsoft Libxml2, published on 13 May 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.
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.
Weakness: CWE-122
Which versions are affected by CVE-2024-34459?
It affects 1 product.
Linux distribution packages (40)
libxml2 AlmaLinux:10 | All versions | 2.12.5-10.el10_2.1 |
libxml2-devel AlmaLinux:10 | All versions | 2.12.5-10.el10_2.1 |
libxml2-static AlmaLinux:10 | All versions | 2.12.5-10.el10_2.1 |
python3-libxml2 AlmaLinux:10 | All versions | 2.12.5-10.el10_2.1 |
libxml2 AlmaLinux:8 | All versions | 2.9.7-21.el8_10.5 |
libxml2-devel AlmaLinux:8 | All versions | 2.9.7-21.el8_10.5 |
python3-libxml2 AlmaLinux:8 | All versions | 2.9.7-21.el8_10.5 |
libxml2 AlmaLinux:9 | All versions | 2.9.13-14.el9_8.1 |
libxml2-devel AlmaLinux:9 | All versions | 2.9.13-14.el9_8.1 |
python3-libxml2 AlmaLinux:9 | All versions | 2.9.13-14.el9_8.1 |
libxml2 Red Hat:enterprise_linux:10.2 | All versions | 0:2.12.5-10.el10_2.1 |
libxml2-debuginfo Red Hat:enterprise_linux:10.2 | All versions | 0:2.12.5-10.el10_2.1 |
libxml2-debugsource Red Hat:enterprise_linux:10.2 | All versions | 0:2.12.5-10.el10_2.1 |
libxml2-devel Red Hat:enterprise_linux:10.2 | All versions | 0:2.12.5-10.el10_2.1 |
libxml2-static Red Hat:enterprise_linux:10.2 | All versions | 0:2.12.5-10.el10_2.1 |
python3-libxml2 Red Hat:enterprise_linux:10.2 | All versions | 0:2.12.5-10.el10_2.1 |
python3-libxml2-debuginfo Red Hat:enterprise_linux:10.2 | All versions | 0:2.12.5-10.el10_2.1 |
libxml2-debuginfo Red Hat:enterprise_linux:8::appstream | All versions | 0:2.9.7-21.el8_10.5 |
libxml2-debugsource Red Hat:enterprise_linux:8::appstream | All versions | 0:2.9.7-21.el8_10.5 |
libxml2-devel Red Hat:enterprise_linux:8::appstream | All versions | 0:2.9.7-21.el8_10.5 |
python3-libxml2-debuginfo Red Hat:enterprise_linux:8::appstream | All versions | 0:2.9.7-21.el8_10.5 |
libxml2 Red Hat:enterprise_linux:8::baseos | All versions | 0:2.9.7-21.el8_10.5 |
libxml2-debuginfo Red Hat:enterprise_linux:8::baseos | All versions | 0:2.9.7-21.el8_10.5 |
libxml2-debugsource Red Hat:enterprise_linux:8::baseos | All versions | 0:2.9.7-21.el8_10.5 |
python3-libxml2 Red Hat:enterprise_linux:8::baseos | All versions | 0:2.9.7-21.el8_10.5 |
python3-libxml2-debuginfo Red Hat:enterprise_linux:8::baseos | All versions | 0:2.9.7-21.el8_10.5 |
libxml2-debuginfo Red Hat:enterprise_linux:9::appstream | All versions | 0:2.9.13-14.el9_8.1 |
libxml2-debugsource Red Hat:enterprise_linux:9::appstream | All versions | 0:2.9.13-14.el9_8.1 |
libxml2-devel Red Hat:enterprise_linux:9::appstream | All versions | 0:2.9.13-14.el9_8.1 |
python3-libxml2-debuginfo Red Hat:enterprise_linux:9::appstream | All versions | 0:2.9.13-14.el9_8.1 |
libxml2 Red Hat:enterprise_linux:9::baseos | All versions | 0:2.9.13-14.el9_8.1 |
libxml2-debuginfo Red Hat:enterprise_linux:9::baseos | All versions | 0:2.9.13-14.el9_8.1 |
libxml2-debugsource Red Hat:enterprise_linux:9::baseos | All versions | 0:2.9.13-14.el9_8.1 |
python3-libxml2 Red Hat:enterprise_linux:9::baseos | All versions | 0:2.9.13-14.el9_8.1 |
python3-libxml2-debuginfo Red Hat:enterprise_linux:9::baseos | All versions | 0:2.9.13-14.el9_8.1 |
libxml2 Red Hat:enterprise_linux_eus:10.0 | All versions | 0:2.12.5-9.el10_0.1 |
libxml2-debuginfo Red Hat:enterprise_linux_eus:10.0 | All versions | 0:2.12.5-9.el10_0.1 |
libxml2-debugsource Red Hat:enterprise_linux_eus:10.0 | All versions | 0:2.12.5-9.el10_0.1 |
libxml2-devel Red Hat:enterprise_linux_eus:10.0 | All versions | 0:2.12.5-9.el10_0.1 |
libxml2-static Red Hat:enterprise_linux_eus:10.0 | All versions | 0:2.12.5-9.el10_0.1 |
Products include Xmlsoft Libxml2.
How do I fix CVE-2024-34459?
Upgrade to a fixed version.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2024-34459 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-34459 exists.
Other vulnerabilities in Xmlsoft Libxml2
Sources
Also known as ALPINE-CVE-2024-34459, ALSA-2026:26354, ALSA-2026:28234, ALSA-2026:28254, AZL-42019, AZL-42027 and 27 more.