Skip to content
OpenAdvisories
Critical · 9.1 CVE-2024-40896 EUVD-2024-38822GHSA-6c2p-rqx3-w4px

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 …

Published Dec 23, 2024 · Updated Feb 28, 2025 · Assigned by mitre

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.

Affected products

VendorProductAffectedFixed
libxml2 libxml2 2.11.0 – < 2.11.9, 2.12.0 – < 2.12.9, 2.13.0 – < 2.13.3 2.11.9

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
RHEL 10 libxml2 +3 2.12.5-5.el10_0 RHBA-2025:6597
ReleasePackageFixed inAdvisory
SLE Micro 6.1 libxml2 2.11.6-slfo.1.1_5.1 SUSE-SU-2025:20418-1
SLE Micro 6.0 libxml2 2.11.6-4.1 SUSE-SU-2025:20116-1
SUSE Package Hub 15 SP6 qt6-webengine +1 6.6.3-bp156.2.3.1 openSUSE-SU-2025:0024-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed libxml2 2.12.9-1.1 openSUSE-SU-2024:14241-1
openSUSE Tumbleweed qt6-webengine 6.8.1-2.1 openSUSE-SU-2024:14611-1
openSUSE Leap 15.6 qt6-webengine +1 6.6.3-bp156.2.3.1 openSUSE-SU-2025:0024-1

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 libxml2 2.11.5-2 —

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling openjdk-7-jre No fix yet —

Advisories 15

References