# CVE-2022-2309: python3-lxml: lxml is an XML processing library providing access to libxml2 and libxslt libraries using the Python ElementTree API

CVE-2022-2309 is fixed in 9 products on 1 platform, first by DEBIAN-CVE-2022-2309, released July 5, 2022. It is not reported as exploited. Patch Radar priority: High.

- Web page: https://patchblox.com/security/cve/CVE-2022-2309
- Priority: High
- CVSS: 7.5 (Moderate)
- EPSS: 0.0245
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Jul 5, 2022

## Description

lxml is an XML processing library providing access to libxml2 and libxslt libraries using the Python ElementTree API.   Security Fix(es):  * lxml: NULL Pointer Dereference in lxml (CVE-2022-2309)  For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.  Additional Changes:  For detailed information on changes in this release, see the Red Hat Enterprise Linux 9.1 Release Notes linked from the References section.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | libxml2 Debian 12.15 (bookworm) | 2.9.14+dfsg-1.3~deb12u1 | [DEBIAN-CVE-2022-2309](https://patchblox.com/security/data/fix/linux/debian-cve-2022-2309.md) | Jul 5, 2022 |
| Linux | libxml2 Debian 13.5 (trixie) | 2.9.14+dfsg-1.3 | [DEBIAN-CVE-2022-2309](https://patchblox.com/security/data/fix/linux/debian-cve-2022-2309.md) | Jul 5, 2022 |
| Linux | libxml2 Debian 14 | 2.9.14+dfsg-1.3 | [DEBIAN-CVE-2022-2309](https://patchblox.com/security/data/fix/linux/debian-cve-2022-2309.md) | Jul 5, 2022 |
| Linux | libxml2 Ubuntu 20.04 LTS (focal) | 2.9.10+dfsg-5ubuntu0.20.04.5 | [libxml2 2.9.10+dfsg-5ubuntu0.20.04.5](https://patchblox.com/security/data/fix/linux/ubuntu-focal-libxml2-2.9.10-dfsg-5ubuntu0.20.04.5.md) | Nov 23, 2022 |
| Linux | libxml2 Ubuntu 22.04.1 LTS (jammy) | 2.9.13+dfsg-1ubuntu0.2 | [libxml2 2.9.13+dfsg-1ubuntu0.2](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-libxml2-2.9.13-dfsg-1ubuntu0.2.md) | Nov 23, 2022 |
| Linux | 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](https://patchblox.com/security/data/fix/linux/ubuntu-focal-libxml2-utils-2.9.10-dfsg-5ubuntu0.20.04.5.md) | Nov 23, 2022 |
| Linux | libxml2-utils Ubuntu 22.04.1 LTS (jammy) | 2.9.13+dfsg-1ubuntu0.2 | [libxml2-utils 2.9.13+dfsg-1ubuntu0.2](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-libxml2-utils-2.9.13-dfsg-1ubuntu0.2.md) | Nov 23, 2022 |
| Linux | lxml Debian 12.15 (bookworm) | 4.9.1-1 | [DEBIAN-CVE-2022-2309](https://patchblox.com/security/data/fix/linux/debian-cve-2022-2309.md) | Jul 5, 2022 |
| Linux | lxml Debian 13.5 (trixie) | 4.9.1-1 | [DEBIAN-CVE-2022-2309](https://patchblox.com/security/data/fix/linux/debian-cve-2022-2309.md) | Jul 5, 2022 |
| Linux | lxml Debian 14 | 4.9.1-1 | [DEBIAN-CVE-2022-2309](https://patchblox.com/security/data/fix/linux/debian-cve-2022-2309.md) | Jul 5, 2022 |
| Linux | 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](https://patchblox.com/security/data/fix/linux/ubuntu-focal-python-libxml2-2.9.10-dfsg-5ubuntu0.20.04.5.md) | Nov 23, 2022 |
| Linux | python-lxml rocky 9 | 0:4.6.5-3.el9 | [RLSA-2022:8226](https://patchblox.com/security/data/fix/linux/rlsa-2022-8226.md) | Nov 15, 2022 |
| Linux | python-lxml-debugsource amzn 2023 | 4.7.1-3.amzn2023.0.1 | [ALAS2023-2023-034](https://patchblox.com/security/data/fix/linux/alas2023-2023-034.md) | Feb 17, 2023 |
| Linux | 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](https://patchblox.com/security/data/fix/linux/ubuntu-focal-python3-libxml2-2.9.10-dfsg-5ubuntu0.20.04.5.md) | Nov 23, 2022 |
| Linux | python3-libxml2 Ubuntu 22.04.1 LTS (jammy) | 2.9.13+dfsg-1ubuntu0.2 | [python3-libxml2 2.9.13+dfsg-1ubuntu0.2](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-python3-libxml2-2.9.13-dfsg-1ubuntu0.2.md) | Nov 23, 2022 |
| Linux | python3-lxml RHEL 9 | 0:4.6.5-3.el9 | [RHSA-2022:8226](https://patchblox.com/security/data/fix/linux/rhsa-2022-8226.md) | Nov 15, 2022 |
| Linux | python3-lxml almalinux 9 | 4.6.5-3.el9 | [ALSA-2022:8226](https://patchblox.com/security/data/fix/linux/alsa-2022-8226.md) | Nov 15, 2022 |
| Linux | python3-lxml amzn 2023 | 4.7.1-3.amzn2023.0.1 | [ALAS2023-2023-034](https://patchblox.com/security/data/fix/linux/alas2023-2023-034.md) | Feb 17, 2023 |
| Linux | python3-lxml ol 9 | 0:4.6.5-3.el9 | [ELSA-2022-8226](https://patchblox.com/security/data/fix/linux/elsa-2022-8226.md) | Nov 22, 2022 |
| Linux | python3-lxml-debuginfo amzn 2023 | 4.7.1-3.amzn2023.0.1 | [ALAS2023-2023-034](https://patchblox.com/security/data/fix/linux/alas2023-2023-034.md) | Feb 17, 2023 |

---

Data as of 2026-11-08T13:06:02Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

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.
