Vulnerability
CVE-2025-8194
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
104 advisories report this vulnerability, across 14 ecosystems.
Advisories
-
ALAS2-2025-2961
Amazon Linux 2 2017.12 - ALAS2-2025-2961: important priority package update for python
-
ALAS2-2025-2962
Amazon Linux 2 2017.12 - ALAS2-2025-2962: important priority package update for python3
-
ALAS2023-2025-1135
Amazon Linux 2023 - ALAS2023-2025-1135: Important priority package update for python3.12
-
ALAS2023-2025-1136
Amazon Linux 2023 - ALAS2023-2025-1136: Important priority package update for python3.11
-
ALAS2023-2025-1146
Amazon Linux 2023 - ALAS2023-2025-1146: Important priority package update for python3.9
-
ALAS2023-2025-1147
Amazon Linux 2023 - ALAS2023-2025-1147: Important priority package update for python3.13
-
ALSA-2025:14546
Moderate: python3.12 security update
-
ALSA-2025:14560
Moderate: python3 security update
-
ALSA-2025:14841
Moderate: python3.11 security update
-
ALSA-2025:14900
Moderate: python39:3.9 security update
-
ALSA-2025:14984
Moderate: python3.12 security update
-
ALSA-2025:15007
Moderate: python3.12 security update
-
ALSA-2025:15010
Moderate: python3.11 security update
-
ALSA-2025:15019
Moderate: python3.9 security update
-
AZL-65984
CVE-2025-8194 affecting package python3 for versions less than 3.9.19-15
-
AZL-65987
CVE-2025-8194 affecting package python3 for versions less than 3.12.9-4
- CGA-5p29-vw55-3g6w
- CGA-68p7-mpw5-jv6r
- CGA-8685-g7pq-mm2g
- CGA-8mhj-vvxg-49q9
- CGA-g96r-56xg-qjrh
- CGA-gpx3-xp28-32xw
- CGA-h5mr-vfp3-hqw6
- CGA-j3w5-3rfq-jx9c
- CGA-j7fg-3gp6-qq35
- CGA-q4cj-38h5-5hhw
-
CNA-CVE-2025-8194
Tarfile infinite loop during parsing with negative member offset
-
DEBIAN-CVE-2025-8194
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…
-
DLA-4445-1
python3.9 - security update
-
ELSA-2025-14546
ELSA-2025-14546: python3.12 security update (MODERATE)
-
ELSA-2025-14560
ELSA-2025-14560: python3 security update (MODERATE)
-
ELSA-2025-14841
ELSA-2025-14841: python3.11 security update (MODERATE)
-
ELSA-2025-14900
ELSA-2025-14900: python39:3.9 security update (MODERATE)
-
ELSA-2025-14984
ELSA-2025-14984: python3.12 security update (MODERATE)
-
ELSA-2025-15007
ELSA-2025-15007: python3.12 security update (MODERATE)
-
ELSA-2025-15010
ELSA-2025-15010: python3.11 security update (MODERATE)
-
ELSA-2025-15019
ELSA-2025-15019: python3.9 security update (MODERATE)
-
ELSA-2025-16117
ELSA-2025-16117: python3 security update (MODERATE)
-
OESA-2025-2100
python3 security update
-
OESA-2025-2101
python3 security update
-
OESA-2025-2102
python3 security update
-
OESA-2025-2103
python3 security update
-
OESA-2025-2290
python3 security update
-
RHSA-2025:14546
Red Hat Security Advisory: python3.12 security update
-
RHSA-2025:14560
Red Hat Security Advisory: python3 security update
-
RHSA-2025:14841
Red Hat Security Advisory: python3.11 security update
-
RHSA-2025:14900
Red Hat Security Advisory: python39:3.9 security update
-
RHSA-2025:14984
Red Hat Security Advisory: python3.12 security update
-
RHSA-2025:15007
Red Hat Security Advisory: python3.12 security update
-
RHSA-2025:15010
Red Hat Security Advisory: python3.11 security update
-
RHSA-2025:15019
Red Hat Security Advisory: python3.9 security update
-
RHSA-2025:15348
Red Hat Security Advisory: python3.12 security update
-
RHSA-2025:15724
Red Hat Security Advisory: python3.9 security update
-
RHSA-2025:15800
Red Hat Security Advisory: python3.9 security update
-
RHSA-2025:15968
Red Hat Security Advisory: python3 security update
-
RHSA-2025:16012
Red Hat Security Advisory: python3.11 security update
-
RHSA-2025:16016
Red Hat Security Advisory: python3.11 security update
-
RHSA-2025:16031
Red Hat Security Advisory: python3.11 security update
-
RHSA-2025:16062
Red Hat Security Advisory: python39:3.9 security update
-
RHSA-2025:16078
Red Hat Security Advisory: python39:3.9 security update
-
RHSA-2025:16117
Red Hat Security Advisory: python3 security update
-
RHSA-2025:16118
Red Hat Security Advisory: python39:3.9 security update
-
RHSA-2025:16151
Red Hat Security Advisory: python3 security update
-
RHSA-2025:16152
Red Hat Security Advisory: python3.9 security update
-
RHSA-2025:16153
Red Hat Security Advisory: python3 security update
-
RHSA-2025:16262
Red Hat Security Advisory: python3 security update
-
RHVEX-CVE-2025-8194
cpython: Cpython infinite loop when parsing a tarfile
-
RLSA-2025:14546
Moderate: python3.12 security update
-
RLSA-2025:14560
Moderate: python3 security update
-
RLSA-2025:14841
Moderate: python3.11 security update
-
RLSA-2025:14900
Moderate: python39:3.9 security update
-
RLSA-2025:14984
Moderate: python3.12 security update
-
RLSA-2025:15007
Moderate: python3.12 security update
-
RLSA-2025:15010
Moderate: python3.11 security update
-
RLSA-2025:15019
Moderate: python3.9 security update
-
SUSE-SU-2025:02700-1
Security update for python39
-
SUSE-SU-2025:02701-1
Security update for python
-
SUSE-SU-2025:02717-1
Security update for python311
-
SUSE-SU-2025:02767-1
Security update for python313
-
SUSE-SU-2025:02778-1
Security update for python3
-
SUSE-SU-2025:02787-1
Security update for python3
-
SUSE-SU-2025:02802-1
Security update for python3
-
SUSE-SU-2025:02948-1
Security update for python310
-
SUSE-SU-2025:02982-1
Security update for python312
-
SUSE-SU-2025:02983-1
Security update for python36
-
SUSE-SU-2025:02984-1
Security update for python311
-
SUSE-SU-2025:03032-1
Security update for python
-
SUSE-SU-2025:20631-1
Security update for python311
-
SUSE-SU-2025:20749-1
Security update for python311
-
SUSE-SU-2025:3706-1
Security update for python313
-
SUSE-SU-2026:20125-1
Security update for python313
-
SUSE-SU-2026:20154-1
Security update for python313
-
SUSEVEX-CVE-2025-8194
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…
-
UBUNTU-CVE-2025-8194
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…
-
USN-7710-1
python3.13, python3.12, python3.11, python3.10, python3.9, python3.8, python3.7, python3.6, python3.5, python3.4 vulnerabilities
-
USN-7710-2
python2.7 vulnerability
-
openSUSE-SU-2025:15402-1
python310-3.10.18-4.1 on GA media
-
openSUSE-SU-2025:15403-1
python314-3.14.0~rc1-2.1 on GA media
-
openSUSE-SU-2025:15404-1
python39-3.9.23-4.1 on GA media
-
openSUSE-SU-2025:15407-1
python311-3.11.13-4.1 on GA media
Showing the first 100. The API lists them all: /api/v1/vulnerabilities/CVE-2025-8194.
References
- https://gist.github.com/sethmlarson/1716ac5b82b73dbcbf23ad2eff8b33e1
- https://github.com/python/cpython/commit/57f5981d6260ed21266e0c26951b8564cc252bc2
- https://github.com/python/cpython/commit/7040aa54f14676938970e10c5f74ea93cd56aa38
- https://github.com/python/cpython/commit/73f03e4808206f71eb6b92c579505a220942ef19
- https://github.com/python/cpython/commit/b4ec17488eedec36d3c05fec127df71c0071f6cb
- https://github.com/python/cpython/commit/c9d9f78feb1467e73fd29356c040bde1c104f29f
- https://github.com/python/cpython/commit/cdae923ffe187d6ef916c0f665a31249619193fe
- https://github.com/python/cpython/commit/fbc2a0ca9ac8aff6887f8ddf79b87b4510277227
- https://github.com/python/cpython/issues/130577
- https://github.com/python/cpython/pull/137027
- https://mail.python.org/archives/list/[email protected]/thread/ZULLF3IZ726XP5EY7XJ7YIN3K5MDYR2D/
- http://www.openwall.com/lists/oss-security/2025/07/28/1
- http://www.openwall.com/lists/oss-security/2025/07/28/2