Every CVE Search/ Get API key

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...

9.1 CriticalFix available

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

1.22%Up 1.2 points since Dec 24, 2024
90%50%10%1%

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 CriticalCVSS: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 CriticalCVSS: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 CriticalCVSS: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 CriticalCVSS: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 CriticalCVSS: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 CriticalCVSS: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 CriticalCVSS: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 CriticalCVSS: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 CriticalCVSS: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

Affected packages
PackageAffectedFixed
libxml2
Azure Linux:3
before 2.11.5-2
2.11.5-2
libxml2
Alpaquita:stream
2.11.4-r0 up to 2.13.4-r0
2.13.4-r0
libxml2
BellSoft Hardened Containers:stream
2.11.4-r0 up to 2.13.4-r0
2.13.4-r0
java
Bitnami
before 1.8.0, 1.9.0 up to 8.0.461
1.8.08.0.461
java-min
Bitnami
before 1.8.0, 1.9.0 up to 8.0.461
1.8.08.0.461
jre
Bitnami
before 1.8.0, 1.9.0 up to 8.0.461
1.8.08.0.461
XML2_jll
Julia
2.11.5+0 up to 2.13.3+0
2.13.3+0
libxml2
openEuler:24.03-LTS
before 2.11.5-4.oe2403
2.11.5-4.oe2403
libxml2-debuginfo
Red 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-debugsource
Red 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
Affected packages
PackageAffectedFixed
libxml2-devel
Red 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-debuginfo
Red 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
Red 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
Red 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-static
Red 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
SUSE:Linux Micro 6.0
before 2.11.6-4.1
2.11.6-4.1
libxml2
SUSE:Linux Micro 6.1
before 2.11.6-slfo.1.1_5.1
2.11.6-slfo.1.1_5.1
libxml2
openSUSE:Tumbleweed
before 2.12.9-1.1
2.12.9-1.1
qt6-webengine
openSUSE:Tumbleweed
before 6.8.1-2.1
6.8.1-2.1
qt6-webengine
SUSE:Package Hub 15 SP6
before 6.6.3-bp156.2.3.1
6.6.3-bp156.2.3.1
qt6-webengine-docs
SUSE:Package Hub 15 SP6
before 6.6.3-bp156.2.3.1
6.6.3-bp156.2.3.1
qt6-webengine
openSUSE:Leap 15.6
before 6.6.3-bp156.2.3.1
6.6.3-bp156.2.3.1
qt6-webengine-docs
openSUSE:Leap 15.6
before 6.6.3-bp156.2.3.1
6.6.3-bp156.2.3.1

History

History
RecordedChangedSources
affected
factsOSV
first indexedCVE 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

Show 26 moreShow less
MoveEnter Open