Staging Environment: Content and features may be unstable or change without notice.
Search for packages
Package details: pkg:pypi/lxml@4.9.0
purl pkg:pypi/lxml@4.9.0
Next non-vulnerable version 4.9.1
Latest non-vulnerable version 4.9.1
Risk 3.4
Vulnerabilities affecting this package (1)
Vulnerability Summary Fixed by
VCID-4m3j-qy8c-4uhk
Aliases:
CVE-2022-2309
GHSA-wrxv-2j5q-m38w
PYSEC-2022-230
NULL Pointer Dereference allows attackers to cause a denial of service (or application crash). This only applies when lxml is used together with libxml2 2.9.10 through 2.9.14. libxml2 2.9.9 and earlier are not affected. It allows triggering crashes through forged input data, given a vulnerable code sequence in the application. The vulnerability is caused by the iterwalk function (also used by the canonicalize function). Such code shouldn't be in wide-spread use, given that parsing + iterwalk would usually be replaced with the more efficient iterparse function. However, an XML converter that serialises to C14N would also be vulnerable, for example, and there are legitimate use cases for this code sequence. If untrusted input is received (also remotely) and processed via iterwalk function, a crash can be triggered.
4.9.1
Affected by 0 other vulnerabilities.
Vulnerabilities fixed by this package (0)
Vulnerability Summary Aliases
This package is not known to fix vulnerabilities.

Date Actor Action Vulnerability Source VulnerableCode Version
2026-04-16T02:32:07.771951+00:00 GHSA Importer Affected by VCID-4m3j-qy8c-4uhk https://github.com/advisories/GHSA-wrxv-2j5q-m38w 38.4.0
2026-04-11T23:21:14.283904+00:00 GitLab Importer Affected by VCID-4m3j-qy8c-4uhk https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/lxml/CVE-2022-2309.yml 38.3.0
2026-04-11T13:57:36.460929+00:00 GHSA Importer Affected by VCID-4m3j-qy8c-4uhk https://github.com/advisories/GHSA-wrxv-2j5q-m38w 38.3.0
2026-04-02T23:28:08.797413+00:00 GitLab Importer Affected by VCID-4m3j-qy8c-4uhk https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/lxml/CVE-2022-2309.yml 38.1.0
2026-04-02T14:43:56.678960+00:00 GHSA Importer Affected by VCID-4m3j-qy8c-4uhk https://github.com/advisories/GHSA-wrxv-2j5q-m38w 38.1.0
2026-04-01T17:49:19.338511+00:00 GitLab Importer Affected by VCID-4m3j-qy8c-4uhk https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/lxml/CVE-2022-2309.yml 38.0.0
2026-04-01T15:12:59.794975+00:00 PyPI Importer Affected by VCID-4m3j-qy8c-4uhk https://osv-vulnerabilities.storage.googleapis.com/PyPI/all.zip 38.0.0
2026-04-01T12:47:40.709361+00:00 Pypa Importer Affected by VCID-4m3j-qy8c-4uhk https://github.com/pypa/advisory-database/blob/main/vulns/lxml/PYSEC-2022-230.yaml 38.0.0