CVE-2024-34459: High severity Libxml2 xmllint vulnerability

Published May 13, 2024
·
Updated

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 Software

22 affected componentsFixes available
Libxml2 xmllint<2.11.8
Libxml2 xmllint>2.12.0<2.12.7
Microsoft cbl2 libxml2 2.10.4-6
Microsoft azl3 libxml2 2.11.5-5
Microsoft azl3 libxml2 2.11.5-3
Microsoft cbl2 libxml2 2.10.4-3
Xmlsoft Libxml2<2.11.8
Xmlsoft Libxml2>=2.12.0<2.12.7
alpine/libxml2>=2.12.0<2.11.8-r0
2.11.8-r0
alpine/libxml2>=2.12.0<2.11.8-r0
2.11.8-r0
alpine/libxml2>=2.12.0<2.12.7-r0
2.12.7-r0
alpine/libxml2>=2.12.0<2.12.7-r0
2.12.7-r0
alpine/libxml2>=2.12.0<2.12.7-r0
2.12.7-r0
alpine/libxml2>=2.12.0<2.12.7-r0
2.12.7-r0
alpine/libxml2>=2.12.0<2.12.7-r0
2.12.7-r0
debian/libxml2<2.9.14+dfsg-1.3~deb12u2
2.9.14+dfsg-1.3~deb12u2
debian/libxml2<2.12.7+dfsg+really2.9.14-0.4
2.12.7+dfsg+really2.9.14-0.4
debian/libxml2<2.12.7+dfsg+really2.9.14-0.4
2.12.7+dfsg+really2.9.14-0.4
debian/libxml2
2.9.14+dfsg-1.3~deb12u62.9.14+dfsg-1.3~deb12u42.12.7+dfsg+really2.9.14-2.1+deb13u32.12.7+dfsg+really2.9.14-2.1+deb13u12.15.4+dfsg-1
redhat/libxml2<2.11.8
2.11.8
redhat/libxml2<2.12.7
2.12.7
IBM Cloud Pak for Data System (Yosemite 1.0)<=11.3.1.2-IF1 - 11.3.1.2-IF2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade redhat/libxml2 to a version that resolves this vulnerability.

    Fixed in 2.11.8
  2. Upgrade

    Upgrade redhat/libxml2 to a version that resolves this vulnerability.

    Fixed in 2.12.7
  3. Upgrade

    Upgrade alpine/libxml2 to a version that resolves this vulnerability.

    Fixed in 2.11.8-r0
  4. Upgrade

    Upgrade alpine/libxml2 to a version that resolves this vulnerability.

    Fixed in 2.12.7-r0
  5. Upgrade

    Upgrade debian/libxml2 to a version that resolves this vulnerability.

    Fixed in 2.9.14+dfsg-1.3~deb12u2
  6. Upgrade

    Upgrade debian/libxml2 to a version that resolves this vulnerability.

    Fixed in 2.12.7+dfsg+really2.9.14-0.4
  7. Upgrade

    Upgrade debian/libxml2 to a version that resolves this vulnerability.

    Fixed in 2.9.14+dfsg-1.3~deb12u6Fixed in 2.9.14+dfsg-1.3~deb12u4Fixed in 2.12.7+dfsg+really2.9.14-2.1+deb13u3Fixed in 2.12.7+dfsg+really2.9.14-2.1+deb13u1Fixed in 2.15.4+dfsg-1
  8. Upgrade

    Upgrade libxml2/xmllint to a version that resolves this vulnerability.

    Fixed in 2.11.8
  9. Upgrade

    Upgrade libxml2/xmllint to a version that resolves this vulnerability.

    Fixed in 2.12.7
  10. Upgrade

    Upgrade libxml2 (upstream patches) to a version that resolves this vulnerability.

    Patch 2876ac5392a4e891b81e40e592c3ac6cb46016ce
  11. Upgrade

    Upgrade libxml2 (upstream patches) to a version that resolves this vulnerability.

    Patch 3ad7f81624572ebd5b9e6058c9f67d38207c10e2
  12. Upgrade

    Upgrade libxml2 (upstream patches) to a version that resolves this vulnerability.

    Patch 8ddc7f13337c9fe7c6b6e616f404b0fffb8a5145

Event History

May 13, 2024
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
Description
May 14, 2024
Data Sourced
via NVD·03:39 PM
DescriptionSeverityWeaknessAffected Software
Data Sourced
via OSV·03:39 PM
DescriptionSeverityAffected Software
May 15, 2024
Data Sourced
via Red Hat·05:53 AM
DescriptionSeverityAffected Software
May 17, 2024
Data Sourced
via Microsoft·07:00 AM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·07:00 AM
Affected Software
Oct 21, 2026
Data Sourced
via IBM·12:00 AM
DescriptionAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

What is the severity of CVE-2024-34459?

CVE-2024-34459 is classified as a moderate severity vulnerability due to the potential for buffer over-read errors.

2

How do I fix CVE-2024-34459?

To fix CVE-2024-34459, upgrade xmllint to version 2.11.8 or 2.12.7 or later.

3

Which versions of xmllint are affected by CVE-2024-34459?

CVE-2024-34459 affects xmllint versions earlier than 2.11.8 and versions between 2.12.0 and 2.12.6.

4

What kind of issue does CVE-2024-34459 represent?

CVE-2024-34459 represents a buffer over-read vulnerability that affects the formatting of error messages.

5

Is there a known exploit for CVE-2024-34459?

As of now, there are no publicly reported exploits specifically targeting CVE-2024-34459.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203