CVE-2024-40896: Analysis: libxml2 XXE due to type confusion

Published Dec 23, 2024
·
Updated

In libxml2 2.11 before 2.11.9, 2.12 before 2.12.9, and 2.13 before 2.13.3, the SAX parser can produce events for external entities even if custom SAX handlers try to override entity content (by setting "checked"). This makes classic XXE attacks possible.

Affected Software

18 affected componentsFixes available
debian/libxml2
2.9.10+dfsg-6.7+deb11u42.9.10+dfsg-6.7+deb11u52.9.14+dfsg-1.3~deb12u12.12.7+dfsg+really2.9.14-0.2
Xmlsoft Libxml2>=2.11.0<2.11.9
Xmlsoft Libxml2>=2.12.0<2.12.9
Xmlsoft Libxml2>=2.13.0<2.13.3
All of the following
NetApp Hci Compute Node
NetApp Hci Compute Node
NetApp Solidfire \& Hci Management Node
NetApp Solidfire \& Hci Storage Node
All of the following
NetApp H300s Firmware
NetApp H300s
All of the following
NetApp H410s Firmware
NetApp H410s
All of the following
NetApp H500s Firmware
NetApp H500s
All of the following
NetApp H700s Firmware
NetApp H700s
All of the following
NetApp H410c Firmware
NetApp H410c

Event History

Dec 23, 2024
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
DescriptionWeakness
Data Sourced
via NVD·05:15 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·05:15 PM
Affected Software
Jan 20, 2025
Data Sourced
via Ubuntu·06:12 PM
RemedyDescriptionSeverityAffected Software
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-40896?

CVE-2024-40896 is classified as a high severity vulnerability affecting libxml2.

2

How do I fix CVE-2024-40896?

To fix CVE-2024-40896, upgrade libxml2 to versions 2.11.9, 2.12.9, or 2.13.3 or later.

3

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

CVE-2024-40896 affects libxml2 versions prior to 2.11.9, 2.12.9, and 2.13.3.

4

What type of attack does CVE-2024-40896 allow?

CVE-2024-40896 makes classic XML External Entity (XXE) attacks possible.

5

What is the nature of the vulnerability in CVE-2024-40896?

CVE-2024-40896 involves the SAX parser producing events for external entities despite attempts to override entity content.

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