CVE & CISA-KEV Catalog

CVE-2022-2309

HIGHEPSS 83th pctl
7.5
CVSS v3
NVD

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.

How to fix

Remediation Available
libxml2Debian
Fixed in:2.9.10+dfsg-6.7+deb11u5CVE-2022-2309
Fixed in:2.9.14+dfsg-1.3~deb12u1CVE-2022-2309
Fixed in:2.9.14+dfsg-1.3CVE-2022-2309
Fixed in:2.9.14+dfsg-1.3CVE-2022-2309
libxml2Ubuntu
Fixed in:2.9.4+dfsg1-6.1ubuntu1.8USN-5760-1
Fixed in:2.9.10+dfsg-5ubuntu0.20.04.5USN-5760-1
Fixed in:2.9.13+dfsg-1ubuntu0.2USN-5760-1
Fixed in:2.9.14+dfsg-1ubuntu0.1USN-5760-1
Fixed in:2.9.14+dfsg-1.1ubuntu0.1USN-6028-2
libxml2-utilsUbuntu
Fixed in:2.9.4+dfsg1-6.1ubuntu1.8USN-5760-1
Fixed in:2.9.10+dfsg-5ubuntu0.20.04.5USN-5760-1
Fixed in:2.9.13+dfsg-1ubuntu0.2USN-5760-1
Fixed in:2.9.14+dfsg-1ubuntu0.1USN-5760-1
Fixed in:2.9.14+dfsg-1.1ubuntu0.1USN-6028-2

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityNone
IntegrityNone
AvailabilityHigh

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Exploit Intelligence

2.46%probability of exploitation in 30 days
83rdpercentile

Elevated risk: more likely to be exploited than 83% of all known CVEs.

References

Related Vulnerabilities

Other CWE-476 (NULL Pointer Dereference) vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2023-21758High7.592%-Fix
CVE-2023-21547High7.588%-Fix
CVE-2014-3470Medium4.386%-Fix
CVE-2021-44224High8.282%-Fix
CVE-2016-0742High7.582%-Fix
CVE-2009-1386Medium5.080%-Fix
Embed a live status badge for CVE-2022-2309
CVE-2022-2309 severity badge

Markdown

[![CVE-2022-2309](https://tridentstack.com/cve/badge/CVE-2022-2309.svg)](https://tridentstack.com/cve/CVE-2022-2309)

HTML

<a href="https://tridentstack.com/cve/CVE-2022-2309"><img src="https://tridentstack.com/cve/badge/CVE-2022-2309.svg" alt="CVE-2022-2309"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2025-11-04.