CVSS 3.1
7.5 highCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HHigh (7.5) in python software foundation cpython. EPSS 0.8% estimated probability of exploitation activity in the next 30 days.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HExplain CVE-2025-8194 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-8194?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-8194?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-8194 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the CNA's record in the CVE List.
| Product | Affected |
|---|---|
| Python Software Foundation CPython | before 3.9.24 |
| Python Software Foundation CPython | from 3.10.0 before 3.10.19 |
| Python Software Foundation CPython | from 3.11.0 before 3.11.14 |
| Python Software Foundation CPython | from 3.12.0 before 3.12.12 |
| Python Software Foundation CPython | from 3.13.0 before 3.13.6 |
| Python Software Foundation CPython | from 3.14.0a1 before 3.14.0rc2 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 11 | python3.9 | 3.9.2-1+deb11u4 | DLA-4445-1 |
| Debian | 12 | python3.11 | 3.11.2-6+deb12u7 | DEBIAN-CVE-2025-8194 |
| Debian | 12, 13 | pypy3 | no fix listed | DEBIAN-CVE-2025-8194 |
| Debian | 13 | python3.13 | 3.13.5-2+deb13u1 | DEBIAN-CVE-2025-8194 |
| Debian | 14 | pypy3 | 7.3.21+dfsg-1 | DEBIAN-CVE-2025-8194 |
| Ubuntu | 22.04:LTS | python3.10 | 3.10.12-1~22.04.11 | UBUNTU-CVE-2025-8194 USN-7710-1 |
| Ubuntu | 24.04:LTS | python3.12 | 3.12.3-1ubuntu0.8 | UBUNTU-CVE-2025-8194 USN-7710-1 |
| Ubuntu | 25.10 | python3.13 | 3.13.6-1 | UBUNTU-CVE-2025-8194 |
| Ubuntu | Pro:14.04:LTS | python2.7 | 2.7.6-8ubuntu0.6+esm26 | UBUNTU-CVE-2025-8194 USN-7710-2 |
| Ubuntu | Pro:14.04:LTS | python3.4 | 3.4.3-1ubuntu1~14.04.7+esm16 | UBUNTU-CVE-2025-8194 USN-7710-1 |
| Ubuntu | Pro:14.04:LTS | python3.5 | 3.5.2-2ubuntu0~16.04.4~14.04.1+esm7 | UBUNTU-CVE-2025-8194 USN-7710-1 |
| Ubuntu | Pro:16.04:LTS | python2.7 | 2.7.12-1ubuntu0~16.04.18+esm17 | UBUNTU-CVE-2025-8194 USN-7710-2 |
| Ubuntu | Pro:16.04:LTS | python3.5 | 3.5.2-2ubuntu0~16.04.13+esm19 | UBUNTU-CVE-2025-8194 USN-7710-1 |
| Ubuntu | Pro:18.04:LTS | python2.7 | 2.7.17-1~18.04ubuntu1.13+esm12 | UBUNTU-CVE-2025-8194 USN-7710-2 |
| Ubuntu | Pro:18.04:LTS | python3.6 | 3.6.9-1~18.04ubuntu1.13+esm6 | UBUNTU-CVE-2025-8194 USN-7710-1 |
| Ubuntu | Pro:18.04:LTS | python3.7 | 3.7.5-2ubuntu1~18.04.2+esm7 | UBUNTU-CVE-2025-8194 USN-7710-1 |
| Ubuntu | Pro:18.04:LTS | python3.8 | 3.8.0-3ubuntu1~18.04.2+esm6 | UBUNTU-CVE-2025-8194 USN-7710-1 |
| 5 more for Ubuntu in the JSON and on Ubuntu's page. | ||||
| Red Hat | enterprise_linux:8::appstream | PyYAML, python39-pyyaml, PyYAML-debugsource and 1 more | 0:5.4.1-1.module+el8.9.0+19644+d68f775d | RHSA-2025:14900 |
| Red Hat | enterprise_linux:8::appstream | mod_wsgi, python39-mod_wsgi | 0:4.7.1-7.module+el8.10.0+23075+0aa18782.1 | RHSA-2025:14900 |
| Red Hat | enterprise_linux:8::appstream | numpy, python39-numpy, numpy-debugsource and 3 more | 0:1.19.4-3.module+el8.9.0+19644+d68f775d | RHSA-2025:14900 |
| Red Hat | enterprise_linux:8::appstream | python-PyMySQL, python39-PyMySQL | 0:0.10.1-2.module+el8.9.0+19644+d68f775d | RHSA-2025:14900 |
| Red Hat | enterprise_linux:8::appstream | python-cffi, python39-cffi, python-cffi-debugsource and 1 more | 0:1.14.3-2.module+el8.9.0+19644+d68f775d | RHSA-2025:14900 |
| Red Hat | enterprise_linux:8::appstream | python-chardet, python39-chardet | 0:3.0.4-19.module+el8.9.0+19644+d68f775d | RHSA-2025:14900 |
| Red Hat | enterprise_linux:8::appstream | python-cryptography, python39-cryptography, python-cryptography-debugsource and 1 more | 0:3.3.1-3.module+el8.10.0+21271+eccd1d86 | RHSA-2025:14900 |
| Red Hat | enterprise_linux:8::appstream | python-idna, python39-idna | 0:2.10-4.module+el8.10.0+21815+bb024982 | RHSA-2025:14900 |
| Red Hat | enterprise_linux:8::appstream | python-lxml, python39-lxml, python-lxml-debugsource and 1 more | 0:4.6.5-1.module+el8.9.0+19644+d68f775d | RHSA-2025:14900 |
| Red Hat | enterprise_linux:8::appstream | python-ply, python39-ply | 0:3.11-10.module+el8.9.0+19644+d68f775d | RHSA-2025:14900 |
| Red Hat | enterprise_linux:8::appstream | python-psutil, python39-psutil, python-psutil-debugsource and 1 more | 0:5.8.0-4.module+el8.9.0+19644+d68f775d | RHSA-2025:14900 |
| Red Hat | enterprise_linux:8::appstream | python-psycopg2, python39-psycopg2, python39-psycopg2-doc and 3 more | 0:2.8.6-3.module+el8.10.0+21142+453d2b75 | RHSA-2025:14900 |
| 128 more for Red Hat in the JSON and on Red Hat's page. | ||||
| SUSE | Enterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise High Performance Computing 15 SP4-ESPOS and 19 more | python3-core | 3.6.15-150300.10.97.1 | SUSE-SU-2025:02778-1 |
| SUSE | Enterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise High Performance Computing 15 SP4-ESPOS and 17 more | python3 | 3.6.15-150300.10.97.2 | SUSE-SU-2025:02778-1 |
| SUSE | Linux Enterprise Micro 5.1 | python3 | 3.6.15-150000.3.185.2 | SUSE-SU-2025:02787-1 |
| SUSE | Linux Enterprise Micro 5.1 | python3-core | 3.6.15-150000.3.185.1 | SUSE-SU-2025:02787-1 |
| SUSE | Linux Enterprise Module for Basesystem 15 SP6, Linux Enterprise Module for Basesystem 15 SP7, Linux Enterprise Module for Python 3 15 SP6 and 1 more | python311-core | 3.11.13-150600.3.35.1 | SUSE-SU-2025:02717-1 |
| SUSE | Linux Enterprise Module for Package Hub 15 SP6, Linux Enterprise Module for Package Hub 15 SP7 | python, python-base | 2.7.18-150000.83.1 | SUSE-SU-2025:02701-1 |
| SUSE | Linux Enterprise Module for Public Cloud 15 SP4 | python311 | 3.11.13-150400.9.66.2 | SUSE-SU-2025:02984-1 |
| SUSE | Linux Enterprise Module for Public Cloud 15 SP4 | python311-core | 3.11.13-150400.9.66.1 | SUSE-SU-2025:02984-1 |
| SUSE | Linux Enterprise Module for Python 3 15 SP6 | python312, python312-core | 3.12.11-150600.3.36.1 | SUSE-SU-2025:02982-1 |
| SUSE | Linux Enterprise Module for Python 3 15 SP6, Linux Enterprise Module for Python 3 15 SP7 | python311 | 3.11.13-150600.3.35.2 | SUSE-SU-2025:02717-1 |
| SUSE | Linux Enterprise Module for Python 3 15 SP7 | python313, python313-core | 3.13.5-150700.4.20.1 | SUSE-SU-2025:02767-1 |
| SUSE | Linux Enterprise Module for Python 3 15 SP7 | python313, python313-core | 3.13.7-150700.4.23.1 | SUSE-SU-2025:3706-1 |
| 7 more for SUSE in the JSON and on SUSE's page. | ||||
| openSUSE | Leap 15.6 | python, python-doc, python-base | 2.7.18-150000.83.1 | SUSE-SU-2025:02701-1 |
| openSUSE | Leap 15.6 | python3 | 3.6.15-150300.10.97.2 | SUSE-SU-2025:02778-1 |
| openSUSE | Leap 15.6 | python3-core, python3-documentation | 3.6.15-150300.10.97.1 | SUSE-SU-2025:02778-1 |
| openSUSE | Leap 15.6 | python310, python310-core, python310-documentation | 3.10.18-150400.4.88.1 | SUSE-SU-2025:02948-1 |
| openSUSE | Leap 15.6 | python311 | 3.11.13-150600.3.35.2 | SUSE-SU-2025:02717-1 |
| openSUSE | Leap 15.6 | python311-core, python311-documentation | 3.11.13-150600.3.35.1 | SUSE-SU-2025:02717-1 |
| openSUSE | Leap 15.6 | python312, python312-core, python312-documentation | 3.12.11-150600.3.36.1 | SUSE-SU-2025:02982-1 |
| openSUSE | Leap 15.6 | python39, python39-core, python39-documentation | 3.9.23-150300.4.81.1 | SUSE-SU-2025:02700-1 |
| openSUSE | Leap 16.0 | python313, python313-core, python313-nogil and 2 more | 3.13.11-160000.1.1 | openSUSE-SU-2026:20081-1 |
| openSUSE | Tumbleweed | python310 | 3.10.18-4.1 | openSUSE-SU-2025:15402-1 |
| openSUSE | Tumbleweed | python311 | 3.11.13-4.1 | openSUSE-SU-2025:15407-1 |
| openSUSE | Tumbleweed | python312 | 3.12.11-4.1 | openSUSE-SU-2025:15408-1 |
| 4 more for openSUSE in the JSON and on openSUSE's page. | ||||
| AlmaLinux | 8 | python3-idle, python3-libs, python3-test and 4 more | 3.6.8-71.el8_10.alma.1 | ALSA-2025:14560 |
| AlmaLinux | 8 | python3.11, python3.11-idle, python3.11-libs and 5 more | 3.11.13-2.el8_10 | ALSA-2025:14841 |
| AlmaLinux | 8 | python3.12, python3.12-idle, python3.12-libs and 5 more | 3.12.11-2.el8_10 | ALSA-2025:14546 |
| AlmaLinux | 8 | python39, python39-idle, python39-libs and 5 more | 3.9.20-2.module_el8.10.0+4040+9207bbc0 | ALSA-2025:14900 |
| AlmaLinux | 8 | python39-Cython | 0.29.21-5.module_el8.6.0+2780+a40f65e1 | ALSA-2025:14900 |
| AlmaLinux | 8 | python39-Cython | 0.29.21-5.module_el8.6.0+3248+c431e88c | ALSA-2025:14900 |
| AlmaLinux | 8 | python39-PyMySQL | 0.10.1-2.module_el8.6.0+2780+a40f65e1 | ALSA-2025:14900 |
| AlmaLinux | 8 | python39-attrs | 20.3.0-2.module_el8.6.0+2780+a40f65e1 | ALSA-2025:14900 |
| AlmaLinux | 8 | python39-cffi | 1.14.3-2.module_el8.6.0+2780+a40f65e1 | ALSA-2025:14900 |
| AlmaLinux | 8 | python39-cffi | 1.14.3-2.module_el8.6.0+3248+c431e88c | ALSA-2025:14900 |
| AlmaLinux | 8 | python39-chardet | 3.0.4-19.module_el8.6.0+2780+a40f65e1 | ALSA-2025:14900 |
| AlmaLinux | 8 | python39-cryptography | 3.3.1-3.module_el8.10.0+3765+2f9a457d | ALSA-2025:14900 |
| 36 more for AlmaLinux in the JSON. | ||||
| Rocky Linux | 8 | Cython | 0:0.29.21-5.module+el8.10.0+1582+bc278001 | RLSA-2025:14900 |
| Rocky Linux | 8 | Cython | 0:0.29.21-5.module+el8.10.0+1860+afcc1c71 | RLSA-2025:14900 |
| Rocky Linux | 8 | PyYAML | 0:5.4.1-1.module+el8.10.0+1582+bc278001 | RLSA-2025:14900 |
| Rocky Linux | 8 | PyYAML | 0:5.4.1-1.module+el8.10.0+1860+afcc1c71 | RLSA-2025:14900 |
| Rocky Linux | 8 | PyYAML | 0:5.4.1-1.module+el8.9.0+1418+f0d66789 | RLSA-2025:14900 |
| Rocky Linux | 8 | mod_wsgi | 0:4.7.1-7.module+el8.10.0+1582+bc278001 | RLSA-2025:14900 |
| Rocky Linux | 8 | mod_wsgi | 0:4.7.1-7.module+el8.10.0+1860+afcc1c71 | RLSA-2025:14900 |
| Rocky Linux | 8 | mod_wsgi | 0:4.7.1-7.module+el8.10.0+1978+d4f111ba.1 | RLSA-2025:14900 |
| Rocky Linux | 8 | numpy | 0:1.19.4-3.module+el8.10.0+1582+bc278001 | RLSA-2025:14900 |
| Rocky Linux | 8 | numpy | 0:1.19.4-3.module+el8.10.0+1860+afcc1c71 | RLSA-2025:14900 |
| Rocky Linux | 8 | pybind11 | 0:2.7.1-1.module+el8.9.0+1357+a3b80af7 | RLSA-2025:14900 |
| Rocky Linux | 8 | pytest | 0:6.0.2-2.module+el8.10.0+1582+bc278001 | RLSA-2025:14900 |
| 43 more for Rocky Linux in the JSON. | ||||
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.
Red Hat rates this Moderate.
To exploit this issue, an attacker needs to be able to process a specially crafted tar archive with a Python application using the tarfile module. Furthermore, this vulnerability will cause a denial of service with no other security impact.
This flaw can be mitigated by adding the following code after importing the tarfile module ("import tarfile"):
~~~
import tarfile
def _block_patched(self, count):
if count < 0: # pragma: no cover
raise tarfile.InvalidHeaderError("invalid offset")
return _block_patched._orig_block(self, count)
_block_patched._orig_block = tarfile.TarInfo._block
tarfile.TarInfo._block = _block_patched
~~~
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 10 | python3.12-0:3.12.9-2.el10_0.3 | Fixed 2025-09-02 | RHSA-2025:14984 |
| Red Hat Enterprise Linux 7 Extended Lifecycle Support | python3-0:3.6.8-21.el7_9.2 | Fixed 2025-09-17 | RHSA-2025:16117 |
| Red Hat Enterprise Linux 8 | python3.12-0:3.12.11-2.el8_10 | Fixed 2025-08-26 | RHSA-2025:14546 |
| Red Hat Enterprise Linux 8 | python3-0:3.6.8-71.el8_10 | Fixed 2025-08-26 | RHSA-2025:14560 |
| Red Hat Enterprise Linux 8 | python3.11-0:3.11.13-2.el8_10 | Fixed 2025-08-28 | RHSA-2025:14841 |
| Red Hat Enterprise Linux 8 | python39:3.9-8100020250823160619.d47b87a4 | Fixed 2025-08-28 | RHSA-2025:14900 |
| Red Hat Enterprise Linux 8 | python39-devel:3.9-8100020250823160619.d47b87a4 | Fixed 2025-08-28 | RHSA-2025:14900 |
| Red Hat Enterprise Linux 8.2 Advanced Update Support | python3-0:3.6.8-24.el8_2.4 | Fixed 2025-09-22 | RHSA-2025:16262 |
| Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support | python39:3.9-8040020250909092632.63cd9eba | Fixed 2025-09-17 | RHSA-2025:16078 |
| Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support | python3-0:3.6.8-39.el8_4.7 | Fixed 2025-09-18 | RHSA-2025:16151 |
| Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On | python39:3.9-8040020250909092632.63cd9eba | Fixed 2025-09-17 | RHSA-2025:16078 |
| Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On | python3-0:3.6.8-39.el8_4.7 | Fixed 2025-09-18 | RHSA-2025:16151 |
| Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support | python3-0:3.6.8-47.el8_6.9 | Fixed 2025-09-16 | RHSA-2025:15968 |
| Red Hat Enterprise Linux 6 | python | Not affected | |
| Red Hat Enterprise Linux 7 | python | Not affected | |
| Red Hat Enterprise Linux 8 | python36:3.6/python36 | Affected | |
| Red Hat Enterprise Linux AI (RHEL AI) | rhelai1/granite-3.1-8b-lab-v2.1 | Will not fix | |
| Red Hat Enterprise Linux AI (RHEL AI) | rhelai1/granite-3.1-8b-starter-v2.1 | Will not fix | |
| Red Hat Enterprise Linux AI (RHEL AI) | rhelai1/modelcar-granite-3-1-8b-lab-v2-1 | Will not fix | |
| Red Hat Enterprise Linux AI (RHEL AI) | rhelai1/modelcar-granite-3-1-8b-starter-v2-1 | Will not fix | |
| 31 more in the JSON and on Red Hat's page. | |||
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-8194.