BlackTreeCVE Intelligence
← Back to the CVE catalogue
Full vulnerability report · 2022
CVE-2022-2309High confidence

NULL Pointer Dereference in lxml/lxml

lxml · lxml/lxml

7.5HighCVSS 3.1
Recommended action
Within 7 days

High technical severity with public exploit material referenced by a structured source; prioritise exposed affected systems while verifying vendor guidance.

Patch available
Optional official sources

National CERT insights
?CERT means Computer Emergency Response Team; CSIRT is the closely related term Computer Security Incident Response Team.

Select the national-authority views to include. The exact source language is shown on each matched advisory. Your choice is remembered on this device and encoded in the shareable URL.

Official European source

ENISA European Vulnerability Database

Official EUVD identifiers, advisory evidence and known-exploited context. Missing fields are not treated as evidence of low risk.

1 current
ENISA EUVD identifier

EUVD-2022-0148

No EUVD known-exploited evidence

ENISA has published the identifier mapping but no EUVD description has been stored yet.

EUVD state
Present in the current official mapping
Known exploitation
Not present in the current ENISA EUVD known-exploited dataset. This is not proof of no exploitation.
ENISA score
Not supplied in the stored EUVD record
Advisory evidence
No linked advisory details stored yet
Recommended actionWithin 7 days

High technical severity with public exploit material referenced by a structured source; prioritise exposed affected systems while verifying vendor guidance.

Patch available
01

What, why and how

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.

What

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.

Why

The product dereferences a pointer that it expects to be valid but is NULL.

How

An attacker operating through a network path may attempt exploitation without authentication or user interaction. If successful, the issue may disrupt the affected service.

What

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.

Why

The product dereferences a pointer that it expects to be valid but is NULL.

How

An attacker operating through a network path may attempt exploitation without authentication or user interaction. If successful, the issue may disrupt the affected service.

02

Exploit reality and attack path

CVSS severity, EPSS forecast probability, public exploit material and CISA-confirmed exploitation are separate signals.

Observed exploitation
?Confirmed exploitation and public exploit material are separate signals. Attacks can occur without public proof-of-concept or exploit code.
No confirmed evidence

No CISA KEV match was present at the last successful refresh. This means no confirmation from that source, not proof of no exploitation.

Public PoC / exploit material
?Confirmed exploitation and public exploit material are separate signals. Attacks can occur without public proof-of-concept or exploit code.
Reference recorded

A structured CVE source labels at least one public reference as exploit material. BlackTree has not independently validated that it is safe, reliable or weaponised.

Likely attack path
a network path → NULL Pointer Dereference → disrupt the affected service
Attack surface
Network
Privileges required
None: unauthenticated exploitation is possible
User interaction
None
Attack complexity
Low: no specialised conditions are recorded
Security boundary
Unchanged: impact remains within the vulnerable component's security authority
Weakness
?CWE means Common Weakness Enumeration: a standard category for the underlying weakness.
CWE-476

CWE-476: NULL Pointer Dereference. The product dereferences a pointer that it expects to be valid but is NULL.

CVSS vector
?CVSS means Common Vulnerability Scoring System. The vector records the metric values used to calculate technical severity.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Common Vulnerability Scoring System 3.1: the compact vector below is decoded into plain language.

AVNetworkAttack vector: The vulnerable component can be reached over a network.ACLowAttack complexity: No specialised conditions are required beyond attacker-controlled input.PRNonePrivileges required: The attacker does not need an account or existing privileges.UINoneUser interaction: No action by another user is required.SUnchangedScope: The security impact remains within the vulnerable component's authority.CNoneConfidentiality impact: No direct loss is represented by this metric.INoneIntegrity impact: No direct loss is represented by this metric.AHighAvailability impact: A successful attack can cause a major loss.
Post-exploitation / living off the land
No specific living-off-the-land technique is confirmed in the structured sources. Monitor normal administration tools for activity inconsistent with the affected service's baseline.
NetworkUnauthenticatedDenial of serviceCWE-476Public exploit reference
A

Official authority intelligence

Only matched European and national findings are included. Language selectors and unavailable sources are omitted.

BSI · German · WID-SEC-2023-2229Splunk Splunk Enterprise: Mehrere Schwachstellen

Ein entfernter, authentifizierter Angreifer kann mehrere Schwachstellen in Splunk Splunk Enterprise ausnutzen, um beliebigen Code auszuführen, einen 'Denial of Service'-Zustand zu verursachen, seine Privilegien zu erweitern und weitere, nicht spezifizierte Auswirkungen zu verursachen.

Official advisory ↗
BSI · German · WID-SEC-2023-1542Red Hat OpenShift: Mehrere Schwachstellen

Ein entfernter, anonymer Angreifer kann mehrere Schwachstellen in Red Hat OpenShift ausnutzen, um einen Denial of Service Zustand herbeizuführen, Informationen offenzulegen, Dateien zu manipulieren oder Sicherheitsvorkehrungen zu umgehen.

Official advisory ↗
BSI · German · WID-SEC-2023-1424Xerox FreeFlow Print Server für Solaris: Mehrere Schwachstellen

Ein Angreifer kann mehrere Schwachstellen in Xerox FreeFlow Print Server ausnutzen, um die Vertraulichkeit, Verfügbarkeit und Integrität des Systems zu gefährden.

Official advisory ↗
BSI · German · WID-SEC-2022-0864lxml: Schwachstelle ermöglicht Denial of Service

Ein entfernter, anonymer Angreifer kann eine Schwachstelle in lxml ausnutzen, um einen Denial of Service Angriff durchzuführen.

Official advisory ↗
Cyber Security Agency of Singapore · English · CSA-SB-20220706Security Bulletin 06 Jul 2022

The Cyber Security Agency of Singapore included this CVE in its official Security Bulletin 06 Jul 2022, published on 6 July 2022. Open the linked bulletin for the product, severity and reference information published in that issue.

Official advisory ↗
CERT-FR · French · CERTFR-2026-AVI-0287Multiples vulnérabilités dans les produits NetApp

De multiples vulnérabilités ont été découvertes dans les produits NetApp. Elles permettent à un attaquant de provoquer un déni de service à distance, une atteinte à la confidentialité des données et une atteinte à l'intégrité des données.

Official advisory ↗
CERT-FR · French · CERTFR-2026-AVI-0218Multiples vulnérabilités dans les produits VMware

ve.org/CVERecord?id=CVE-2022-0563 Référence CVE CVE-2022-1210 https://www.cve.org/CVERecord?id=CVE-2022-1210 Référence CVE CVE-2022-1271 https://www.cve.org/CVERecord?id=CVE-2022-1271 Référence CVE CVE-2022-1586 https://www.cve.org/CVERecord?id=CVE-2022-1586 Référence CVE CVE-2022-2056 https://www.cve.org/CVERecord?id=CVE-2022-2056 Référence CVE CVE-2022-2057 https://www.cve.org/CVERecord?id=CVE-2022-2057 Référence CVE CVE-2022-2058 https://www.cve.org/CVERecord?id=CVE-2022-2058 Référence CVE CVE-2022-2255 https://www.cve.org/CVERecord?id=CVE-2022-2255 Référence CVE CVE-2022-22576 https://www.cve.org/CVERecord?id=CVE-2022-22576 Référence CVE CVE-2022-2309 https://www.cve.org/CVERecord?id=CVE-2022-2309 Référence CVE CVE-2022-23218 https://www.cve.org/CVERecord?id=CVE-2022-23218 Référence CVE CVE-2022-23219 https://www.cve.org/CVERecord?id=CVE-2022-23219 Référence CVE CVE-2022-23308 https://www.cve.org/CVERecord?id=CVE-2022-23308 Référence CVE CVE-2022-23990 https://www.cve.org/CVERecord?id=CVE-2022-23990 Référence CVE CVE-2022-2519 https://www.cve.org/CVERecord?id=CVE-2022-2519 Référence CVE CVE-2022-2520 https://www.cve.org/CVERecord?id=CVE-2022-2520 Référence CVE CVE-2022-2521 https://www.cve.org/CVERecord?id=CVE-2022-2521 Référence CVE CVE-2022-25236 https://www.cve.org/CVERecord?id=CVE-202

Official advisory ↗
CERT-FR · French · CERTFR-2025-AVI-1057Multiples vulnérabilités dans les produits VMware

/CVERecord?id=CVE-2022-1292 Référence CVE CVE-2022-1304 https://www.cve.org/CVERecord?id=CVE-2022-1304 Référence CVE CVE-2022-1974 https://www.cve.org/CVERecord?id=CVE-2022-1974 Référence CVE CVE-2022-20153 https://www.cve.org/CVERecord?id=CVE-2022-20153 Référence CVE CVE-2022-20154 https://www.cve.org/CVERecord?id=CVE-2022-20154 Référence CVE CVE-2022-2068 https://www.cve.org/CVERecord?id=CVE-2022-2068 Référence CVE CVE-2022-2097 https://www.cve.org/CVERecord?id=CVE-2022-2097 Référence CVE CVE-2022-22576 https://www.cve.org/CVERecord?id=CVE-2022-22576 Référence CVE CVE-2022-22942 https://www.cve.org/CVERecord?id=CVE-2022-22942 Référence CVE CVE-2022-2309 https://www.cve.org/CVERecord?id=CVE-2022-2309 Référence CVE CVE-2022-23218 https://www.cve.org/CVERecord?id=CVE-2022-23218 Référence CVE CVE-2022-23219 https://www.cve.org/CVERecord?id=CVE-2022-23219 Référence CVE CVE-2022-23308 https://www.cve.org/CVERecord?id=CVE-2022-23308 Référence CVE CVE-2022-23960 https://www.cve.org/CVERecord?id=CVE-2022-23960 Référence CVE CVE-2022-26878 https://www.cve.org/CVERecord?id=CVE-2022-26878 Référence CVE CVE-2022-27672 https://www.cve.org/CVERecord?id=CVE-2022-27672 Référence CVE CVE-2022-27774 https://www.cve.org/CVERecord?id=CVE-2022-27774 Référence CVE CVE-2022-27775 https://www.cve.org/CVERecord?id=C

Official advisory ↗
CERT-FR · French · CERTFR-2025-AVI-0969Multiples vulnérabilités dans les produits VMware

ecord?id=CVE-2022-21619 Référence CVE CVE-2022-21624 https://www.cve.org/CVERecord?id=CVE-2022-21624 Référence CVE CVE-2022-21626 https://www.cve.org/CVERecord?id=CVE-2022-21626 Référence CVE CVE-2022-21628 https://www.cve.org/CVERecord?id=CVE-2022-21628 Référence CVE CVE-2022-2208 https://www.cve.org/CVERecord?id=CVE-2022-2208 Référence CVE CVE-2022-2231 https://www.cve.org/CVERecord?id=CVE-2022-2231 Référence CVE CVE-2022-22576 https://www.cve.org/CVERecord?id=CVE-2022-22576 Référence CVE CVE-2022-22844 https://www.cve.org/CVERecord?id=CVE-2022-22844 Référence CVE CVE-2022-22942 https://www.cve.org/CVERecord?id=CVE-2022-22942 Référence CVE CVE-2022-2309 https://www.cve.org/CVERecord?id=CVE-2022-2309 Référence CVE CVE-2022-23218 https://www.cve.org/CVERecord?id=CVE-2022-23218 Référence CVE CVE-2022-23219 https://www.cve.org/CVERecord?id=CVE-2022-23219 Référence CVE CVE-2022-23308 https://www.cve.org/CVERecord?id=CVE-2022-23308 Référence CVE CVE-2022-23772 https://www.cve.org/CVERecord?id=CVE-2022-23772 Référence CVE CVE-2022-23773 https://www.cve.org/CVERecord?id=CVE-2022-23773 Référence CVE CVE-2022-23806 https://www.cve.org/CVERecord?id=CVE-2022-23806 Référence CVE CVE-2022-24070 https://www.cve.org/CVERecord?id=CVE-2022-24070 Référence CVE CVE-2022-24407 https://www.cve.org/CVERecord?id=C

Official advisory ↗
CERT-FR · French · CERTFR-2025-AVI-0756Multiples vulnérabilités dans les produits VMware

d?id=CVE-2022-21556 Référence CVE CVE-2022-21569 https://www.cve.org/CVERecord?id=CVE-2022-21569 Référence CVE CVE-2022-21589 https://www.cve.org/CVERecord?id=CVE-2022-21589 Référence CVE CVE-2022-21592 https://www.cve.org/CVERecord?id=CVE-2022-21592 Référence CVE CVE-2022-21595 https://www.cve.org/CVERecord?id=CVE-2022-21595 Référence CVE CVE-2022-21608 https://www.cve.org/CVERecord?id=CVE-2022-21608 Référence CVE CVE-2022-21617 https://www.cve.org/CVERecord?id=CVE-2022-21617 Référence CVE CVE-2022-22942 https://www.cve.org/CVERecord?id=CVE-2022-22942 Référence CVE CVE-2022-22965 https://www.cve.org/CVERecord?id=CVE-2022-22965 Référence CVE CVE-2022-2309 https://www.cve.org/CVERecord?id=CVE-2022-2309 Référence CVE CVE-2022-23218 https://www.cve.org/CVERecord?id=CVE-2022-23218 Référence CVE CVE-2022-23219 https://www.cve.org/CVERecord?id=CVE-2022-23219 Référence CVE CVE-2022-25883 https://www.cve.org/CVERecord?id=CVE-2022-25883 Référence CVE CVE-2022-27772 https://www.cve.org/CVERecord?id=CVE-2022-27772 Référence CVE CVE-2022-27782 https://www.cve.org/CVERecord?id=CVE-2022-27782 Référence CVE CVE-2022-2795 https://www.cve.org/CVERecord?id=CVE-2022-2795 Référence CVE CVE-2022-28321 https://www.cve.org/CVERecord?id=CVE-2022-28321 Référence CVE CVE-2022-29824 https://www.cve.org/CVERecord?id=CVE

Official advisory ↗
CERT-FR · French · CERTFR-2025-AVI-0303Multiples vulnérabilités dans les produits Splunk

De multiples vulnérabilités ont été découvertes dans les produits Splunk. Elles permettent à un attaquant de provoquer un problème de sécurité non spécifié par l'éditeur.

Official advisory ↗
CERT-FR · French · CERTFR-2023-AVI-0701Multiples vulnérabilités dans Splunk

ERecord?id=CVE-2021-41771 Référence CVE CVE-2021-41772 https://www.cve.org/CVERecord?id=CVE-2021-41772 Référence CVE CVE-2021-43565 https://www.cve.org/CVERecord?id=CVE-2021-43565 Référence CVE CVE-2021-44716 https://www.cve.org/CVERecord?id=CVE-2021-44716 Référence CVE CVE-2021-44717 https://www.cve.org/CVERecord?id=CVE-2021-44717 Référence CVE CVE-2022-1705 https://www.cve.org/CVERecord?id=CVE-2022-1705 Référence CVE CVE-2022-1941 https://www.cve.org/CVERecord?id=CVE-2022-1941 Référence CVE CVE-2022-1962 https://www.cve.org/CVERecord?id=CVE-2022-1962 Référence CVE CVE-2022-22576 https://www.cve.org/CVERecord?id=CVE-2022-22576 Référence CVE CVE-2022-2309 https://www.cve.org/CVERecord?id=CVE-2022-2309 Référence CVE CVE-2022-23491 https://www.cve.org/CVERecord?id=CVE-2022-23491 Référence CVE CVE-2022-23772 https://www.cve.org/CVERecord?id=CVE-2022-23772 Référence CVE CVE-2022-23773 https://www.cve.org/CVERecord?id=CVE-2022-23773 Référence CVE CVE-2022-23806 https://www.cve.org/CVERecord?id=CVE-2022-23806 Référence CVE CVE-2022-24675 https://www.cve.org/CVERecord?id=CVE-2022-24675 Référence CVE CVE-2022-24921 https://www.cve.org/CVERecord?id=CVE-2022-24921 Référence CVE CVE-2022-24999 https://www.cve.org/CVERecord?id=CVE-2022-24999 Référence CVE CVE-2022-25881 https://www.cve.org/CVERecord?id=C

Official advisory ↗
CERT-FR · French · CERTFR-2023-AVI-0197Multiples vulnérabilités dans VMware Spring

De multiples vulnérabilités ont été découvertes dans VMware Spring . Elles permettent à un attaquant de provoquer une atteinte à la confidentialité des données, un déni de service à distance et une exécution de code arbitraire à distance.

Official advisory ↗
CERT-FR · French · CERTFR-2022-AVI-959Multiples vulnérabilités dans Tenable Nessus

De multiples vulnérabilités ont été découvertes dans Tenable Nessus. Certaines d'entre elles permettent à un attaquant de provoquer un problème de sécurité non spécifié par l'éditeur, une exécution de code arbitraire à distance et un déni de service à distance.

Official advisory ↗
CERT-FR · French · CERTFR-2022-AVI-1019Multiples vulnérabilités dans Tenable Nessus

De multiples vulnérabilités ont été découvertes dans Nessus. Elles permettent à un attaquant de provoquer un problème de sécurité non spécifié par l'éditeur, une exécution de code arbitraire à distance et un déni de service à distance.

Official advisory ↗
JVN iPedia · Japanese · JVNDB-2026-031330NokogiriにおけるNULL ポインタデリファレンスに関する脆弱性

Nokogiri 1.13.9以前のバージョン(パッケージ化されたライブラリを使用するCRuby実装)は、libxml2 v2.9.14を同梱しており、これはCVE-2022-40304(エンティティ参照サイクルによるデータ破損や二重解放、エンティティ内容が辞書から割り当てられる場合)およびCVE-2022-40303(XML_PARSE_HUGEでの解析時に発生する整数オーバーフロー)の影響を受けています。Nokogiri 1.13.9では、これらの問題に対処するために同梱のlibxml2をv2.10.3にアップグレードしました。細工されたXML入力を処理すると、サービス拒否やメモリ破損を引き起こす可能性があります。(アドバイザリでは、iterwalkやcanonicalize経由のNULLポインタ参照であるCVE-2022-2309も言及されていますが、メンテナはこれがNokogiriのユーザーに影響を与えないと判断しています。)

Official advisory ↗
JVN iPedia · Japanese · JVNDB-2022-012830lxml の lxml 他複数ベンダの製品における NULL ポインタデリファレンスに関する脆弱性

lxml の lxml 他複数ベンダの製品には、NULL ポインタデリファレンスに関する脆弱性が存在します。

Official advisory ↗
03

Patch and workaround

Operational remediation based on structured source evidence.

Status
?Patch availability is based on structured fixed-version fields and authoritative update references. If no fix is verified, check the vendor advisory before making a change.
Patch available
Affected
lxml/lxml: unspecified < 4.9.1
Fixed
An authoritative update reference is available, but the fixed version is not recorded in the structured CVE fields. Check the linked vendor advisory for the applicable release.
Action
Review the linked authoritative reference and apply the recorded fixed release appropriate to the affected product branch.
Workaround
No verified workaround is recorded. If business-safe, reduce exposure to the affected interface and allow only trusted sources until authoritative guidance is available.
04

Evidence and provenance

Published 5 Jul 2022 · Last source change 4 Nov 2025, 16:09 UTC · CWE-476 · NULL Pointer Dereference

CVE recordCVE.org · 5.2
CVSS sourceNIST NVD
EPSS source
?The date BlackTree first stored a score for this CVE from the daily FIRST EPSS feed.
FIRST · tracked since 2026-08-14
European sourceENISA EUVD · EUVD-2022-0148
Product sourceCNA
Remediation sourceCVE/CNA references
CWE sourceCNA
NVD statusNVD modified after enrichment

Core structured fields are present and their contributing authorities are shown above.

Material change intelligence

What changed after publication

View recent updates ↗

No material field changes have been recorded since change tracking began. Routine source refreshes and cosmetic edits are intentionally excluded.

Material fields only · duplicate refreshes suppressed · history retained for the configured operational retention period
Technical terms and abbreviations used in this report
CVE
Common Vulnerabilities and Exposures: the public identifier for one disclosed vulnerability.
CVSS
Common Vulnerability Scoring System: a technical severity framework; it is not patching priority by itself.
EPSS
Exploit Prediction Scoring System: FIRST's estimate of the probability that exploitation activity will be observed in the next 30 days; it is a forecast, not confirmation.
CWE
Common Weakness Enumeration: the standard category describing the underlying software or hardware weakness.
CNA
CVE Numbering Authority: an organisation authorised to assign and publish CVE records.
CISA ADP
Cybersecurity and Infrastructure Security Agency Authorized Data Publisher: structured enrichment added to a CVE record.
NVD
National Vulnerability Database: NIST's enrichment service for CVE records.
CERT / CSIRT
A computer security incident response team that publishes warnings or coordinates incident response.
PoC
Proof of concept: public material that demonstrates or helps reproduce exploitation.
CSAF
Common Security Advisory Framework: a machine-readable format for security advisories.
LoTL
Living off the land: abuse of legitimate tools or system functions during an attack.
Free version - for non-commercial use only.CVE-2022-2309 · cve.blacktree.nl