CVE-2022-2309: fedoraproject fedora NULL Pointer Dereference
Vulnerability summary
CVE-2022-2309 is a high (CVSS 7.5) NULL Pointer Dereference vulnerability in fedoraproject fedora. EPSS estimates a 2.45% chance of exploitation in the next 30 days, higher than 84.1% of scored vulnerabilities. 1 public exploit is recorded.
Advisory lineage
Upstream 0 · Downstream 3 · Related 1Timeline
- 05-07-2022PublishedVulnerability first disclosed.
- 04-11-2025Last modifiedVulnerability information updated.
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.
CVSS metrics
11 scores · 7 sources · 4 versions- OSV · AlpineEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · Red hatEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · UbuntuEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · PypiEcosystem advisory · calculated5.3MediumCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
- OSV · UbuntuEcosystem advisory · calculated5.3MediumCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
- NVDNIST5.3MediumCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
EPSS trend
Probability
2.45%
Chance of exploitation in the next 30 days
Percentile
84%
Versus all other CVEs
30-day change
-0.18 pp
From 2.63% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
1 foundExploit Reference (huntr.dev)
Maturity: unknown
Weaknesses
CWE · root causeAffected systems
Suse13 products
- python-lxml&distro=SUSE Enterprise Storage 7< 4.7.1-150200.3.10.1
- python-lxml&distro=SUSE Linux Enterprise High Performance Computing 15 SP2-ESPOS< 4.7.1-150200.3.10.1
- python-lxml&distro=SUSE Linux Enterprise High Performance Computing 15 SP2-LTSS< 4.7.1-150200.3.10.1
- python-lxml&distro=SUSE Linux Enterprise Module for Basesystem 15 SP3< 4.7.1-150200.3.10.1
- python-lxml&distro=SUSE Linux Enterprise Module for Basesystem 15 SP4< 4.7.1-150200.3.10.1
Redhat4 products
- python-lxml< 0:4.6.5-3.el9
- python-lxml-debugsource< 0:4.6.5-3.el9
- python3-lxml< 0:4.6.5-3.el9
- python3-lxml-debuginfo< 0:4.6.5-3.el9
Opensuse3 products
- libxml2&distro=openSUSE Tumbleweed< 2.10.1-1.1
- python-lxml&distro=openSUSE Leap 15.3< 4.7.1-150200.3.10.1
- python-lxml&distro=openSUSE Leap 15.4< 4.7.1-150200.3.10.1
Alpine2 products
- libxml2< 2.9.14-r1 | < 2.10.0-r0
- py3-lxml< 4.9.2-r0
Debian2 products
- libxml2< 2.9.14+dfsg-1.3~deb12u1 | < 2.9.14+dfsg-1.3
- lxml< 4.9.1-1
Ubuntu2 products
- libxml2< 2.9.10+dfsg-5ubuntu0.20.04.5 | < 2.9.13+dfsg-1ubuntu0.2
- lxmlAll versions (No fix recorded)
Fedoraproject1 product
- fedoraEOL36 | 37
Mageia1 product
- python-lxml< 4.9.1-1.mga8
PyPI1 product
- lxml< 86368e9cf70a0ad23cccd5ee32de847149af0c6f | < 4.9.1
10 vendors · 31 products
References
38 links- huntr.dev/bounties/8264e74f-edda-4c40-9956-49de635105baX Refsource CONFIRMWEBREPORTExploitIssue TrackingPatchThird Party Advisory
- github.com/lxml/lxml/commit/86368e9cf70a0ad23cccd5ee32de847149af0c6fX Refsource MISCWEBFIXREPORTPatchThird Party Advisory
Show all 38 references
- github.com/lxml/lxmlPACKAGE