CVE-2024-40896
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...
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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- None
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
CVE List Score used
9.1
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.
- Record
CVE-2024-40896- CVSS 3.1
- 9.1 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H - Weakness
- CWE-611
- Updated
- 2026-11-02
EUVDEUVD-2024-38822
9.1
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.
- Record
EUVD-2024-38822- CVSS 3.1
- 9.1 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-6c2p-rqx3-w4px
9.1
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...
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.
- Record
GHSA-6c2p-rqx3-w4px- CVSS 3.1
- 9.1 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H - Weakness
- CWE-611
- Updated
- 2026-11-02
NVD
9.1
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.
- Record
CVE-2024-40896- CVSS 3.1
- 9.1 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H - Weakness
- CWE-611
- Updated
- 2026-11-02
OSVBELL-CVE-2024-40896
9.1
- Record
BELL-CVE-2024-40896- CVSS 3.1
- 9.1 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H - Updated
- 2026-11-02
OSV
9.1
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.
- Record
CVE-2024-40896- CVSS 3.1
- 9.1 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H - Weakness
- CWE-611
- Updated
- 2026-11-02
Show 12 moreShow less
OSVJLSEC-2026-468
9.1
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.
- Record
JLSEC-2026-468- CVSS 3.1
- 9.1 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H - Updated
- 2026-11-02
OSVOESA-2024-1950
9.1
libxml2 security update
This library allows to manipulate XML files. It includes support to read, modify and write XML and HTML files. There is DTDs support this includes parsing and validation even with complex DtDs, either at parse time or later once the document has been modified. The output can be a simple SAX stream or and in-memory DOM like representations. In this case one can use the built-in XPath and XPointer implementation to select sub nodes or ranges. A flexible Input/Output mechanism is available, with existing HTTP and FTP modules and combined to an URI library.
Security Fix(es):
(CVE-2024-40896)
- Record
OESA-2024-1950- CVSS 3.1
- 9.1 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H - Updated
- 2026-11-02
OSVRHBA-2025:6597
9.1
Red Hat Bug Fix Advisory: libxml2 bug fix and enhancement update
- Record
RHBA-2025:6597- CVSS 3.1
- 9.1 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H - Updated
- 2026-11-02
OSVAZL-54657 No score
CVE-2024-40896 affecting package libxml2 for versions less than 2.11.5-2
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.
- Record
AZL-54657- Updated
- 2026-11-05
OSVBIT-java-2024-40896 No score
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.
- Record
BIT-java-2024-40896- Updated
- 2026-11-02
OSVBIT-java-min-2024-40896 No score
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.
- Record
BIT-java-min-2024-40896- Updated
- 2026-11-02
OSVBIT-jre-2024-40896 No score
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.
- Record
BIT-jre-2024-40896- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:14241-1 No score
libxml2-2-2.12.9-1.1 on GA media
These are all security issues fixed in the libxml2-2-2.12.9-1.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:14241-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:14611-1 No score
libQt6Pdf6-6.8.1-2.1 on GA media
These are all security issues fixed in the libQt6Pdf6-6.8.1-2.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:14611-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2025:0024-1 No score
Security update for qt6-webengine
This update for qt6-webengine fixes the following issues:
- CVE-2024-40896: Fixed a XML external entity vulnerability related to libxml2 (boo#1234820)
- Record
openSUSE-SU-2025:0024-1- Updated
- 2026-11-02
OSVSUSE-SU-2025:20116-1 No score
Security update for libxml2
This update for libxml2 fixes the following issues:
- CVE-2024-40896: Fixed XML external entity vulnerability (bsc#1234812)
- Record
SUSE-SU-2025:20116-1- Updated
- 2026-11-02
OSVSUSE-SU-2025:20418-1 No score
Security update for libxml2
This update for libxml2 fixes the following issues:
- CVE-2024-40896: Fixed XXE vulnerability (bsc#1234812)
- Record
SUSE-SU-2025:20418-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
libxml2Azure Linux:3 |
before 2.11.5-2 | 2.11.5-2 |
libxml2Alpaquita:stream |
2.11.4-r0 up to 2.13.4-r0 | 2.13.4-r0 |
libxml2BellSoft Hardened Containers:stream |
2.11.4-r0 up to 2.13.4-r0 | 2.13.4-r0 |
javaBitnami |
before 1.8.0, 1.9.0 up to 8.0.461 | 1.8.08.0.461 |
java-minBitnami |
before 1.8.0, 1.9.0 up to 8.0.461 | 1.8.08.0.461 |
jreBitnami |
before 1.8.0, 1.9.0 up to 8.0.461 | 1.8.08.0.461 |
XML2_jllJulia |
2.11.5+0 up to 2.13.3+0 | 2.13.3+0 |
libxml2openEuler:24.03-LTS |
before 2.11.5-4.oe2403 | 2.11.5-4.oe2403 |
libxml2-debuginfoRed Hat:enterprise_linux:10.0 From an advisory covering 3 CVEs |
before 0:2.12.5-5.el10_0 | 0:2.12.5-5.el10_0 |
libxml2-debugsourceRed Hat:enterprise_linux:10.0 From an advisory covering 3 CVEs |
before 0:2.12.5-5.el10_0 | 0:2.12.5-5.el10_0 |
Show 13 moreShow less
| Package | Affected | Fixed |
|---|---|---|
libxml2-develRed Hat:enterprise_linux:10.0 From an advisory covering 3 CVEs |
before 0:2.12.5-5.el10_0 | 0:2.12.5-5.el10_0 |
python3-libxml2-debuginfoRed Hat:enterprise_linux:10.0 From an advisory covering 3 CVEs |
before 0:2.12.5-5.el10_0 | 0:2.12.5-5.el10_0 |
libxml2Red Hat:enterprise_linux:10.0 From an advisory covering 3 CVEs |
before 0:2.12.5-5.el10_0 | 0:2.12.5-5.el10_0 |
python3-libxml2Red Hat:enterprise_linux:10.0 From an advisory covering 3 CVEs |
before 0:2.12.5-5.el10_0 | 0:2.12.5-5.el10_0 |
libxml2-staticRed Hat:enterprise_linux:10.0 From an advisory covering 3 CVEs |
before 0:2.12.5-5.el10_0 | 0:2.12.5-5.el10_0 |
libxml2SUSE:Linux Micro 6.0 |
before 2.11.6-4.1 | 2.11.6-4.1 |
libxml2SUSE:Linux Micro 6.1 |
before 2.11.6-slfo.1.1_5.1 | 2.11.6-slfo.1.1_5.1 |
libxml2openSUSE:Tumbleweed |
before 2.12.9-1.1 | 2.12.9-1.1 |
qt6-webengineopenSUSE:Tumbleweed |
before 6.8.1-2.1 | 6.8.1-2.1 |
qt6-webengineSUSE:Package Hub 15 SP6 |
before 6.6.3-bp156.2.3.1 | 6.6.3-bp156.2.3.1 |
qt6-webengine-docsSUSE:Package Hub 15 SP6 |
before 6.6.3-bp156.2.3.1 | 6.6.3-bp156.2.3.1 |
qt6-webengineopenSUSE:Leap 15.6 |
before 6.6.3-bp156.2.3.1 | 6.6.3-bp156.2.3.1 |
qt6-webengine-docsopenSUSE:Leap 15.6 |
before 6.6.3-bp156.2.3.1 | 6.6.3-bp156.2.3.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected | ||
| facts | OSV | |
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2024-40896 is a critical vulnerability (CVSS 9.1) in Gnome Libxml2, published August 2, 2024. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.22%, the 68th percentile. Fixed in libxml2 2.11.5-2.
References
gitlab.gnome.org/GNOME/libxml2/-/issues/761
gitlab.gnome.org/GNOME/libxml2/-/commit/1a8932303969907f6572b1b6aac4081c56adb5c6
security.netapp.com/advisory/ntap-20250228-0004
nvd.nist.gov/vuln/detail/CVE-2024-40896
github.com/advisories/GHSA-6c2p-rqx3-w4px
docs.bell-sw.com/security/cves/CVE-2024-40896
Show 26 moreShow less
github.com/CVEProject/cvelistV5/tree/main/cves/2024/40xxx/CVE-2024-40896.json
openeuler.org/en/security/security-bulletins/detail?id=openEuler-SA-2024-1950
access.redhat.com/errata/RHBA-2025:6597
docs.redhat.com/en/documentation/red_hat_enterprise_linux/10/html/10.0_release_notes/index
security.access.redhat.com/data/csaf/v2/advisories/2025/rhba-2025_6597.json
access.redhat.com/security/cve/CVE-2024-40896
bugzilla.redhat.com/show_bug.cgi?id=2333871
cve.org/CVERecord?id=CVE-2024-40896
access.redhat.com/security/cve/CVE-2024-56171
bugzilla.redhat.com/show_bug.cgi?id=2346416
cve.org/CVERecord?id=CVE-2024-56171
nvd.nist.gov/vuln/detail/CVE-2024-56171
gitlab.gnome.org/GNOME/libxml2/-/issues/828
access.redhat.com/security/cve/CVE-2025-24928
bugzilla.redhat.com/show_bug.cgi?id=2346421
cve.org/CVERecord?id=CVE-2025-24928
nvd.nist.gov/vuln/detail/CVE-2025-24928
gitlab.gnome.org/GNOME/libxml2/-/issues/847
issues.oss-fuzz.com/issues/392687022
suse.com/support/update/announcement/2025/suse-su-202520116-1
bugzilla.suse.com/1234812
suse.com/security/cve/CVE-2024-40896
suse.com/support/update/announcement/2025/suse-su-202520418-1
lists.opensuse.org/archives/list/[email protected]/thread/VNFRSHS45PIJOVDOQPX33OOOOBMDTP7F
lists.opensuse.org/archives/list/[email protected]/thread/MJTWGGN25MWIFFI6LEBRJNH3QPOW4COP
bugzilla.suse.com/1234820