Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2022-2309

published medium CVSS 3.0 · 5.3

NULL Pointer Dereference in lxml/lxml

Published
05 Jul 2022, 09:00:12 UTC
Updated
04 Nov 2025, 16:09:31 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
lxml — lxml/lxmlunspecified to < 4.9.1 Affected Not stated @huntrdev
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluationALAS2023-2023-034 Fixed Not stated Amazon Linux assessment
AlmaLinux 9 python3-lxml Advisory build 4.6.5-3.el9 ALSA-2022:8226
Alpine Linux edge libxml2 Fixed 2.10.0-r0 Package fix record
Debian bullseye libxml2 Advisory build 2.9.10+dfsg-6.7+deb11u5 DLA-3878-1
Oracle Linux 9 python3-lxmlaarch64 Advisory build 0:4.6.5-3.el9 ELSA-2022-8226
Show 96 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Red Hat Enterprise Linux RHEL-9 python-lxmlsrc Advisory build 4.6.5-3.el9 RHSA-2022:8226
SUSE / openSUSE SLE-15 python3-lxmlaarch64 Advisory build 4.7.1-150100.6.6.1 SUSE-SU-2022:2878-1
Alpine Linux edge py3-lxml Fixed 4.9.2-r0 Package fix record
Alpine Linux v3.13 libxml2 Fixed 2.9.14-r1 Package fix record
Alpine Linux v3.14 libxml2 Fixed 2.9.14-r1 Package fix record
Alpine Linux v3.15 libxml2 Fixed 2.9.14-r1 Package fix record
Alpine Linux v3.16 libxml2 Fixed 2.9.14-r1 Package fix record
Alpine Linux v3.17 libxml2 Fixed 2.10.0-r0 Package fix record
Alpine Linux v3.17 py3-lxml Fixed 4.9.2-r0 Package fix record
Alpine Linux v3.18 libxml2 Fixed 2.10.0-r0 Package fix record
Alpine Linux v3.18 py3-lxml Fixed 4.9.2-r0 Package fix record
Alpine Linux v3.19 libxml2 Fixed 2.10.0-r0 Package fix record
Alpine Linux v3.19 py3-lxml Fixed 4.9.2-r0 Package fix record
Alpine Linux v3.20 libxml2 Fixed 2.10.0-r0 Package fix record
Alpine Linux v3.20 py3-lxml Fixed 4.9.2-r0 Package fix record
Alpine Linux v3.21 libxml2 Fixed 2.10.0-r0 Package fix record
Alpine Linux v3.21 py3-lxml Fixed 4.9.2-r0 Package fix record
Alpine Linux v3.22 libxml2 Fixed 2.10.0-r0 Package fix record
Alpine Linux v3.22 py3-lxml Fixed 4.9.2-r0 Package fix record
Alpine Linux v3.23 libxml2 Fixed 2.10.0-r0 Package fix record
Alpine Linux v3.23 py3-lxml Fixed 4.9.2-r0 Package fix record
Alpine Linux v3.24 libxml2 Fixed 2.10.0-r0 Package fix record
Alpine Linux v3.24 py3-lxml Fixed 4.9.2-r0 Package fix record
Oracle Linux 9 python3-lxmlx86_64 Advisory build 0:4.6.5-3.el9 ELSA-2022-8226
Red Hat Enterprise Linux RHEL-9 python-lxml-debugsourceaarch64 Advisory build 4.6.5-3.el9 RHSA-2022:8226
Red Hat Enterprise Linux RHEL-9 python-lxml-debugsourceppc64le Advisory build 4.6.5-3.el9 RHSA-2022:8226
Red Hat Enterprise Linux RHEL-9 python-lxml-debugsources390x Advisory build 4.6.5-3.el9 RHSA-2022:8226
Red Hat Enterprise Linux RHEL-9 python-lxml-debugsourcex86_64 Advisory build 4.6.5-3.el9 RHSA-2022:8226
Red Hat Enterprise Linux RHEL-9 python3-lxmlaarch64 Advisory build 4.6.5-3.el9 RHSA-2022:8226
Red Hat Enterprise Linux RHEL-9 python3-lxmlppc64le Advisory build 4.6.5-3.el9 RHSA-2022:8226
Red Hat Enterprise Linux RHEL-9 python3-lxmls390x Advisory build 4.6.5-3.el9 RHSA-2022:8226
Red Hat Enterprise Linux RHEL-9 python3-lxmlx86_64 Advisory build 4.6.5-3.el9 RHSA-2022:8226
Red Hat Enterprise Linux RHEL-9 python3-lxml-debuginfoaarch64 Advisory build 4.6.5-3.el9 RHSA-2022:8226
Red Hat Enterprise Linux RHEL-9 python3-lxml-debuginfoppc64le Advisory build 4.6.5-3.el9 RHSA-2022:8226
Red Hat Enterprise Linux RHEL-9 python3-lxml-debuginfos390x Advisory build 4.6.5-3.el9 RHSA-2022:8226
Red Hat Enterprise Linux RHEL-9 python3-lxml-debuginfox86_64 Advisory build 4.6.5-3.el9 RHSA-2022:8226
SUSE / openSUSE SLE-15 python3-lxmlppc64le Advisory build 4.7.1-150100.6.6.1 SUSE-SU-2022:2878-1
SUSE / openSUSE SLE-15 python3-lxmls390x Advisory build 4.7.1-150100.6.6.1 SUSE-SU-2022:2878-1
SUSE / openSUSE SLE-15 python3-lxmlx86_64 Advisory build 4.7.1-150100.6.6.1 SUSE-SU-2022:2878-1
SUSE / openSUSE SLE-15 python3-lxml-develaarch64 Advisory build 4.7.1-150100.6.6.1 SUSE-SU-2022:2878-1
SUSE / openSUSE SLE-15 python3-lxml-develppc64le Advisory build 4.7.1-150100.6.6.1 SUSE-SU-2022:2878-1
SUSE / openSUSE SLE-15 python3-lxml-devels390x Advisory build 4.7.1-150100.6.6.1 SUSE-SU-2022:2878-1
SUSE / openSUSE SLE-15 python3-lxml-develx86_64 Advisory build 4.7.1-150100.6.6.1 SUSE-SU-2022:2878-1
SUSE / openSUSE SLE-15 python3-lxml-docnoarch Advisory build 4.7.1-150100.6.6.1 SUSE-SU-2022:2878-1
SUSE / openSUSE SLE-15-SP2 python2-lxmlaarch64 Advisory build 4.7.1-150200.3.10.1 SUSE-SU-2022:2908-1
SUSE / openSUSE SLE-15-SP2 python2-lxmlppc64le Advisory build 4.7.1-150200.3.10.1 SUSE-SU-2022:2908-1
SUSE / openSUSE SLE-15-SP2 python2-lxmls390x Advisory build 4.7.1-150200.3.10.1 SUSE-SU-2022:2908-1
SUSE / openSUSE SLE-15-SP2 python2-lxmlx86_64 Advisory build 4.7.1-150200.3.10.1 SUSE-SU-2022:2908-1
SUSE / openSUSE SLE-15-SP2 python2-lxml-develaarch64 Advisory build 4.7.1-150200.3.10.1 SUSE-SU-2022:2908-1
SUSE / openSUSE SLE-15-SP2 python2-lxml-develppc64le Advisory build 4.7.1-150200.3.10.1 SUSE-SU-2022:2908-1
SUSE / openSUSE SLE-15-SP2 python2-lxml-devels390x Advisory build 4.7.1-150200.3.10.1 SUSE-SU-2022:2908-1
SUSE / openSUSE SLE-15-SP2 python2-lxml-develx86_64 Advisory build 4.7.1-150200.3.10.1 SUSE-SU-2022:2908-1
SUSE / openSUSE SLE-15-SP2 python3-lxmlaarch64 Advisory build 4.7.1-150200.3.10.1 SUSE-SU-2022:2908-1
SUSE / openSUSE SLE-15-SP2 python3-lxmlppc64le Advisory build 4.7.1-150200.3.10.1 SUSE-SU-2022:2908-1
SUSE / openSUSE SLE-15-SP2 python3-lxmls390x Advisory build 4.7.1-150200.3.10.1 SUSE-SU-2022:2908-1
SUSE / openSUSE SLE-15-SP2 python3-lxmlx86_64 Advisory build 4.7.1-150200.3.10.1 SUSE-SU-2022:2908-1
SUSE / openSUSE SLE-15-SP2 python3-lxml-develaarch64 Advisory build 4.7.1-150200.3.10.1 SUSE-SU-2022:2908-1
SUSE / openSUSE SLE-15-SP2 python3-lxml-develppc64le Advisory build 4.7.1-150200.3.10.1 SUSE-SU-2022:2908-1
SUSE / openSUSE SLE-15-SP2 python3-lxml-devels390x Advisory build 4.7.1-150200.3.10.1 SUSE-SU-2022:2908-1
SUSE / openSUSE SLE-15-SP2 python3-lxml-develx86_64 Advisory build 4.7.1-150200.3.10.1 SUSE-SU-2022:2908-1
SUSE / openSUSE SLE-15-SP3 python3-lxmlaarch64 Advisory build 4.7.1-150200.3.10.1 SUSE-SU-2022:2908-1
SUSE / openSUSE SLE-15-SP3 python3-lxmlppc64le Advisory build 4.7.1-150200.3.10.1 SUSE-SU-2022:2908-1
SUSE / openSUSE SLE-15-SP3 python3-lxmls390x Advisory build 4.7.1-150200.3.10.1 SUSE-SU-2022:2908-1
SUSE / openSUSE SLE-15-SP3 python3-lxmlx86_64 Advisory build 4.7.1-150200.3.10.1 SUSE-SU-2022:2908-1
SUSE / openSUSE SLE-15-SP3 python3-lxml-develaarch64 Advisory build 4.7.1-150200.3.10.1 SUSE-SU-2022:2908-1
SUSE / openSUSE SLE-15-SP3 python3-lxml-develppc64le Advisory build 4.7.1-150200.3.10.1 SUSE-SU-2022:2908-1
SUSE / openSUSE SLE-15-SP3 python3-lxml-devels390x Advisory build 4.7.1-150200.3.10.1 SUSE-SU-2022:2908-1
SUSE / openSUSE SLE-15-SP3 python3-lxml-develx86_64 Advisory build 4.7.1-150200.3.10.1 SUSE-SU-2022:2908-1
SUSE / openSUSE SLE-15-SP4 python3-lxmlaarch64 Advisory build 4.7.1-150200.3.10.1 SUSE-SU-2022:2908-1
SUSE / openSUSE SLE-15-SP4 python3-lxmlppc64le Advisory build 4.7.1-150200.3.10.1 SUSE-SU-2022:2908-1
SUSE / openSUSE SLE-15-SP4 python3-lxmls390x Advisory build 4.7.1-150200.3.10.1 SUSE-SU-2022:2908-1
SUSE / openSUSE SLE-15-SP4 python3-lxmlx86_64 Advisory build 4.7.1-150200.3.10.1 SUSE-SU-2022:2908-1
SUSE / openSUSE SLE-15-SP4 python3-lxml-develaarch64 Advisory build 4.7.1-150200.3.10.1 SUSE-SU-2022:2908-1
SUSE / openSUSE SLE-15-SP4 python3-lxml-develppc64le Advisory build 4.7.1-150200.3.10.1 SUSE-SU-2022:2908-1
SUSE / openSUSE SLE-15-SP4 python3-lxml-devels390x Advisory build 4.7.1-150200.3.10.1 SUSE-SU-2022:2908-1
SUSE / openSUSE SLE-15-SP4 python3-lxml-develx86_64 Advisory build 4.7.1-150200.3.10.1 SUSE-SU-2022:2908-1
SUSE / openSUSE SLE-2-SP3 python2-lxmlaarch64 Advisory build 4.7.1-150200.3.10.1 SUSE-SU-2022:2908-1
SUSE / openSUSE SLE-2-SP3 python2-lxmlppc64le Advisory build 4.7.1-150200.3.10.1 SUSE-SU-2022:2908-1
SUSE / openSUSE SLE-2-SP3 python2-lxmls390x Advisory build 4.7.1-150200.3.10.1 SUSE-SU-2022:2908-1
SUSE / openSUSE SLE-2-SP3 python2-lxmlx86_64 Advisory build 4.7.1-150200.3.10.1 SUSE-SU-2022:2908-1
SUSE / openSUSE SLE-2-SP3 python2-lxml-develaarch64 Advisory build 4.7.1-150200.3.10.1 SUSE-SU-2022:2908-1
SUSE / openSUSE SLE-2-SP3 python2-lxml-develppc64le Advisory build 4.7.1-150200.3.10.1 SUSE-SU-2022:2908-1
SUSE / openSUSE SLE-2-SP3 python2-lxml-devels390x Advisory build 4.7.1-150200.3.10.1 SUSE-SU-2022:2908-1
SUSE / openSUSE SLE-2-SP3 python2-lxml-develx86_64 Advisory build 4.7.1-150200.3.10.1 SUSE-SU-2022:2908-1
SUSE / openSUSE openSUSE-Leap-15.3 python2-lxmlaarch64 Advisory build 4.7.1-150200.3.10.1 SUSE-SU-2022:2908-1
SUSE / openSUSE openSUSE-Leap-15.3 python2-lxmlppc64le Advisory build 4.7.1-150200.3.10.1 SUSE-SU-2022:2908-1
SUSE / openSUSE openSUSE-Leap-15.3 python2-lxmls390x Advisory build 4.7.1-150200.3.10.1 SUSE-SU-2022:2908-1
SUSE / openSUSE openSUSE-Leap-15.3 python2-lxmlx86_64 Advisory build 4.7.1-150200.3.10.1 SUSE-SU-2022:2908-1
SUSE / openSUSE openSUSE-Leap-15.3 python2-lxml-develaarch64 Advisory build 4.7.1-150200.3.10.1 SUSE-SU-2022:2908-1
SUSE / openSUSE openSUSE-Leap-15.3 python2-lxml-develppc64le Advisory build 4.7.1-150200.3.10.1 SUSE-SU-2022:2908-1
SUSE / openSUSE openSUSE-Leap-15.3 python2-lxml-devels390x Advisory build 4.7.1-150200.3.10.1 SUSE-SU-2022:2908-1
SUSE / openSUSE openSUSE-Leap-15.3 python2-lxml-develx86_64 Advisory build 4.7.1-150200.3.10.1 SUSE-SU-2022:2908-1
SUSE / openSUSE openSUSE-Leap-15.3 python3-lxmlaarch64 Advisory build 4.7.1-150200.3.10.1 SUSE-SU-2022:2908-1
SUSE / openSUSE openSUSE-Leap-15.3 python3-lxmlppc64le Advisory build 4.7.1-150200.3.10.1 SUSE-SU-2022:2908-1
SUSE / openSUSE openSUSE-Leap-15.3 python3-lxmls390x Advisory build 4.7.1-150200.3.10.1 SUSE-SU-2022:2908-1
SUSE / openSUSE openSUSE-Leap-15.3 python3-lxmlx86_64 Advisory build 4.7.1-150200.3.10.1 SUSE-SU-2022:2908-1

Package entries are limited to the first 100 builds and 100 linked advisories.

Description

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.

en · @huntrdev · cna

Vendor advisories explicitly linked to this CVE.

39

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.0
Base score
5.3 / 10
Severity
medium
Provider
@huntrdev · cna
Vector string
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
lxml lxml/lxml unspecified to < 4.9.1 (affected · custom) @huntrdev · cna

Weaknesses

1
  • CWE-476 CWE-476 NULL Pointer Dereference (@huntrdev · cna)

References

7

Provider assertions

2

@huntrdev · cna

NULL Pointer Dereference in lxml/lxml

CVE · adp

CVE Program Container

Provenance

Schema
5.2
Searchable
yes
Content hash
320b821faa37133200b52f4da5636b9241ddb2c6b015377e34fe1252bc5595ab
Ingested
23 Sep 2026, 08:00:01 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected