CVE-2022-40303

libxml2-utils: An issue was discovered in libxml2 before 2.10.3

CVE-2022-40303 is fixed in 16 products on 1 platform, first by DSA-5271-1, released November 5, 2022. It is not reported as exploited. Patch Radar priority: High.

High
CVSS
8.2
Medium
Exploitation
None reported
No vendor assessment
CISA KEV
Not listed
Not in the Known Exploited Vulnerabilities catalog
EPSS
0.4137
98th percentile

An issue was discovered in libxml2 before 2.10.3. When parsing a multi-gigabyte XML document with the XML_PARSE_HUGE parser option enabled, several integer counters can overflow. This results in an attempt to access an array at a negative 2GB offset, typically leading to a segmentation fault.

Where it's fixed

ProductFixed inFixReleased
Linux
libxml2 · Debian 11.6 (bullseye) 2.9.10+dfsg-6.7+deb11u3 DSA-5271-1 Nov 5, 2022
libxml2 · Debian 12.15 (bookworm) 2.9.14+dfsg-1.1 DEBIAN-CVE-2022-40303 Nov 23, 2022
libxml2 · Debian 13.5 (trixie) 2.9.14+dfsg-1.1 DEBIAN-CVE-2022-40303 Nov 23, 2022
libxml2 · Debian 14 2.9.14+dfsg-1.1 DEBIAN-CVE-2022-40303 Nov 23, 2022
libxml2 · RHEL 8 0:2.9.7-15.el8_7.1 RHSA-2023:0173 Jan 16, 2023
libxml2 · RHEL 9 0:2.9.13-3.el9_1 RHSA-2023:0338 Jan 23, 2023
libxml2 · Ubuntu 18.04.6 LTS (bionic) 2.9.4+dfsg1-6.1ubuntu1.8 libxml2 2.9.4+dfsg1-6.1ubuntu1.8 Nov 23, 2022
libxml2 · Ubuntu 20.04 LTS (focal) 2.9.10+dfsg-5ubuntu0.20.04.5 libxml2 2.9.10+dfsg-5ubuntu0.20.04.5 Nov 23, 2022
libxml2 · Ubuntu 22.04.1 LTS (jammy) 2.9.13+dfsg-1ubuntu0.2 libxml2 2.9.13+dfsg-1ubuntu0.2 Nov 23, 2022
libxml2 · almalinux 8 2.9.7-15.el8_7.1 ALSA-2023:0173 Jan 16, 2023
libxml2 · almalinux 9 2.9.13-3.el9_1 ALSA-2023:0338 Jan 23, 2023
libxml2 · amzn 2023 2.10.3-2.amzn2023.0.1 ALAS2023-2023-096 Feb 17, 2023
libxml2 · ol 8 0:2.9.7-15.el8_7.1 ELSA-2023-0173 Jan 16, 2023
libxml2 · ol 9 0:2.9.13-3.el9_1 ELSA-2023-0338 Jan 24, 2023
libxml2 · rocky 8 0:2.9.7-15.el8_7.1 RLSA-2023:0173 Jan 16, 2023
libxml2 · rocky 9 0:2.9.13-3.el9_1 RLSA-2023:0338 Jan 23, 2023
libxml2-debuginfo · amzn 2023 2.10.3-2.amzn2023.0.1 ALAS2023-2023-096 Feb 17, 2023
libxml2-debugsource · amzn 2023 2.10.3-2.amzn2023.0.1 ALAS2023-2023-096 Feb 17, 2023
libxml2-devel · RHEL 8 0:2.9.7-15.el8_7.1 RHSA-2023:0173 Jan 16, 2023
libxml2-devel · RHEL 9 0:2.9.13-3.el9_1 RHSA-2023:0338 Jan 23, 2023
libxml2-devel · almalinux 8 2.9.7-15.el8_7.1 ALSA-2023:0173 Jan 16, 2023
libxml2-devel · almalinux 9 2.9.13-3.el9_1 ALSA-2023:0338 Jan 23, 2023
libxml2-devel · amzn 2023 2.10.3-2.amzn2023.0.1 ALAS2023-2023-096 Feb 17, 2023
libxml2-devel · ol 8 0:2.9.7-15.el8_7.1 ELSA-2023-0173 Jan 16, 2023
libxml2-devel · ol 9 0:2.9.13-3.el9_1 ELSA-2023-0338 Jan 24, 2023
libxml2-static · amzn 2023 2.10.3-2.amzn2023.0.1 ALAS2023-2023-096 Feb 17, 2023
libxml2-utils · Ubuntu 18.04.6 LTS (bionic) 2.9.4+dfsg1-6.1ubuntu1.8 libxml2-utils 2.9.4+dfsg1-6.1ubuntu1.8 Nov 23, 2022
libxml2-utils · Ubuntu 20.04 LTS (focal) 2.9.10+dfsg-5ubuntu0.20.04.5 libxml2-utils 2.9.10+dfsg-5ubuntu0.20.04.5 Nov 23, 2022
libxml2-utils · Ubuntu 22.04.1 LTS (jammy) 2.9.13+dfsg-1ubuntu0.2 libxml2-utils 2.9.13+dfsg-1ubuntu0.2 Nov 23, 2022
python-libxml2 · Ubuntu 18.04.6 LTS (bionic) 2.9.4+dfsg1-6.1ubuntu1.8 python-libxml2 2.9.4+dfsg1-6.1ubuntu1.8 Nov 23, 2022
python-libxml2 · Ubuntu 20.04 LTS (focal) 2.9.10+dfsg-5ubuntu0.20.04.5 python-libxml2 2.9.10+dfsg-5ubuntu0.20.04.5 Nov 23, 2022
python3-libxml2 · RHEL 8 0:2.9.7-15.el8_7.1 RHSA-2023:0173 Jan 16, 2023
python3-libxml2 · RHEL 9 0:2.9.13-3.el9_1 RHSA-2023:0338 Jan 23, 2023
python3-libxml2 · Ubuntu 18.04.6 LTS (bionic) 2.9.4+dfsg1-6.1ubuntu1.8 python3-libxml2 2.9.4+dfsg1-6.1ubuntu1.8 Nov 23, 2022
python3-libxml2 · Ubuntu 20.04 LTS (focal) 2.9.10+dfsg-5ubuntu0.20.04.5 python3-libxml2 2.9.10+dfsg-5ubuntu0.20.04.5 Nov 23, 2022
python3-libxml2 · Ubuntu 22.04.1 LTS (jammy) 2.9.13+dfsg-1ubuntu0.2 python3-libxml2 2.9.13+dfsg-1ubuntu0.2 Nov 23, 2022
python3-libxml2 · almalinux 8 2.9.7-15.el8_7.1 ALSA-2023:0173 Jan 16, 2023
python3-libxml2 · almalinux 9 2.9.13-3.el9_1 ALSA-2023:0338 Jan 23, 2023
python3-libxml2 · amzn 2023 2.10.3-2.amzn2023.0.1 ALAS2023-2023-096 Feb 17, 2023
python3-libxml2 · ol 8 0:2.9.7-15.el8_7.1 ELSA-2023-0173 Jan 16, 2023
python3-libxml2 · ol 9 0:2.9.13-3.el9_1 ELSA-2023-0338 Jan 24, 2023
python3-libxml2-debuginfo · amzn 2023 2.10.3-2.amzn2023.0.1 ALAS2023-2023-096 Feb 17, 2023
xmlsec1 · amzn 2023 1.2.33-3.amzn2023.0.2 ALAS2023-2023-097 Feb 17, 2023
xmlsec1-debuginfo · amzn 2023 1.2.33-3.amzn2023.0.2 ALAS2023-2023-097 Feb 17, 2023
xmlsec1-debugsource · amzn 2023 1.2.33-3.amzn2023.0.2 ALAS2023-2023-097 Feb 17, 2023
xmlsec1-devel · amzn 2023 1.2.33-3.amzn2023.0.2 ALAS2023-2023-097 Feb 17, 2023
xmlsec1-openssl · amzn 2023 1.2.33-3.amzn2023.0.2 ALAS2023-2023-097 Feb 17, 2023
xmlsec1-openssl-debuginfo · amzn 2023 1.2.33-3.amzn2023.0.2 ALAS2023-2023-097 Feb 17, 2023
xmlsec1-openssl-devel · amzn 2023 1.2.33-3.amzn2023.0.2 ALAS2023-2023-097 Feb 17, 2023

Patch Radar data is free to use with attribution. Terms and how to credit it.

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.