Moderate: python-lxml security update

python3-lxml Updated 02 Oct 2025

Summary

15/11/2022
N/A
Yes i
Unrated
Not published

ALSA-2022:8226: Moderate: python-lxml security update. Affects python3-lxml versions < 4.6.5-3.el9. Fixed in 4.6.5-3.el9. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

lxml is an XML processing library providing access to libxml2 and libxslt libraries using the Python ElementTree API. It is widely used for parsing and manipulating XML and HTML documents. The python3-lxml package in AlmaLinux 9 is affected by a moderate security vulnerability.

Vulnerability Detail

The vulnerability, identified as CVE-2022-2309, is a NULL Pointer Dereference in lxml. This vulnerability could be exploited by an attacker to cause a denial of service (DoS) condition by sending a specially crafted XML document. By exploiting this vulnerability, an attacker may be able to crash the application using lxml library, leading to a disruption of service. The impact of this vulnerability is considered moderate.

How To Fix

Minimum fixed version

4.6.5-3.el9

This is the first release that contains the fix.

sudo dnf update python3-lxml

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Conclusion

In conclusion, the python3-lxml package in AlmaLinux 9 is affected by a moderate security vulnerability (CVE-2022-2309) that could lead to a denial of service condition. It is crucial to update the package to version 4.6.5-3.el9 or later to mitigate the risk. For further support on vulnerability remediation, you can reach out to DevNack.com.

See every vulnerability recorded for python3-lxml →

Share this vulnerability

FAQ

lxml is an XML processing library for Python that provides access to libxml2 and libxslt libraries. It allows developers to parse and manipulate XML and HTML documents.

The vulnerability can be exploited to cause a denial of service (DoS) condition by crashing the application using lxml library. This can lead to a disruption of service.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability. Simply upload your manifest file (e.g., package-lock.json) and Vulert will analyze it for open-source vulnerabilities in real-time.

No specific workaround has been provided for this vulnerability. It is recommended to update the python3-lxml package to the latest version to mitigate the risk.

You can find more information about this vulnerability, including the CVE page, in the AlmaLinux Release Notes linked in the References section of the advisory.

Related vulnerabilities

Recent vulnerabilities recorded for python3-lxml.

How To Fix

Minimum fixed version

4.6.5-3.el9

This is the first release that contains the fix.

sudo dnf update python3-lxml

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback