Skip to content
OpenAdvisories
High · 7.5 CVE-2024-25062 EUVD-2024-22424GHSA-x77r-6xxm-wjmx

An issue was discovered in libxml2 before 2.11.7 and 2.12.x before 2.12.5. When using the XML Reader interface with DTD validation and XInc…

Published Feb 4, 2024 · Updated Oct 15, 2026 · Assigned by mitre

Description

An issue was discovered in libxml2 before 2.11.7 and 2.12.x before 2.12.5. When using the XML Reader interface with DTD validation and XInclude expansion enabled, processing crafted XML documents can lead to an xmlValidatePopElement use-after-free.

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
Debian 14 libxml2 2.12.7+dfsg+really2.9.14-1 —
Debian 13 libxml2 2.12.7+dfsg+really2.9.14-1 —
Debian 12 libxml2 2.9.14+dfsg-1.3~deb12u2 DSA-5949-1
Debian 11 libxml2 2.9.10+dfsg-6.7+deb11u6 DLA-4064-1
ReleasePackageFixed inAdvisory
Ubuntu 22.04 LTS libxml2 2.9.13+dfsg-1ubuntu0.4 USN-6658-1
Ubuntu 20.04 LTS libxml2 2.9.10+dfsg-5ubuntu0.20.04.7 USN-6658-1
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 18.04 LTS libxml2 2.9.4+dfsg1-6.1ubuntu1.9+esm1 USN-6658-2
Ubuntu Pro 16.04 LTS libxml2 2.9.3+dfsg1-1ubuntu0.7+esm6 USN-6658-2
Ubuntu Pro 14.04 LTS libxml2 2.9.1+dfsg1-3ubuntu4.13+esm6 USN-6658-2
ReleasePackageFixed inAdvisory
RHEL 9 libxml2 +2 2.9.13-6.el9_4 RHSA-2024:2679
RHEL 8 libxml2 +2 2.9.7-18.el8_10.1 RHSA-2024:3626
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
RHEL 9.2 EUS libxml2 +2 2.9.13-3.el9_2.3 RHSA-2024:3625
RHEL 8.8 EUS libxml2 +2 2.9.7-16.el8_8.4 RHSA-2024:3303
RHEL 8.6 EUS libxml2 +2 2.9.7-13.el8_6.5 RHSA-2024:3299

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 9 libxml2 +2 2.9.13-6.el9_4 ALSA-2024:2679
AlmaLinux 8 libxml2 +2 2.9.7-18.el8_10.1 ALSA-2024:3626

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 9 libxml2 2.9.13-6.el9_4 RLSA-2024:2679
Rocky Linux 8 libxml2 2.9.7-18.el8_10.1 RLSA-2024:3626
ReleasePackageFixed inAdvisory
SLES 15 SP5 libxml2 +1 2.10.3-150500.5.14.1 SUSE-SU-2024:0555-1
SLES 15 SP4 libxml2 +1 2.9.14-150400.5.28.1 SUSE-SU-2024:0613-2
SLES 15 SP3 libxml2 +1 2.9.7-150000.3.66.1 SUSE-SU-2024:0461-2
SLES 15 SP2 libxml2 +1 2.9.7-150000.3.66.1 SUSE-SU-2024:0461-2
SLES 12 SP5 libxml2 +1 2.9.4-46.71.1 SUSE-SU-2024:0556-1
Show 16 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES 3 libxml2-python 2.10.3-150500.5.14.1 SUSE-SU-2024:0555-1
SLES for SAP 15 SP4 libxml2 +1 2.9.14-150400.5.28.1 SUSE-SU-2024:0613-2
SLES for SAP 15 SP3 libxml2 +1 2.9.7-150000.3.66.1 SUSE-SU-2024:0461-2
SLES for SAP 15 SP2 libxml2 +1 2.9.7-150000.3.66.1 SUSE-SU-2024:0461-2
SLES for SAP 12 SP5 libxml2 +1 2.9.4-46.71.1 SUSE-SU-2024:0556-1
SLE Micro 5.5 libxml2 +1 2.10.3-150500.5.14.1 SUSE-SU-2024:0555-1
SLE Micro 5.4 libxml2 +1 2.9.14-150400.5.28.1 SUSE-SU-2024:0613-2, SUSE-SU-2024:0613-1
SLE Micro 5.3 libxml2 +1 2.9.14-150400.5.28.1 SUSE-SU-2024:0613-2, SUSE-SU-2024:0613-1
SLE Micro 5.2 libxml2 +1 2.9.7-150000.3.66.1 SUSE-SU-2024:0461-2, SUSE-SU-2024:0461-1
SLE Micro 5.1 libxml2 2.9.7-150000.3.66.1 SUSE-SU-2024:0461-2, SUSE-SU-2024:0461-1
SLE HPC 15 SP4 libxml2 +1 2.9.14-150400.5.28.1 SUSE-SU-2024:0613-2
SLE HPC 15 SP3 libxml2 +1 2.9.7-150000.3.66.1 SUSE-SU-2024:0461-2
SLE HPC 15 SP2 libxml2 +1 2.9.7-150000.3.66.1 SUSE-SU-2024:0461-2
SUSE Manager Server 4.3 libxml2 +1 2.9.14-150400.5.28.1 SUSE-SU-2024:0613-2
SUSE Manager Proxy 4.3 libxml2 +1 2.9.14-150400.5.28.1 SUSE-SU-2024:0613-2
SUSE Enterprise Storage 7.1 libxml2 +1 2.9.7-150000.3.66.1 SUSE-SU-2024:0461-2
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed libxml2 2.11.6-2.1 openSUSE-SU-2024:13676-1
openSUSE Leap 15.5 libxml2 +1 2.10.3-150500.5.14.1 SUSE-SU-2024:0555-1
openSUSE Leap 15.5 python-libxml2-python 2.9.7-150000.3.66.1 SUSE-SU-2024:0461-2, SUSE-SU-2024:0461-1
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
openSUSE Leap Micro 5.4 libxml2 +1 2.9.14-150400.5.28.1 SUSE-SU-2024:0613-2, SUSE-SU-2024:0613-1
openSUSE Leap Micro 5.3 libxml2 +1 2.9.14-150400.5.28.1 SUSE-SU-2024:0613-2, SUSE-SU-2024:0613-1
ReleasePackageFixed inAdvisory
Alpine v3.24 libxml2 2.12.5-r0 —
Alpine v3.24 qt6-qtwebengine 6.6.3-r1 —
Alpine v3.23 libxml2 2.12.5-r0 —
Alpine v3.23 qt6-qtwebengine 6.6.3-r1 —
Alpine v3.22 libxml2 2.12.5-r0 —
Alpine v3.22 qt6-qtwebengine 6.6.3-r1 —
Alpine v3.21 libxml2 2.12.5-r0 —
Alpine v3.21 qt6-qtwebengine 6.6.3-r1 —
Alpine v3.20 libxml2 2.12.5-r0 —
Alpine v3.20 qt6-qtwebengine 6.6.3-r1 —
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 libxml2 2.11.7-r0 —
Alpine v3.19 qt6-qtwebengine 6.6.1-r9 —
Alpine v3.18 libxml2 2.11.7-r0 —

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 libxml2 2.11.5-4 —
Azure Linux 2 (CBL-Mariner) libxml2 2.10.4-4 —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 9 libxml2 +2 2.9.13-6.el9_4 ELSA-2024-2679
Oracle Linux 8 libxml2 +2 2.9.7-18.el8_10.1 ELSA-2024-3626

Wolfi

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

Advisories 45

References