Skip to content
OpenAdvisories
High · 7.8 CVE-2022-40304 EUVD-2022-43601GHSA-g848-pppp-vg6f

An issue was discovered in libxml2 before 2.10.3. Certain invalid XML entity definitions can corrupt a hash table key, potentially leading …

Published Nov 23, 2022 · Updated Oct 14, 2026 · Assigned by mitre

Description

An issue was discovered in libxml2 before 2.10.3. Certain invalid XML entity definitions can corrupt a hash table key, potentially leading to subsequent logic errors. In one case, a double-free can be provoked.

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.9.14+dfsg-1.1 —
Debian 13 libxml2 2.9.14+dfsg-1.1 —
Debian 12 libxml2 2.9.14+dfsg-1.1 —
Debian 11 libxml2 2.9.10+dfsg-6.7+deb11u3 DSA-5271-1
Debian 10 libxml2 2.9.4+dfsg1-7+deb10u5 DLA-3172-1
ReleasePackageFixed inAdvisory
Ubuntu 22.04 LTS libxml2 2.9.13+dfsg-1ubuntu0.2 USN-5760-1
Ubuntu 20.04 LTS libxml2 2.9.10+dfsg-5ubuntu0.20.04.5 USN-5760-1
Ubuntu 18.04 LTS libxml2 2.9.4+dfsg1-6.1ubuntu1.8 USN-5760-1
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 16.04 LTS libxml2 2.9.3+dfsg1-1ubuntu0.7+esm4 USN-5760-2
Ubuntu Pro 14.04 LTS libxml2 2.9.1+dfsg1-3ubuntu4.13+esm4 USN-5760-2
ReleasePackageFixed inAdvisory
RHEL 9 libxml2 +2 2.9.13-3.el9_1 RHSA-2023:0338
RHEL 8 libxml2 +2 2.9.7-15.el8_7.1 RHSA-2023:0173
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
RHEL 8.6 EUS libxml2 +2 2.9.7-13.el8_6.4 RHSA-2024:0413

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 9 libxml2 +2 2.9.13-3.el9_1 ALSA-2023:0338
AlmaLinux 8 libxml2 +2 2.9.7-15.el8_7.1 ALSA-2023:0173

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 9 libxml2 2.9.13-3.el9_1 RLSA-2023:0338
Rocky Linux 8 libxml2 2.9.7-15.el8_7.1 RLSA-2023:0173
ReleasePackageFixed inAdvisory
SLES 15 SP4 libxml2 +1 2.9.14-150400.5.10.1 SUSE-SU-2022:3692-1
SLES 15 SP3 libxml2 +1 2.9.7-150000.3.51.1 SUSE-SU-2022:3871-1
SLES 15 SP2 libxml2 +1 2.9.7-150000.3.51.1 SUSE-SU-2022:3871-1
SLES 15 SP1 libxml2 +1 2.9.7-150000.3.51.1 SUSE-SU-2022:3871-1
SLES 15 libxml2 +1 2.9.7-150000.3.51.1 SUSE-SU-2022:3871-1
Show 23 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES 12 SP5 libxml2 2.9.4-46.59.2 SUSE-SU-2022:3717-1
SLES 12 SP5 python-libxml2 2.9.4-46.59.3 SUSE-SU-2022:3717-1
SLES 12 SP4 libxml2 2.9.4-46.59.2 SUSE-SU-2022:3717-1
SLES 12 SP4 python-libxml2 2.9.4-46.59.3 SUSE-SU-2022:3717-1
SLES 12 SP3 libxml2 2.9.4-46.59.2 SUSE-SU-2022:3717-1
SLES 12 SP3 python-libxml2 2.9.4-46.59.3 SUSE-SU-2022:3717-1
SLES 12 SP2 libxml2 2.9.4-46.59.2 SUSE-SU-2022:3717-1
SLES 12 SP2 python-libxml2 2.9.4-46.59.3 SUSE-SU-2022:3717-1
SLES 2 python-libxml2-python 2.9.7-150000.3.51.1 SUSE-SU-2022:3871-1
SLES for SAP 15 SP2 libxml2 +1 2.9.7-150000.3.51.1 SUSE-SU-2022:3871-1
SLES for SAP 15 SP1 libxml2 +1 2.9.7-150000.3.51.1 SUSE-SU-2022:3871-1
SLES for SAP 15 libxml2 +1 2.9.7-150000.3.51.1 SUSE-SU-2022:3871-1
SLES for SAP 12 SP5 libxml2 2.9.4-46.59.2 SUSE-SU-2022:3717-1
SLES for SAP 12 SP5 python-libxml2 2.9.4-46.59.3 SUSE-SU-2022:3717-1
SLES for SAP 12 SP4 libxml2 2.9.4-46.59.2 SUSE-SU-2022:3717-1
SLES for SAP 12 SP4 python-libxml2 2.9.4-46.59.3 SUSE-SU-2022:3717-1
SLE Micro 5.3 libxml2 +1 2.9.14-150400.5.10.1 SUSE-SU-2022:3692-1
SLE Micro 5.2 libxml2 +1 2.9.7-150000.3.51.1 SUSE-SU-2022:3871-1
SLE Micro 5.1 libxml2 2.9.7-150000.3.51.1 SUSE-SU-2022:3871-1
SLE HPC 15 SP2 libxml2 +1 2.9.7-150000.3.51.1 SUSE-SU-2022:3871-1
SLE HPC 15 SP1 libxml2 +1 2.9.7-150000.3.51.1 SUSE-SU-2022:3871-1
SLE HPC 15 libxml2 +1 2.9.7-150000.3.51.1 SUSE-SU-2022:3871-1
SUSE OpenStack Cloud Crowbar 9 libxml2 2.9.4-46.59.2 SUSE-SU-2022:3717-1
SUSE OpenStack Cloud Crowbar 9 python-libxml2 2.9.4-46.59.3 SUSE-SU-2022:3717-1
SUSE OpenStack Cloud 9 libxml2 2.9.4-46.59.2 SUSE-SU-2022:3717-1
SUSE OpenStack Cloud 9 python-libxml2 2.9.4-46.59.3 SUSE-SU-2022:3717-1
SUSE Manager Server 4.1 libxml2 +1 2.9.7-150000.3.51.1 SUSE-SU-2022:3871-1
SUSE Manager Retail Branch Server 4.1 libxml2 +1 2.9.7-150000.3.51.1 SUSE-SU-2022:3871-1
SUSE Manager Proxy 4.1 libxml2 +1 2.9.7-150000.3.51.1 SUSE-SU-2022:3871-1
SUSE Enterprise Storage 7 libxml2 +1 2.9.7-150000.3.51.1 SUSE-SU-2022:3871-1
SUSE Enterprise Storage 6 libxml2 +1 2.9.7-150000.3.51.1 SUSE-SU-2022:3871-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed libxml2 2.10.3-1.1 openSUSE-SU-2024:12419-1
openSUSE Leap 15.4 libxml2 +1 2.9.14-150400.5.10.1 SUSE-SU-2022:3692-1
openSUSE Leap 15.4 python-libxml2-python 2.9.7-150000.3.51.1 SUSE-SU-2022:3871-1
openSUSE Leap 15.3 libxml2 +1 2.9.7-150000.3.51.1 SUSE-SU-2022:3871-1
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
openSUSE Leap Micro 5.2 libxml2 +1 2.9.7-150000.3.51.1 SUSE-SU-2022:3871-1
ReleasePackageFixed inAdvisory
Alpine v3.24 libxml2 2.10.3-r0 —
Alpine v3.23 libxml2 2.10.3-r0 —
Alpine v3.22 libxml2 2.10.3-r0 —
Alpine v3.21 libxml2 2.10.3-r0 —
Alpine v3.20 libxml2 2.10.3-r0 —
Show 7 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 libxml2 2.10.3-r0 —
Alpine v3.18 libxml2 2.10.3-r0 —
Alpine v3.17 libxml2 2.10.3-r0 —
Alpine v3.16 libxml2 2.9.14-r2 —
Alpine v3.15 libxml2 2.9.14-r2 —
Alpine v3.14 libxml2 2.9.14-r2 —
Alpine v3.13 libxml2 2.9.14-r2 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 libxml2 +3 2.10.3-2.amzn2023.0.1 ALAS2023-2023-096
Amazon Linux 2023 xmlsec1 +3 1.2.33-3.amzn2023.0.2 ALAS2023-2023-097
Amazon Linux 2 libxml2 +3 2.9.1-6.amzn2.5.7 ALAS2-2023-1996

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 2 (CBL-Mariner) libxml2 2.10.3-1 —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 9 libxml2 +2 2.9.13-3.el9_1 ELSA-2023-0338
Oracle Linux 8 libxml2 +2 2.9.7-15.el8_7.1 ELSA-2023-0173

Advisories 49

References