Moderate Security Update for Python 3.12: Infinite Loop Vulnerability in Tarfile Parsing

python3.12 Updated 02 Oct 2025

Summary

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

ALSA-2025:14546: Moderate: python3.12 security update. Affects python3.12 versions < 3.12.11-2.el8_10. Fixed in 3.12.11-2.el8_10. 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 an interpreted, interactive, object-oriented programming language that supports modules, classes, exceptions, and dynamic data types. It is widely used for various applications, from web development to data analysis. The affected package, Python 3.12, includes essential libraries and tools for developers. However, it has been identified to have a security vulnerability that could lead to an infinite loop when parsing tarfiles, potentially causing denial of service.

Vulnerability Detail

The vulnerability, identified as CVE-2025-8194, originates from an issue in the CPython implementation. When a tarfile is parsed, the interpreter may enter an infinite loop, which can lead to resource exhaustion and denial of service. This vulnerability can be exploited by an attacker who can craft a malicious tarfile, leading to significant operational disruptions.

How To Fix

Minimum fixed version

3.12.11-2.el8_10

This is the first release that contains the fix.

sudo dnf update python3.12

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 tarfiles until the package is updated. If you must handle such files, consider implementing additional validation checks to mitigate the risk of entering an infinite loop.

Conclusion

The identified vulnerability in Python 3.12 poses a moderate risk due to its potential to cause denial of service through infinite loops in tarfile parsing. It is essential to update to the patched version to ensure the security and stability of applications relying on this package.

See every vulnerability recorded for python3.12 →

Share this vulnerability

FAQ

CVE-2025-8194 is a security vulnerability in Python 3.12 that can cause an infinite loop when parsing tarfiles, potentially leading to denial of service.

You can use Vulert to monitor and alert for open-source vulnerabilities in your software. Visit Vulert Scanner to check if your application is affected without needing to sign up.

Exploiting this vulnerability can lead to resource exhaustion, causing applications to become unresponsive and potentially affecting the overall system performance.

Yes, a patch is available in the form of an updated package version 3.12.11-2.el8_10. It is crucial to update to this version to mitigate the risk.

If immediate updates are not possible, avoid processing untrusted tarfiles and implement additional validation checks to reduce the risk of exploitation.

Related vulnerabilities

Recent vulnerabilities recorded for python3.12.

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.12.11-2.el8_10

This is the first release that contains the fix.

sudo dnf update python3.12

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