CVE & CISA-KEV Catalog

CVE-2024-40896

CRITICAL
9.1
CVSS v3
NVD

Description

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.

How to fix

Remediation Available
libxml2Rocky
Fixed in:0:2.12.5-5.el10_0RHBA-2025:6597
Fixed in:0:2.12.5-5.el10_0RHBA-2025:6597
Fixed in:0:2.12.5-5.el10_0RHBA-2025:6597
Fixed in:0:2.12.5-5.el10_0RHBA-2025:6597
Fixed in:0:2.12.5-5.el10_0RHBA-2025:6597
libxml2Red Hat / RHEL
Fixed in:0:2.12.5-5.el10_0RHBA-2025:6597
Fixed in:0:2.12.5-5.el10_0RHBA-2025:6597
Fixed in:0:2.12.5-5.el10_0RHBA-2025:6597
Fixed in:0:2.12.5-5.el10_0RHBA-2025:6597
Fixed in:0:2.12.5-5.el10_0RHBA-2025:6597
libxml2-debuginfoRocky
Fixed in:0:2.12.5-5.el10_0RHBA-2025:6597
Fixed in:0:2.12.5-5.el10_0RHBA-2025:6597
Fixed in:0:2.12.5-5.el10_0RHBA-2025:6597
Fixed in:0:2.12.5-5.el10_0RHBA-2025:6597
libxml2-debuginfoRed Hat / RHEL
Fixed in:0:2.12.5-5.el10_0RHBA-2025:6597
Fixed in:0:2.12.5-5.el10_0RHBA-2025:6597
Fixed in:0:2.12.5-5.el10_0RHBA-2025:6597
Fixed in:0:2.12.5-5.el10_0RHBA-2025:6597
libxml2-debugsourceRocky
Fixed in:0:2.12.5-5.el10_0RHBA-2025:6597
Fixed in:0:2.12.5-5.el10_0RHBA-2025:6597
Fixed in:0:2.12.5-5.el10_0RHBA-2025:6597
Fixed in:0:2.12.5-5.el10_0RHBA-2025:6597
libxml2-debugsourceRed Hat / RHEL
Fixed in:0:2.12.5-5.el10_0RHBA-2025:6597
Fixed in:0:2.12.5-5.el10_0RHBA-2025:6597
Fixed in:0:2.12.5-5.el10_0RHBA-2025:6597
Fixed in:0:2.12.5-5.el10_0RHBA-2025:6597
libxml2-develRocky
Fixed in:0:2.12.5-5.el10_0RHBA-2025:6597
Fixed in:0:2.12.5-5.el10_0RHBA-2025:6597
Fixed in:0:2.12.5-5.el10_0RHBA-2025:6597
Fixed in:0:2.12.5-5.el10_0RHBA-2025:6597
libxml2-develRed Hat / RHEL
Fixed in:0:2.12.5-5.el10_0RHBA-2025:6597
Fixed in:0:2.12.5-5.el10_0RHBA-2025:6597
Fixed in:0:2.12.5-5.el10_0RHBA-2025:6597
Fixed in:0:2.12.5-5.el10_0RHBA-2025:6597
libxml2-staticRed Hat / RHEL
Fixed in:0:2.12.5-5.el10_0RHBA-2025:6597
Fixed in:0:2.12.5-5.el10_0RHBA-2025:6597
Fixed in:0:2.12.5-5.el10_0RHBA-2025:6597
Fixed in:0:2.12.5-5.el10_0RHBA-2025:6597
libxml2-staticRocky
Fixed in:0:2.12.5-5.el10_0RHBA-2025:6597
Fixed in:0:2.12.5-5.el10_0RHBA-2025:6597
Fixed in:0:2.12.5-5.el10_0RHBA-2025:6597
Fixed in:0:2.12.5-5.el10_0RHBA-2025:6597
python3-libxml2Red Hat / RHEL
Fixed in:0:2.12.5-5.el10_0RHBA-2025:6597
Fixed in:0:2.12.5-5.el10_0RHBA-2025:6597
Fixed in:0:2.12.5-5.el10_0RHBA-2025:6597
Fixed in:0:2.12.5-5.el10_0RHBA-2025:6597
python3-libxml2Rocky
Fixed in:0:2.12.5-5.el10_0RHBA-2025:6597
Fixed in:0:2.12.5-5.el10_0RHBA-2025:6597
Fixed in:0:2.12.5-5.el10_0RHBA-2025:6597
Fixed in:0:2.12.5-5.el10_0RHBA-2025:6597
python3-libxml2-debuginfoRed Hat / RHEL
Fixed in:0:2.12.5-5.el10_0RHBA-2025:6597
Fixed in:0:2.12.5-5.el10_0RHBA-2025:6597
Fixed in:0:2.12.5-5.el10_0RHBA-2025:6597
Fixed in:0:2.12.5-5.el10_0RHBA-2025:6597
python3-libxml2-debuginfoRocky
Fixed in:0:2.12.5-5.el10_0RHBA-2025:6597
Fixed in:0:2.12.5-5.el10_0RHBA-2025:6597
Fixed in:0:2.12.5-5.el10_0RHBA-2025:6597
Fixed in:0:2.12.5-5.el10_0RHBA-2025:6597

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityNone
IntegrityHigh
AvailabilityHigh

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H

Exploit Intelligence

1.19%probability of exploitation in 30 days
64thpercentile

Moderate risk: more likely to be exploited than 64% of all known CVEs.

References

Third-Party Advisory1

Related Vulnerabilities

Other CWE-611 (XML External Entity (XXE)) vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2024-34102Critical9.8100%KEVFix
CVE-2019-9670Critical9.8100%KEVFix
CVE-2022-28219Critical9.897%--
CVE-2024-22024High8.395%--
CVE-2024-38653High7.592%--
CVE-2017-12629Critical9.892%-Fix
Embed a live status badge for CVE-2024-40896
CVE-2024-40896 severity badge

Markdown

[![CVE-2024-40896](https://tridentstack.com/cve/badge/CVE-2024-40896.svg)](https://tridentstack.com/cve/CVE-2024-40896)

HTML

<a href="https://tridentstack.com/cve/CVE-2024-40896"><img src="https://tridentstack.com/cve/badge/CVE-2024-40896.svg" alt="CVE-2024-40896"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2025-11-25.