CVE-2024-34459
libxml2: buffer over-read in xmlHTMLPrintFileContext in xmllint.c
A public proof of concept exists; no exploitation attested.
- Published2024-05-14
- Fixed in2.12.7 · 2.11.8
- WeaknessCWE-122
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
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.
Timeline
dates in UTC- 2024-05-1415:39CVE publishedNVD
Versions per branch
NVD · CISA-ADP| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 2.12 | ≥ 2.12.0, < 2.12.7 | 2.12.7 | NVD |
| 2.11 | < 2.11.8 | 2.11.8 | NVD |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 2.12 | ≥ 2.12.0, < 2.12.7 | 2.12.7 | CISA-ADP |
| 2.11 | < 2.11.8 | 2.11.8 | CISA-ADP |
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- libxml2Ubuntu:Pro:18.04:LTSall versions · fixed in 2.9.4+dfsg1-6.1ubuntu1.9+esm2
- libxml2Ubuntu:Pro:16.04:LTSall versions · fixed in 2.9.3+dfsg1-1ubuntu0.7+esm7
- libxml2Ubuntu:Pro:14.04:LTSall versions · fixed in 2.9.1+dfsg1-3ubuntu4.13+esm7
- libxml2Ubuntu:24.04:LTSall versions · fixed in 2.9.14+dfsg-1.3ubuntu3.1
- libxml2Ubuntu:24.04:LTSall versions · fixed in 2.9.14+dfsg-1.3ubuntu3.2
- libxml2Ubuntu:22.04:LTSall versions · fixed in 2.9.13+dfsg-1ubuntu0.5
- libxml2Ubuntu:22.04:LTSall versions · fixed in 2.9.13+dfsg-1ubuntu0.6
- libxml2Ubuntu:20.04:LTSall versions · fixed in 2.9.10+dfsg-5ubuntu0.20.04.8
85 more package ranges on OSV.dev
Vendor advisories
libxml2: buffer over-read in xmlHTMLPrintFileContext in xmllint.c
libxml2 as a component of Red Hat Enterprise Linux 6 · libxml2-devel as a component of Red Hat Enterprise Linux 6 · libxml2-python as a component of Red Hat Enterprise Linux 6 · +7 more
Red Hat Security Advisory: cert-manager Operator for Red Hat OpenShift 1.17.2
Red Hat Security Advisory: cert-manager Operator for Red Hat OpenShift 1.18.2
Red Hat Security Advisory: cert-manager Operator for Red Hat OpenShift 1.18.2
Red Hat Security Advisory: cert-manager Operator for Red Hat OpenShift 1.18.2
Red Hat Security Advisory: cert-manager Operator for Red Hat OpenShift 1.18.2
20 more advisories
Fix
- Update Xmlsoft libxml2 to 2.12.7 · 2.11.8
- Vendor fix Red Hat Product Security RHSA-2026:82888 · 1 productBefore applying this update, make sure all previously released errata relevant to your system have been applied. The steps to apply the upgraded images are different depending on the installation plan approval policy you used when installing the cert-manager Operator for Red Hat OpenShift. - If t…
- Vendor fix Red Hat Product Security RHSA-2026:74674 · 1 productFor more information visit https://access.redhat.com/errata/RHSA-2026:74674
- Vendor fix Red Hat Product Security RHSA-2026:58981 · 3 productsPlease consult the RHUI Technology Preview Release Notes at https://access.redhat.com/articles/7141172 for instructions on how to use this image set.
- Vendor fix Red Hat Product Security RHSA-2026:44481 · 5 productsThe container images provided by this release, apart from the installer, should be deployed using rhui-installer utility. See the official documentation for more details.
- Vendor fix Red Hat Product Security RHSA-2026:34102 · 2 productsThe Insights proxy container image provided here is downloaded by the Red Hat Insights proxy product RPM. Before applying this update, make sure all previously released errata relevant to your system have been applied.
- Vendor fix Red Hat Product Security RHSA-2026:33632 · 45 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
Advisories and patches
- gitlab.gnome.orgRelease Notes
- gitlab.gnome.orgRelease Notes
Detection
- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof of concept
- CISA-ADP (SSVC)PoC stated2024-08-22
- PoC-in-GitHubno public repository identifiedread 2026-12-03
- Metasploit modules
- none listed Metasploit Framework
Sources
- NVDCVE recordread 2026-10-23
- CISA-ADPSSVC decisionpoc2024-08-22
- CISA-ADPCVSS 3.17.52024-08-22
- CISA-ADPweakness (CWE)CWE-1222024-08-22
- FIRST EPSSEPSS score1.8 %2026-12-03
- OSVaffected packages—
- GitHub Advisoriesadvisory—
Identifiers
- AZL-42019same flawAzure Linux · MIT
- AZL-42027same flawAzure Linux · MIT
- EUVD-2024-34814same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- GHSA-vv62-jfwq-693vsame flawGitHub Advisory Database · CC-BY-4.0
- JLSEC-2025-84same flawJulia Security Advisories · CC-BY-4.0
- ALSA-2026:26354advisory covering several CVEsAlmaLinux · MIT
- ALSA-2026:28234advisory covering several CVEsAlmaLinux · MIT
- ALSA-2026:28254advisory covering several CVEsAlmaLinux · MIT
- DLA-4251-1advisory covering several CVEsDebian · LicenseRef-unstated
- DSA-5949-1advisory covering several CVEsDebian · LicenseRef-unstated
- MGASA-2024-0211advisory covering several CVEsMageia · LicenseRef-unstated
- OESA-2024-1641advisory covering several CVEsopenEuler · LicenseRef-unstated
- openSUSE-SU-2024:13971-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- RHSA-2026:26354advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2026:27736advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2026:27737advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2026:27739advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2026:28234advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2026:28254advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2026:33632advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2026:33633advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2026:33634advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2026:33635advisory covering several CVEsRed Hat · CC-BY-4.0
- RLSA-2026:26354advisory covering several CVEsRocky Linux · BSD-3-Clause
- RLSA-2026:28234advisory covering several CVEsRocky Linux · BSD-3-Clause
- RLSA-2026:28254advisory covering several CVEsRocky Linux · BSD-3-Clause
- SUSE-SU-2024:2267-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2024:2279-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2024:2288-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2024:2290-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2025:20043-1advisory covering several CVEsSUSE · LicenseRef-unstated
- USN-7240-1advisory covering several CVEsUbuntu
- USN-7302-1advisory covering several CVEsUbuntu
Technical details
- CVSS v3 vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- Published
- 2024-05-14
- Last modified
- 2026-10-15
- NVD status
- Modified
- GitHub advisory
- GHSA-vv62-jfwq-693v
Frequently asked questions
What is CVE-2024-34459?
Is CVE-2024-34459 actively exploited?
What is the CVSS score for CVE-2024-34459?
Running libxml2? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website checks · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
Sources for this record
- CISA ICS advisories (CSAF) · Public domain (US Government work)
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-vv62-jfwq-693v
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OpenCVE · OpenCVE terms of service · terms restrict redistribution
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- Red Hat Product Security (CSAF and VEX) · CC-BY-4.0
- Siemens ProductCERT (CSAF) · TLP:WHITE (commercial use and redistribution granted)
- CISA Vulnrichment · CC0-1.0