cve.bz

CVE-2024-34459 xmlsoft libxml2: Heap-based Buffer Overflow

7.5 highExploit referenceEPSS 1.8%

High (7.5) in xmlsoft libxml2. EPSS 1.8% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
EPSS
1.8% (unchanged from 1.8% a week ago; 1.8% 30 days ago) estimated probability of exploitation activity in the next 30 days; 79th percentile. Scored 2026-11-15. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: yes · Technical impact: partial, assessed 2024-08-22. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-122 Heap-based Buffer Overflow
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2024-34459 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-34459?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-34459?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2024-34459 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Badge for a README or a site

CVE-2024-34459

An image that stays current: it is drawn from the data each time it is fetched (a host that proxies images, as GitHub does, may show its copy for a while). Markdown:

[![CVE-2024-34459](https://cve.bz/cve/badge/CVE-2024-34459.svg)](https://cve.bz/cve/CVE-2024-34459)

HTML:

<a href="https://cve.bz/cve/CVE-2024-34459"><img src="https://cve.bz/cve/badge/CVE-2024-34459.svg" alt="CVE-2024-34459"></a>

Affected

Versions

From the NVD's CPE matches.

ProductAffected
xmlsoft:libxml2before 2.11.8
xmlsoft:libxml2from 2.12.0 before 2.12.7

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11libxml22.9.10+dfsg-6.7+deb11u8DLA-4251-1
Debian12libxml22.9.14+dfsg-1.3~deb12u2DEBIAN-CVE-2024-34459 DSA-5949-1
Debian13, 14libxml22.12.7+dfsg+really2.9.14-0.4DEBIAN-CVE-2024-34459
Ubuntu20.04:LTSlibxml22.9.10+dfsg-5ubuntu0.20.04.8UBUNTU-CVE-2024-34459 USN-7240-1 USN-7302-1
Ubuntu22.04:LTSlibxml22.9.13+dfsg-1ubuntu0.5UBUNTU-CVE-2024-34459 USN-7240-1 USN-7302-1
Ubuntu24.04:LTSlibxml22.9.14+dfsg-1.3ubuntu3.1UBUNTU-CVE-2024-34459 USN-7240-1 USN-7302-1
UbuntuPro:14.04:LTSlibxml22.9.1+dfsg1-3ubuntu4.13+esm7UBUNTU-CVE-2024-34459 USN-7302-1
UbuntuPro:16.04:LTSlibxml22.9.3+dfsg1-1ubuntu0.7+esm7UBUNTU-CVE-2024-34459 USN-7302-1
UbuntuPro:18.04:LTSlibxml22.9.4+dfsg1-6.1ubuntu1.9+esm2UBUNTU-CVE-2024-34459 USN-7302-1
Red Hatenterprise_linux:8::appstreamlibxml2-devel, libxml2-debuginfo, libxml2-debugsource and 1 more0:2.9.7-21.el8_10.5RHSA-2026:26354
Red Hatenterprise_linux:8::baseoslibxml2, python3-libxml2, libxml2-debuginfo and 2 more0:2.9.7-21.el8_10.5RHSA-2026:26354
Red Hatenterprise_linux:9::appstreamlibxml2-devel, libxml2-debuginfo, libxml2-debugsource and 1 more0:2.9.13-14.el9_8.1RHSA-2026:28254
Red Hatenterprise_linux:9::baseoslibxml2, python3-libxml2, libxml2-debuginfo and 2 more0:2.9.13-14.el9_8.1RHSA-2026:28254
Red Hatenterprise_linux:10.2libxml2, libxml2-devel, libxml2-static and 4 more0:2.12.5-10.el10_2.1RHSA-2026:28234
Red Hatenterprise_linux_eus:10.0libxml2, libxml2-devel, libxml2-static and 4 more0:2.12.5-9.el10_0.1RHSA-2026:33635
Red Hatrhel_aus:8.4::appstream, rhel_eus_long_life:8.4::appstreamlibxml2-devel, libxml2-debuginfo, libxml2-debugsource and 1 more0:2.9.7-9.el8_4.10RHSA-2026:27736
Red Hatrhel_aus:8.4::baseos, rhel_eus_long_life:8.4::baseoslibxml2, python3-libxml2, libxml2-debuginfo and 2 more0:2.9.7-9.el8_4.10RHSA-2026:27736
Red Hatrhel_aus:8.6::appstream, rhel_eus_long_life:8.6::appstreamlibxml2-devel, libxml2-debuginfo, libxml2-debugsource and 1 more0:2.9.7-13.el8_6.14RHSA-2026:27737
Red Hatrhel_aus:8.6::baseos, rhel_eus_long_life:8.6::baseoslibxml2, python3-libxml2, libxml2-debuginfo and 2 more0:2.9.7-13.el8_6.14RHSA-2026:27737
Red Hatrhel_e4s:8.8::appstream, rhel_tus:8.8::appstreamlibxml2-devel, libxml2-debuginfo, libxml2-debugsource and 1 more0:2.9.7-16.el8_8.14RHSA-2026:27739
Red Hatrhel_e4s:8.8::baseos, rhel_tus:8.8::baseoslibxml2, python3-libxml2, libxml2-debuginfo and 2 more0:2.9.7-16.el8_8.14RHSA-2026:27739
6 more for Red Hat in the JSON and on Red Hat's page.
SUSELinux Enterprise Micro 5.1libxml22.9.7-150000.3.70.1SUSE-SU-2024:2267-1
SUSELinux Enterprise Micro 5.2libxml2, python-libxml2-python2.9.7-150000.3.70.1SUSE-SU-2024:2267-1
SUSELinux Enterprise Micro 5.3, Linux Enterprise Micro 5.4libxml2, libxml2-python2.9.14-150400.5.32.1SUSE-SU-2024:2279-1
SUSELinux Enterprise Micro 5.5, Linux Enterprise Module for Basesystem 15 SP5, Linux Enterprise Module for Basesystem 15 SP6libxml2, libxml2-python2.10.3-150500.5.17.1SUSE-SU-2024:2290-1
SUSELinux Enterprise Module for Python 3 15 SP5, Linux Enterprise Module for Python 3 15 SP6libxml2-python2.10.3-150500.5.17.1SUSE-SU-2024:2290-1
SUSELinux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP5libxml2, python-libxml22.9.4-46.75.1SUSE-SU-2024:2288-1
SUSELinux Enterprise Software Development Kit 12 SP5libxml22.9.4-46.75.1SUSE-SU-2024:2288-1
SUSELinux Micro 6.0libxml22.11.6-3.1SUSE-SU-2025:20043-1
openSUSELeap 15.5, Leap 15.6libxml2, libxml2-python2.10.3-150500.5.17.1SUSE-SU-2024:2290-1
openSUSELeap 15.5, Leap 15.6python-libxml2-python2.9.7-150000.3.70.1SUSE-SU-2024:2267-1
openSUSETumbleweedlibxml22.12.7-1.1openSUSE-SU-2024:13971-1
AlmaLinux8libxml2, libxml2-devel, python3-libxml22.9.7-21.el8_10.5ALSA-2026:26354
AlmaLinux9libxml2, libxml2-devel, python3-libxml22.9.13-14.el9_8.1ALSA-2026:28254
AlmaLinux10libxml2, libxml2-devel, libxml2-static and 1 more2.12.5-10.el10_2.1ALSA-2026:28234
Rocky Linux8libxml20:2.9.7-21.el8_10.5RLSA-2026:26354
Rocky Linux9libxml20:2.9.13-14.el9_8.1RLSA-2026:28254
Rocky Linux10libxml20:2.12.5-10.el10_2.1RLSA-2026:28234
Alpinev3.18, v3.19libxml22.11.8-r0ALPINE-CVE-2024-34459
Alpinev3.20, v3.21, v3.22 and 2 morelibxml22.12.7-r0ALPINE-CVE-2024-34459
Azure Linux2libxml22.10.4-3AZL-42019
Azure Linux3libxml22.11.5-3AZL-42027
Alpaquita23libxml22.10.4-r5BELL-CVE-2024-34459
Alpaquitastreamlibxml22.12.7-r0BELL-CVE-2024-34459
BellSoft Hardened Containers23libxml22.10.4-r5BELL-CVE-2024-34459
BellSoft Hardened Containersstreamlibxml22.12.7-r0BELL-CVE-2024-34459

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine · Alpaquita · BellSoft Hardened Containers.

Red Hat

Red Hat rates this Low.

Red Hat's statement

This issue only affects the xmllint program when the `--htmlout' command line option is used. Additionally, an application is not vulnerable if it does not use or expose the xmllint program.

Red Hat's mitigation

Do not process untrusted files with the xmllint program.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10libxml2-0:2.12.5-10.el10_2.1Fixed 2026-06-23RHSA-2026:28234
Red Hat Enterprise Linux 10.0 Extended Update Supportlibxml2-0:2.12.5-9.el10_0.1Fixed 2026-06-30RHSA-2026:33635
Red Hat Enterprise Linux 8libxml2-0:2.9.7-21.el8_10.5Fixed 2026-06-16RHSA-2026:26354
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Supportlibxml2-0:2.9.7-9.el8_4.10Fixed 2026-06-22RHSA-2026:27736
Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-Onlibxml2-0:2.9.7-9.el8_4.10Fixed 2026-06-22RHSA-2026:27736
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Supportlibxml2-0:2.9.7-13.el8_6.14Fixed 2026-06-22RHSA-2026:27737
Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-Onlibxml2-0:2.9.7-13.el8_6.14Fixed 2026-06-22RHSA-2026:27737
Red Hat Enterprise Linux 8.8 Telecommunications Update Servicelibxml2-0:2.9.7-16.el8_8.14Fixed 2026-06-22RHSA-2026:27739
Red Hat Enterprise Linux 8.8 Update Services for SAP Solutionslibxml2-0:2.9.7-16.el8_8.14Fixed 2026-06-22RHSA-2026:27739
Red Hat Enterprise Linux 9libxml2-0:2.9.13-14.el9_8.1Fixed 2026-06-23RHSA-2026:28254
Red Hat Enterprise Linux 9.2 Update Services for SAP Solutionslibxml2-0:2.9.13-3.el9_2.11Fixed 2026-06-30RHSA-2026:33633
Red Hat Enterprise Linux 9.4 Update Services for SAP Solutionslibxml2-0:2.9.13-13.el9_4.1Fixed 2026-06-30RHSA-2026:33632
Red Hat Enterprise Linux 9.6 Extended Update Supportlibxml2-0:2.9.13-12.el9_6.2Fixed 2026-06-30RHSA-2026:33634
Cert Manager support for Red Hat OpenShift release 1.17cert-manager/jetstack-cert-manager-acmesolver-rhel9:1791371080Fixed 2026-10-13RHSA-2026:82304
Cert Manager support for Red Hat OpenShift release 1.17cert-manager/jetstack-cert-manager-rhel9:1791371069Fixed 2026-10-13RHSA-2026:82304
Cert Manager support for Red Hat OpenShift release 1.17cert-manager/cert-manager-operator-rhel9:1791788287Fixed 2026-10-13RHSA-2026:82322
Cert Manager support for Red Hat OpenShift release 1.17cert-manager/cert-manager-operator-bundle:1791970484Fixed 2026-10-14RHSA-2026:82888
Red Hat Enterprise Linux 6libxml2Out of support scope
Red Hat Enterprise Linux 7libxml2Out of support scope
Red Hat JBoss Core Serviceslibxml2Not affected
18 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2024-34459.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-23-348-10Siemens SIMATIC S7-15002023-12-12Critical Manufacturing, Transportation Systems, Energy, Healthcare and Public Health, Financial Services, Government Services and FacilitiesSIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0), SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0), SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) and 2 morenone listed

From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.

Attack patterns (CAPEC)

  • CAPEC-92 Forced Integer Overflow Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON