Moderate Security Update for Python 3.12: CVE-2025-8194 Infinite Loop Vulnerability
Summary
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 ↓
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.
No signup required · Results in about 60 seconds
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 →
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.