CVEfocus › CVE database › CVE-2024-40896

CVE-2024-40896

CVSS 9.1 CriticalEPSS 1.3% (higher than 71% of CVEs)Published 2024-12-23Updated 2025-02-28Assigner: mitre

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.

CWE-611

What to do

Fixed builds are available from Red Hat: see the table below for the fixed version per release.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

4Fixed
16Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 24.04libxml2Not affected
vulnerable_code_not_present
Ubuntu 22.04libxml2Not affected
vulnerable_code_not_present
Red Hat Enterprise Linux 10libxml2Fixed0:2.12.5-5.el10_0RHBA-2025:6597
Red Hat Enterprise Linux 10libxml2-develFixed0:2.12.5-5.el10_0RHBA-2025:6597
Red Hat Enterprise Linux 10libxml2-staticFixed0:2.12.5-5.el10_0RHBA-2025:6597
Red Hat Enterprise Linux 10python3-libxml2Fixed0:2.12.5-5.el10_0RHBA-2025:6597
Red Hat Enterprise Linux 9libxml2Not affected
Red Hat Enterprise Linux 9libxml2-develNot affected
Red Hat Enterprise Linux 9python3-libxml2Not affected
Red Hat Enterprise Linux 8libxml2Not affected
Red Hat Enterprise Linux 8libxml2-develNot affected
Red Hat Enterprise Linux 8python3-libxml2Not affected
Red Hat Enterprise Linux 7libxml2Not affected
Red Hat Enterprise Linux 7libxml2-develNot affected
Red Hat Enterprise Linux 7libxml2-pythonNot affected
Red Hat Enterprise Linux 7libxml2-staticNot affected
Red Hat Enterprise Linux 6libxml2Not affected
Red Hat Enterprise Linux 6libxml2-develNot affected
Red Hat Enterprise Linux 6libxml2-pythonNot affected
Red Hat Enterprise Linux 6libxml2-staticNot affected

What the vendor says

As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.