Breaking News: Hijacked Releases of Microsoft’s Official agent-framework Steals Azure and CI Credentials
Read the Report
Learn How MCP Is Bypassing a Decade of Cloud Security Best Practices
Read the Report
Are you exposed? Connect a repo in minutes.
Scan your repos free

CVE-2024-40896

libxml2: XXE vulnerability

Overview

Published
23 Dec 2024
Modified
17 Jun 2026
Critical CVE
4 Registry packages
37 OS packages
6 Linux distributions
Yes Fix available

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.

Source: OX vulnerability database

Severity

9.1 · CRITICAL

CVSS 3.1 base score, scored by NVD.

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
High

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

Weakness: CWE-611

Affected packages · 4

Packages affected by CVE-2024-40896
EcosystemPackageVulnerableFixed in
Bitnami java <1.8.0>=1.9.0, <8.0.461 1.8.08.0.461
Bitnami java-min <1.8.0>=1.9.0, <8.0.461 1.8.08.0.461
Bitnami jre <1.8.0>=1.9.0, <8.0.461 1.8.08.0.461
Julia XML2_jll >=2.11.5+0, <2.13.3+0 2.13.3+0

Open a package to see all its vulnerabilities.

Operating systems · 11 fixes

Azure Linux 1 release · 1 package

fixed 1
libxml2
Azure Linux fixes for CVE-2024-40896
ReleasePackageFixed in
3.0 libxml2 0:2.11.5-2.azl3

Photon OS 1 release · 1 package

fixed 1
libxml2
Photon OS fixes for CVE-2024-40896
ReleasePackageFixed in
5.0 libxml2 +2 2.12.6-3.ph5

SUSE Linux Enterprise Micro 2 releases · 1 package

fixed 2
libxml2-2
SUSE Linux Enterprise Micro fixes for CVE-2024-40896
ReleasePackageFixed inAdvisory
6.0 libxml2-2 +1 2.11.6-4.1 SUSE-SU-2025:20116-1
6.1 libxml2-2 +1 2.11.6-slfo.1.1_5.1 SUSE-SU-2025:20418-1

chainguard 1 release · 3 packages

fixed 3
openjdk-17-openj9 openjdk-8-openj9 openjdk-25-openj9
chainguard fixes for CVE-2024-40896
ReleasePackageFixed in
openjdk-17-openj9 +1 0.53.0-r0
openjdk-8-openj9 0.53.0-r1
openjdk-25-openj9 +1 0.59.0-r1

echo 1 release · 2 packages

fixed 2
libxml2-2-11-7 libxml2-2-9-1
echo fixes for CVE-2024-40896
ReleasePackageFixed in
libxml2-2-11-7 2.11.7+e1
libxml2-2-9-1 2.9.1+e1

openSUSE 1 release · 2 packages

fixed 2
libxml2-2 libqt6pdf6
openSUSE fixes for CVE-2024-40896
ReleasePackageFixed inAdvisory
Tumbleweed libxml2-2 +5 2.12.9-1.1 openSUSE-SU-2024:14241-1
Tumbleweed libqt6pdf6 +21 6.8.1-2.1 openSUSE-SU-2024:14611-1

References

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.