CVE-2024-40896
libxml2: XXE vulnerability
Overview
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
| Ecosystem | Package | Vulnerable | Fixed 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
| Release | Package | Fixed in |
|---|---|---|
| 3.0 | libxml2 | 0:2.11.5-2.azl3 |
Photon OS 1 release · 1 package
fixed 1
libxml2
| Release | Package | Fixed in |
|---|---|---|
| 5.0 | libxml2 +2 | 2.12.6-3.ph5 |
SUSE Linux Enterprise Micro 2 releases · 1 package
fixed 2
libxml2-2
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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
| Release | Package | Fixed 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
| Release | Package | Fixed 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
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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
- access.redhat.com https://access.redhat.com/security/cve/CVE-2024-40896
- gitlab.gnome.org https://gitlab.gnome.org/GNOME/libxml2/-/commit/1a8932303969907f6572b1b6aac4081c56adb5c6
- gitlab.gnome.org https://gitlab.gnome.org/GNOME/libxml2/-/issues/761
- linux.oracle.com https://linux.oracle.com/cve/CVE-2024-40896.html
- linux.oracle.com https://linux.oracle.com/errata/ELBA-2025-6597.html
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2024-40896
- security.netapp.com https://security.netapp.com/advisory/ntap-20250228-0004/
- ubuntu.com https://ubuntu.com/security/notices/USN-7215-1
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2024-40896
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.