CVE-2024-25062: Use After Free

Published Feb 4, 2024
·
Updated

An issue was discovered in libxml2 before 2.11.7 and 2.12.x before 2.12.5. When using the XML Reader interface with DTD validation and XInclude expansion enabled, processing crafted XML documents can lead to an xmlValidatePopElement use-after-free.

Affected Software

4 affected componentsFixes available
debian/libxml2<=2.9.10+dfsg-6.7+deb11u4, <=2.9.10+dfsg-6.7+deb11u5, <=2.9.14+dfsg-1.3~deb12u1, <=2.9.14+dfsg-1.3
2.12.7+dfsg-3
Xmlsoft Libxml2<2.11.7
Xmlsoft Libxml2>=2.12.0<2.12.5
redhat/libxml2 2.11.7 and libxml2<2.12.5
2.12.5

Event History

Feb 4, 2024
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
Description
Data Sourced
via NVD·04:15 PM
DescriptionSeverityWeaknessAffected Software
Feb 5, 2024
Data Sourced
via Red Hat·04:29 AM
DescriptionSeverityAffected Software
Feb 26, 2024
Data Sourced
via Launchpad·05:11 PM
Description
Sep 13, 2024
Data Sourced
via Ubuntu·05:38 PM
RemedyDescriptionSeverityAffected Software
Feb 4, 2025
Data Sourced
via IBM·12:00 AM
DescriptionAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2024-25062?

CVE-2024-25062 is classified as a high severity vulnerability due to the potential for exploitation through crafted XML documents.

2

How do I fix CVE-2024-25062?

To address CVE-2024-25062, upgrade libxml2 to version 2.12.7 or later, or to 2.12.5 from Red Hat's distribution.

3

Which versions of libxml2 are affected by CVE-2024-25062?

Versions of libxml2 before 2.11.7 and between 2.12.0 and 2.12.5 are affected by CVE-2024-25062.

4

What type of vulnerability is CVE-2024-25062?

CVE-2024-25062 is a use-after-free vulnerability that occurs during XML processing with DTD validation and XInclude expansion.

5

Is CVE-2024-25062 exploitable remotely?

Yes, CVE-2024-25062 can be remotely exploited when processing maliciously crafted XML documents.

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