Moderate Security Update for Python 3.12: CVE-2025-8194 Infinite Loop Vulnerability

python3.12 Updated 04 Oct 2025

Summary

03/10/2025
N/A
Yes i
High
7.5

RLSA-2025:14984: Moderate: python3.12 security update. Affects python3.12 versions < 0:3.12.9-2.el10_0.3. Fixed in 0:3.12.9-2.el10_0.3. 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 is a widely-used interpreted, interactive, object-oriented programming language known for its simplicity and versatility. It supports modules, classes, exceptions, and high-level dynamic data types, making it suitable for various applications, from web development to data analysis. The vulnerability in question affects Python 3.12, specifically in its handling of tarfile parsing, which can lead to an infinite loop under certain conditions.

Vulnerability Detail

The vulnerability, identified as CVE-2025-8194, arises from an infinite loop in the CPython implementation when parsing tarfiles. This flaw can potentially lead to denial of service, as the affected application may become unresponsive. The issue is particularly concerning for applications that rely on tarfile processing, as it can be exploited by an attacker to disrupt service availability. The CVSS score for this vulnerability is 7.5, indicating a moderate severity level.

How To Fix

Minimum fixed version

0:3.12.9-2.el10_0.3

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, you may avoid processing untrusted tarfiles until the package is updated. This can help mitigate the risk of exploitation until the patch is applied.

Conclusion

In summary, CVE-2025-8194 is a moderate severity vulnerability affecting Python 3.12, which can lead to denial of service through an infinite loop when parsing tarfiles. It is crucial to update to the patched version to mitigate this risk. Utilize tools like Vulert to monitor for vulnerabilities in your applications.

See every vulnerability recorded for python3.12 →

Share this vulnerability

FAQ

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

You can use the Vulert platform to check if your application is affected by this vulnerability. Simply upload your manifest file like package-lock.json to monitor for vulnerabilities.

The CVSS score for CVE-2025-8194 is 7.5, indicating a moderate severity level.

If you cannot update Python immediately, avoid processing untrusted tarfiles as a temporary workaround to mitigate the risk.

For more details, refer to the CVE page associated with CVE-2025-8194, which provides in-depth information about the vulnerability and its impact.

Related vulnerabilities

Recent vulnerabilities recorded for python3.12.

How To Fix

Minimum fixed version

0:3.12.9-2.el10_0.3

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