CVE-2022-29824

libxml2: In libxml2 before 2.9.14, several buffer handling functions in buf.c (xmlBuf*) and tree.c (xmlBuffer*) don't check fo...

CVE-2022-29824 is fixed in 9 products on 1 platform, first by libxml2 2.9.4+dfsg1-6.1ubuntu1.6, released May 2, 2022. It is not reported as exploited. Patch Radar priority: High.

High
CVSS
7.4
Medium
Exploitation
None reported
No vendor assessment
CISA KEV
Not listed
Not in the Known Exploited Vulnerabilities catalog
EPSS
0.0375
89th percentile

In libxml2 before 2.9.14, several buffer handling functions in buf.c (xmlBuf*) and tree.c (xmlBuffer*) don't check for integer overflows. This can result in out-of-bounds memory writes. Exploitation requires a victim to open a crafted, multi-gigabyte XML file. Other software using libxml2's buffer functions, for example libxslt through 1.1.35, is affected as well.

Where it's fixed

ProductFixed inFixReleased
Linux
libxml2 · Debian 11.6 (bullseye) 2.9.10+dfsg-6.7+deb11u2 DSA-5142-1 May 22, 2022
libxml2 · Debian 12.15 (bookworm) 2.9.14+dfsg-1 DEBIAN-CVE-2022-29824 May 3, 2022
libxml2 · Debian 13.5 (trixie) 2.9.14+dfsg-1 DEBIAN-CVE-2022-29824 May 3, 2022
libxml2 · Debian 14 2.9.14+dfsg-1 DEBIAN-CVE-2022-29824 May 3, 2022
libxml2 · RHEL 8 0:2.9.7-13.el8_6.1 RHSA-2022:5317 Jun 30, 2022
libxml2 · RHEL 9 0:2.9.13-1.el9_0.1 RHSA-2022:5250 Jul 1, 2022
libxml2 · Ubuntu 18.04.6 LTS (bionic) 2.9.4+dfsg1-6.1ubuntu1.6 libxml2 2.9.4+dfsg1-6.1ubuntu1.6 May 2, 2022
libxml2 · Ubuntu 20.04 LTS (focal) 2.9.10+dfsg-5ubuntu0.20.04.3 libxml2 2.9.10+dfsg-5ubuntu0.20.04.3 May 2, 2022
libxml2 · Ubuntu 22.04.1 LTS (jammy) 2.9.13+dfsg-1ubuntu0.1 libxml2 2.9.13+dfsg-1ubuntu0.1 May 2, 2022
libxml2 · amzn 2023 2.10.3-2.amzn2023.0.1 ALAS2023-2023-096 Feb 17, 2023
libxml2 · ol 8 0:2.9.7-13.el8_6.1 ELSA-2022-5317 Jul 1, 2022
libxml2 · ol 9 0:2.9.13-1.el9_0.1 ELSA-2022-5250 Jun 30, 2022
libxml2 · rocky 8 0:2.9.7-13.el8_6.1 RLSA-2022:5317 Jun 28, 2022
libxml2 · rocky 9 0:2.9.13-1.el9_0.1 RLSA-2022:5250 Jun 28, 2022
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-13.el8_6.1 RHSA-2022:5317 Jun 30, 2022
libxml2-devel · RHEL 9 0:2.9.13-1.el9_0.1 RHSA-2022:5250 Jul 1, 2022
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-13.el8_6.1 ELSA-2022-5317 Jul 1, 2022
libxml2-devel · ol 9 0:2.9.13-1.el9_0.1 ELSA-2022-5250 Jun 30, 2022
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.6 libxml2-utils 2.9.4+dfsg1-6.1ubuntu1.6 May 2, 2022
libxml2-utils · Ubuntu 20.04 LTS (focal) 2.9.10+dfsg-5ubuntu0.20.04.3 libxml2-utils 2.9.10+dfsg-5ubuntu0.20.04.3 May 2, 2022
libxml2-utils · Ubuntu 22.04.1 LTS (jammy) 2.9.13+dfsg-1ubuntu0.1 libxml2-utils 2.9.13+dfsg-1ubuntu0.1 May 2, 2022
python-libxml2 · Ubuntu 18.04.6 LTS (bionic) 2.9.4+dfsg1-6.1ubuntu1.6 python-libxml2 2.9.4+dfsg1-6.1ubuntu1.6 May 2, 2022
python-libxml2 · Ubuntu 20.04 LTS (focal) 2.9.10+dfsg-5ubuntu0.20.04.3 python-libxml2 2.9.10+dfsg-5ubuntu0.20.04.3 May 2, 2022
python3-libxml2 · RHEL 8 0:2.9.7-13.el8_6.1 RHSA-2022:5317 Jun 30, 2022
python3-libxml2 · RHEL 9 0:2.9.13-1.el9_0.1 RHSA-2022:5250 Jul 1, 2022
python3-libxml2 · Ubuntu 18.04.6 LTS (bionic) 2.9.4+dfsg1-6.1ubuntu1.6 python3-libxml2 2.9.4+dfsg1-6.1ubuntu1.6 May 2, 2022
python3-libxml2 · Ubuntu 20.04 LTS (focal) 2.9.10+dfsg-5ubuntu0.20.04.3 python3-libxml2 2.9.10+dfsg-5ubuntu0.20.04.3 May 2, 2022
python3-libxml2 · Ubuntu 22.04.1 LTS (jammy) 2.9.13+dfsg-1ubuntu0.1 python3-libxml2 2.9.13+dfsg-1ubuntu0.1 May 2, 2022
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-13.el8_6.1 ELSA-2022-5317 Jul 1, 2022
python3-libxml2 · ol 9 0:2.9.13-1.el9_0.1 ELSA-2022-5250 Jun 30, 2022
python3-libxml2-debuginfo · amzn 2023 2.10.3-2.amzn2023.0.1 ALAS2023-2023-096 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.