Moderate Vulnerability in Python 3.9: Denial of Service Risk via xml.dom.minidom

python-unversioned-command Updated 30 Jan 2026

Summary

28/01/2026
N/A
Yes i
Unrated
Not published

ALSA-2026:1478: Moderate: python3.9 security update. Affects python-unversioned-command versions < 3.9.25-3.el9_7. Fixed in 3.9.25-3.el9_7. 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 Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

Python is a widely-used interpreted, interactive, object-oriented programming language known for its simplicity and versatility. It supports various system calls and libraries, making it a popular choice for developers. The affected package, Python 3.9, includes features such as modules, classes, and dynamic typing, but it has been identified to have a security flaw in the xml.dom.minidom module that can lead to a denial of service.

Vulnerability Detail

The vulnerability arises from a quadratic algorithm in the xml.dom.minidom module of Python 3.9, which can be exploited to cause a denial of service. This means that an attacker could craft specific XML input that, when processed, would significantly degrade the performance of the application or even crash it. The issue is tracked under CVE-2025-12084, highlighting its potential impact on applications relying on this module for XML processing.

How To Fix

Minimum fixed version

3.9.25-3.el9_7

This is the first release that contains the fix.

sudo dnf update python-unversioned-command

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

Workaround

As a temporary workaround, avoid processing untrusted XML input or limit the size and complexity of XML documents being processed by your application until the update can be applied.

Conclusion

In summary, the identified vulnerability in Python 3.9 poses a moderate risk of denial of service due to a flaw in the xml.dom.minidom module. It is crucial to update the affected packages to the patched version to ensure the security and stability of your applications. Utilizing tools like Vulert can help in monitoring and managing vulnerabilities effectively.

See every vulnerability recorded for python-unversioned-command →

Share this vulnerability

FAQ

The vulnerability is a denial of service risk caused by a quadratic algorithm in the xml.dom.minidom module of Python 3.9.

You can check if your application is affected by using Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to use the Vulert playground without signup.

If left unaddressed, the vulnerability could allow attackers to exploit your application, leading to performance degradation or crashes.

Yes, you should update to version 3.9.25-3.el9_7 or later to mitigate the vulnerability.

Yes, Vulert can monitor various open-source vulnerabilities in your software using just a manifest file like package-lock.json.

Related vulnerabilities

Recent vulnerabilities recorded for python-unversioned-command.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

How To Fix

Minimum fixed version

3.9.25-3.el9_7

This is the first release that contains the fix.

sudo dnf update python-unversioned-command

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