CVE-2025-8194: python software foundation cpython Infinite Loop
Vulnerability summary
CVE-2025-8194 is a high (CVSS 7.5) Infinite Loop vulnerability in python software foundation cpython. EPSS estimates a 0.71% chance of exploitation in the next 30 days, higher than 52.6% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 13 · Related 11Timeline
- 28-07-2025PublishedVulnerability first disclosed.
- 31-07-2026Last modifiedVulnerability information updated.
Description
There is a defect in the CPython “tarfile” module affecting the “TarFile” extraction and entry enumeration APIs. The tar implementation would process tar archives with negative offsets without error, resulting in an infinite loop and deadlock during the parsing of maliciously crafted tar archives. This vulnerability can be mitigated by including the following patch after importing the “tarfile” module: https://gist.github.com/sethmlarson/1716ac5b82b73dbcbf23ad2eff8b33e1
CVSS metrics
7 scores · 7 sources · 1 version- OSV · Red hatEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · UbuntuEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · WolfiEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · ChainguardEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- NVDNIST7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
0.71%
Chance of exploitation in the next 30 days
Percentile
53%
Versus all other CVEs
30-day change
+0.07 pp
From 0.64% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Redhat109 products
- mod_wsgi< 0:4.7.1-5.module+el8.7.0+16654+645aad7f | < 0:4.7.1-4.module+el8.4.0+9822+20bf1249
- numpy< 0:1.19.4-2.module+el8.4.0+15042+dc5a279b.1 | < 0:1.19.4-3.module+el8.5.0+12204+54860423
- numpy-debugsource< 0:1.19.4-2.module+el8.4.0+15042+dc5a279b.1 | < 0:1.19.4-3.module+el8.5.0+12204+54860423
- platform-python< 0:3.6.8-71.el8_10 | < 0:3.6.8-47.el8_6.9 | < 0:3.6.8-39.el8_4.7 | < 0:3.6.8-51.el8_8.11 | < 0:3.6.8-24.el8_2.4
- platform-python-debug< 0:3.6.8-71.el8_10 | < 0:3.6.8-47.el8_6.9 | < 0:3.6.8-39.el8_4.7 | < 0:3.6.8-51.el8_8.11 | < 0:3.6.8-24.el8_2.4
Suse19 products
- python-base&distro=SUSE Linux Enterprise Module for Package Hub 15 SP6< 2.7.18-150000.83.1
- python-base&distro=SUSE Linux Enterprise Module for Package Hub 15 SP7< 2.7.18-150000.83.1
- python-base&distro=SUSE Linux Enterprise Server LTSS Extended Security 12 SP5< 2.7.18-33.53.1
- python-doc&distro=SUSE Linux Enterprise Server LTSS Extended Security 12 SP5< 2.7.18-33.53.1
- python3-core&distro=SUSE Linux Enterprise Micro 5.1< 3.6.15-150000.3.185.1
Opensuse18 products
- python-base&distro=openSUSE Leap 15.6< 2.7.18-150000.83.1
- python-doc&distro=openSUSE Leap 15.6< 2.7.18-150000.83.1
- python310-core&distro=openSUSE Leap 15.6< 3.10.18-150400.4.88.1
- python310-documentation&distro=openSUSE Leap 15.6< 3.10.18-150400.4.88.1
- python310&distro=openSUSE Leap 15.6< 3.10.18-150400.4.88.1
Ubuntu11 products
- python2.7< 2.7.6-8ubuntu0.6+esm26 | < 2.7.12-1ubuntu0~16.04.18+esm17 | < 2.7.17-1~18.04ubuntu1.13+esm12 | < 2.7.18-1~20.04.7+esm8 | < 2.7.18-13ubuntu1.5+esm7
- python3.10< 3.10.12-1~22.04.11
- python3.11< 3.11.0~rc1-1~22.04.1~esm5
- python3.12< 3.12.3-1ubuntu0.8
- python3.13< 3.13.6-1
Chainguard5 products
- python-3.10< 3.10.19-r0
- python-3.11< 3.11.13-r4
- python-3.12< 3.12.11-r6
- python-3.13< 3.13.6-r0
- python-3.9< 3.9.25-r0
Wolfi4 products
- python-3.10< 3.10.19-r0
- python-3.11< 3.11.13-r4
- python-3.12< 3.12.11-r6
- python-3.13< 3.13.6-r0
Debian3 products
- pypy3All versions (No fix recorded) | < 7.3.21+dfsg-1
- python3.11< 3.11.2-6+deb12u7
- python3.13< 3.13.5-2+deb13u1 | < 3.13.6-1
Python software foundation1 product
- cpython< 3.9.24 | ≥ 3.10.0, < 3.10.19 | ≥ 3.11.0, < 3.11.14 | ≥ 3.12.0, < 3.12.12 | ≥ 3.13.0, < 3.13.6 | ≥ 3.14.0a1, < 3.14.0rc2
8 vendors · 170 products
References
80 links- mail.python.org/archives/list/security-announce@python.org/thread/ZULLF3IZ726XP5EY7XJ7YIN3K5MDYR2D/Vendor AdvisoryARTICLEREPORTAdvisory
Show all 80 references
- github.com/python/cpythonPACKAGE