Critical Vulnerability in Python 2.7: Denial of Service Risks

python2.7 Updated 03 Oct 2025

Summary

29/08/2025
N/A
Yes i
Unrated
Not published

USN-7710-2: python2.7 vulnerability. Affects python2.7 versions < 2.7.6-8ubuntu0.6+esm26. Fixed in 2.7.6-8ubuntu0.6+esm26. 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

Python 2.7 is a widely-used programming language known for its simplicity and versatility in various applications, including web development, data analysis, and automation. Despite its popularity, Python 2.7 has reached the end of its life, making it susceptible to unpatched vulnerabilities. This specific vulnerability allows attackers to exploit the language's handling of HTML and Tar archives, leading to potential denial of service attacks.

Vulnerability Detail

The vulnerability arises from inefficient parsing of maliciously crafted HTML input and Tar archives within Python 2.7. Attackers can exploit this flaw to cause a denial of service, potentially disrupting applications that rely on Python for processing. The issues are identified as CVE-2025-6069 and CVE-2025-8194, which highlight the critical nature of the vulnerabilities and their potential impact on system stability and security.

How To Fix

Minimum fixed version

2.7.6-8ubuntu0.6+esm26

This is the first release that contains the fix.

sudo apt-get install --only-upgrade python2.7

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

Workaround

As a temporary workaround, consider limiting the input size for HTML and Tar file processing in your applications to mitigate the risk of denial of service attacks. Additionally, monitor your applications for unusual behavior that may indicate an attempted exploit.

Conclusion

In summary, the vulnerabilities in Python 2.7 pose significant risks, particularly regarding denial of service attacks. It is crucial to update to the latest patched version to mitigate these risks. Utilizing tools like Vulert can aid in monitoring and managing vulnerabilities effectively.

See every vulnerability recorded for python2.7 →

Share this vulnerability

FAQ

The vulnerability involves inefficient parsing of malicious HTML and Tar archives, which can lead to denial of service.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.

Yes, patches are available for various versions of Python 2.7. Updating to the latest patched version is recommended.

Failure to address this vulnerability may result in denial of service attacks, causing disruptions to applications and services relying on Python 2.7.

Vulert monitors and alerts in real-time for open-source vulnerabilities in software using a manifest file like package-lock.json, helping you maintain secure applications.

Related vulnerabilities

Recent vulnerabilities recorded for python2.7.

How To Fix

Minimum fixed version

2.7.6-8ubuntu0.6+esm26

This is the first release that contains the fix.

sudo apt-get install --only-upgrade python2.7

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