CVE-2025-8194
Tarfile infinite loop during parsing with negative member offset
02 Description
Tarfile infinite loop during parsing with negative member offset
03 Exploitation and scoring
- Exploitation
- Assessed, none found. CISA's assessment recorded neither public exploit code nor evidence of exploitation when it was made.
- SSVC decision
- ExploitationnoneCISA recorded no public exploit code and no evidence of exploitation.
- AutomatableyesAn attacker can reliably automate reconnaissance through exploitation, so this scales.
- Technical ImpactpartialSuccessful exploitation gives limited control of the vulnerable component.
- EPSS probability
- 0.70% probability of exploitation activity in the next 30 days.
- EPSS percentile
- Equal to or higher than the score of 53.1% of scored records. A rank, not a probability.
- NVD base score
- 7.5 (CVSS v3.x), scored by the NVD independently of the CNA.
- NVD CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- NVD analysis status
- Deferred. NVD last modified this record on 2026-07-31.
- Red Hat severity
- Moderate. Red Hat's rating for its own products, not a CVSS rating.
Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.
04 Metadata
- Published
- 2025-07-28 18:42Z1 YR AGO
- Last updated
- 2026-07-31 14:01Z3 MO AGO
- Reserved
- 2025-07-25
- Assigning CNA
- PSF
- Record state
- PUBLISHED
- Severity
- High (CVSS 7.5)
- CNA CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Weaknesses
- CWE-835Loop with Unreachable Exit Condition ('Infinite Loop')Base
- Data version
- 5.2
- Document digest
- ff43a679374bf8af90daf7c1906938ff9d52909d18976737ae9cd0a8f5b0e817
05 Affected products
06 References
- github.comhttps://github.com/python/cpython/issues/130577
- github.comhttps://github.com/python/cpython/pull/137027
- mail.python.orghttps://mail.python.org/archives/list/security-announce@python.org/thread/ZULLF3IZ726XP5EY7XJ7YIN3K5MDYR2D/
- github.comhttps://github.com/python/cpython/commit/7040aa54f14676938970e10c5f74ea93cd56aa38
- github.comhttps://github.com/python/cpython/commit/cdae923ffe187d6ef916c0f665a31249619193fe
- gist.github.comhttps://gist.github.com/sethmlarson/1716ac5b82b73dbcbf23ad2eff8b33e1
- github.comhttps://github.com/python/cpython/commit/c9d9f78feb1467e73fd29356c040bde1c104f29f
- github.comhttps://github.com/python/cpython/commit/fbc2a0ca9ac8aff6887f8ddf79b87b4510277227
- github.comhttps://github.com/python/cpython/commit/57f5981d6260ed21266e0c26951b8564cc252bc2
- github.comhttps://github.com/python/cpython/commit/73f03e4808206f71eb6b92c579505a220942ef19
- github.comhttps://github.com/python/cpython/commit/b4ec17488eedec36d3c05fec127df71c0071f6cb
- www.openwall.comhttp://www.openwall.com/lists/oss-security/2025/07/28/1
- www.openwall.comhttp://www.openwall.com/lists/oss-security/2025/07/28/2
07 Fixed in
AlmaLinux 8
- platform-python Fixed in 3.6.8-71.el8_10.alma.1
- platform-python-debug Fixed in 3.6.8-71.el8_10.alma.1
- platform-python-devel Fixed in 3.6.8-71.el8_10.alma.1
- python3-idle Fixed in 3.6.8-71.el8_10.alma.1
- python3-libs Fixed in 3.6.8-71.el8_10.alma.1
- python3-test Fixed in 3.6.8-71.el8_10.alma.1
- python3-tkinter Fixed in 3.6.8-71.el8_10.alma.1
- python3.11 Fixed in 3.11.13-2.el8_10
- python3.11-debug Fixed in 3.11.13-2.el8_10
- python3.11-devel Fixed in 3.11.13-2.el8_10
- python3.11-idle Fixed in 3.11.13-2.el8_10
- python3.11-libs Fixed in 3.11.13-2.el8_10
- python3.11-rpm-macros Fixed in 3.11.13-2.el8_10
- python3.11-test Fixed in 3.11.13-2.el8_10
- python3.11-tkinter Fixed in 3.11.13-2.el8_10
- python3.12 Fixed in 3.12.11-2.el8_10
- python3.12-debug Fixed in 3.12.11-2.el8_10
- python3.12-devel Fixed in 3.12.11-2.el8_10
- python3.12-idle Fixed in 3.12.11-2.el8_10
- python3.12-libs Fixed in 3.12.11-2.el8_10
- python3.12-rpm-macros Fixed in 3.12.11-2.el8_10
- python3.12-test Fixed in 3.12.11-2.el8_10
- python3.12-tkinter Fixed in 3.12.11-2.el8_10
- python39 Fixed in 3.9.20-2.module_el8.10.0+4040+9207bbc0
- python39-Cython Fixed
A version is affected if any line below covers it.
- Affected before 0.29.21-5.module_el8.6.0+2780+a40f65e1
- Affected before 0.29.21-5.module_el8.6.0+3248+c431e88c
- python39-PyMySQL Fixed in 0.10.1-2.module_el8.6.0+2780+a40f65e1
- python39-attrs Fixed in 20.3.0-2.module_el8.6.0+2780+a40f65e1
- python39-cffi Fixed
A version is affected if any line below covers it.
- Affected before 1.14.3-2.module_el8.6.0+2780+a40f65e1
- Affected before 1.14.3-2.module_el8.6.0+3248+c431e88c
- python39-chardet Fixed in 3.0.4-19.module_el8.6.0+2780+a40f65e1
- python39-cryptography Fixed in 3.3.1-3.module_el8.10.0+3765+2f9a457d
- python39-debug Fixed in 3.9.20-2.module_el8.10.0+4040+9207bbc0
- python39-devel Fixed in 3.9.20-2.module_el8.10.0+4040+9207bbc0
- python39-idle Fixed in 3.9.20-2.module_el8.10.0+4040+9207bbc0
- python39-idna Fixed in 2.10-4.module_el8.10.0+3849+a48d89aa
- python39-iniconfig Fixed in 1.1.1-2.module_el8.6.0+2780+a40f65e1
- python39-libs Fixed in 3.9.20-2.module_el8.10.0+4040+9207bbc0
- python39-lxml Fixed
A version is affected if any line below covers it.
- Affected before 4.6.5-1.module_el8.6.0+2780+a40f65e1
- Affected before 4.6.5-1.module_el8.6.0+3248+c431e88c
- python39-mod_wsgi Fixed in 4.7.1-7.module_el8.10.0+3989+a618fe15.1
- python39-more-itertools Fixed in 8.5.0-2.module_el8.6.0+2780+a40f65e1
- python39-numpy Fixed
A version is affected if any line below covers it.
- Affected before 1.19.4-3.module_el8.6.0+2780+a40f65e1
- Affected before 1.19.4-3.module_el8.6.0+3248+c431e88c
32 further packages in AlmaLinux 8 not shown (first 40 listed).
Source: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.
AlmaLinux 9
- python-unversioned-command Fixed in 3.9.21-2.el9_6.2
- python3 Fixed in 3.9.21-2.el9_6.2
- python3-debug Fixed in 3.9.21-2.el9_6.2
- python3-devel Fixed in 3.9.21-2.el9_6.2
- python3-idle Fixed in 3.9.21-2.el9_6.2
- python3-libs Fixed in 3.9.21-2.el9_6.2
- python3-test Fixed in 3.9.21-2.el9_6.2
- python3-tkinter Fixed in 3.9.21-2.el9_6.2
- python3.11 Fixed in 3.11.11-2.el9_6.2
- python3.11-debug Fixed in 3.11.11-2.el9_6.2
- python3.11-devel Fixed in 3.11.11-2.el9_6.2
- python3.11-idle Fixed in 3.11.11-2.el9_6.2
- python3.11-libs Fixed in 3.11.11-2.el9_6.2
- python3.11-test Fixed in 3.11.11-2.el9_6.2
- python3.11-tkinter Fixed in 3.11.11-2.el9_6.2
- python3.12 Fixed in 3.12.9-1.el9_6.2
- python3.12-debug Fixed in 3.12.9-1.el9_6.2
- python3.12-devel Fixed in 3.12.9-1.el9_6.2
- python3.12-idle Fixed in 3.12.9-1.el9_6.2
- python3.12-libs Fixed in 3.12.9-1.el9_6.2
- python3.12-test Fixed in 3.12.9-1.el9_6.2
- python3.12-tkinter Fixed in 3.12.9-1.el9_6.2
Source: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.
AlmaLinux 10
- python-unversioned-command Fixed in 3.12.9-2.el10_0.3
Source: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.
CloudLinux 8
- platform-python Fixed in 3.6.8-71.el8_10.alma.1
- platform-python-debug Fixed in 3.6.8-71.el8_10.alma.1
- platform-python-devel Fixed in 3.6.8-71.el8_10.alma.1
- python3-idle Fixed in 3.6.8-71.el8_10.alma.1
- python3-libs Fixed in 3.6.8-71.el8_10.alma.1
- python3-test Fixed in 3.6.8-71.el8_10.alma.1
- python3-tkinter Fixed in 3.6.8-71.el8_10.alma.1
- python3.11 Fixed in 3.11.13-2.el8_10
- python3.11-debug Fixed in 3.11.13-2.el8_10
- python3.11-devel Fixed in 3.11.13-2.el8_10
- python3.11-idle Fixed in 3.11.13-2.el8_10
- python3.11-libs Fixed in 3.11.13-2.el8_10
- python3.11-rpm-macros Fixed in 3.11.13-2.el8_10
- python3.11-test Fixed in 3.11.13-2.el8_10
- python3.11-tkinter Fixed in 3.11.13-2.el8_10
- python3.12 Fixed in 3.12.11-2.el8_10
- python3.12-debug Fixed in 3.12.11-2.el8_10
- python3.12-devel Fixed in 3.12.11-2.el8_10
- python3.12-idle Fixed in 3.12.11-2.el8_10
- python3.12-libs Fixed in 3.12.11-2.el8_10
- python3.12-rpm-macros Fixed in 3.12.11-2.el8_10
- python3.12-test Fixed in 3.12.11-2.el8_10
- python3.12-tkinter Fixed in 3.12.11-2.el8_10
- python39 Fixed in 3.9.20-2.module_el8.10.0+4040+9207bbc0
- python39-Cython Fixed
A version is affected if any line below covers it.
- Affected before 0.29.21-5.module_el8.6.0+2780+a40f65e1
- Affected before 0.29.21-5.module_el8.6.0+3248+c431e88c
- python39-PyMySQL Fixed in 0.10.1-2.module_el8.6.0+2780+a40f65e1
- python39-attrs Fixed in 20.3.0-2.module_el8.6.0+2780+a40f65e1
- python39-cffi Fixed
A version is affected if any line below covers it.
- Affected before 1.14.3-2.module_el8.6.0+2780+a40f65e1
- Affected before 1.14.3-2.module_el8.6.0+3248+c431e88c
- python39-chardet Fixed in 3.0.4-19.module_el8.6.0+2780+a40f65e1
- python39-cryptography Fixed in 3.3.1-3.module_el8.10.0+3765+2f9a457d
- python39-debug Fixed in 3.9.20-2.module_el8.10.0+4040+9207bbc0
- python39-devel Fixed in 3.9.20-2.module_el8.10.0+4040+9207bbc0
- python39-idle Fixed in 3.9.20-2.module_el8.10.0+4040+9207bbc0
- python39-idna Fixed in 2.10-4.module_el8.10.0+3849+a48d89aa
- python39-iniconfig Fixed in 1.1.1-2.module_el8.6.0+2780+a40f65e1
- python39-libs Fixed in 3.9.20-2.module_el8.10.0+4040+9207bbc0
- python39-lxml Fixed
A version is affected if any line below covers it.
- Affected before 4.6.5-1.module_el8.6.0+2780+a40f65e1
- Affected before 4.6.5-1.module_el8.6.0+3248+c431e88c
- python39-mod_wsgi Fixed in 4.7.1-7.module_el8.10.0+3989+a618fe15.1
- python39-more-itertools Fixed in 8.5.0-2.module_el8.6.0+2780+a40f65e1
- python39-numpy Fixed
A version is affected if any line below covers it.
- Affected before 1.19.4-3.module_el8.6.0+2780+a40f65e1
- Affected before 1.19.4-3.module_el8.6.0+3248+c431e88c
32 further packages in CloudLinux 8 not shown (first 40 listed).
Derived from AlmaLinux 8. Partial coverage: only packages taken from AlmaLinux 8 are listed.
Source: CloudLinux errata, CloudLinux Inc. Derived from: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.
CloudLinux 9
- python-unversioned-command Fixed in 3.9.21-2.el9_6.2
- python3 Fixed in 3.9.21-2.el9_6.2
- python3-debug Fixed in 3.9.21-2.el9_6.2
- python3-devel Fixed in 3.9.21-2.el9_6.2
- python3-idle Fixed in 3.9.21-2.el9_6.2
- python3-libs Fixed in 3.9.21-2.el9_6.2
- python3-test Fixed in 3.9.21-2.el9_6.2
- python3-tkinter Fixed in 3.9.21-2.el9_6.2
- python3.11 Fixed in 3.11.11-2.el9_6.2
- python3.11-debug Fixed in 3.11.11-2.el9_6.2
- python3.11-devel Fixed in 3.11.11-2.el9_6.2
- python3.11-idle Fixed in 3.11.11-2.el9_6.2
- python3.11-libs Fixed in 3.11.11-2.el9_6.2
- python3.11-test Fixed in 3.11.11-2.el9_6.2
- python3.11-tkinter Fixed in 3.11.11-2.el9_6.2
- python3.12 Fixed in 3.12.9-1.el9_6.2
- python3.12-debug Fixed in 3.12.9-1.el9_6.2
- python3.12-devel Fixed in 3.12.9-1.el9_6.2
- python3.12-idle Fixed in 3.12.9-1.el9_6.2
- python3.12-libs Fixed in 3.12.9-1.el9_6.2
- python3.12-test Fixed in 3.12.9-1.el9_6.2
- python3.12-tkinter Fixed in 3.12.9-1.el9_6.2
Derived from AlmaLinux 9. Partial coverage: only packages taken from AlmaLinux 9 are listed.
Source: CloudLinux errata, CloudLinux Inc. Derived from: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.
CloudLinux 10
- python-unversioned-command Fixed in 3.12.9-2.el10_0.3
Derived from AlmaLinux 10. Partial coverage: only packages taken from AlmaLinux 10 are listed.
Source: CloudLinux errata, CloudLinux Inc. Derived from: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.
Debian 12
- pypy3 No fix yet
- python3.11 Fixed in 3.11.2-6+deb12u7
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 13
- pypy3 No fix yet
- python3.13 Fixed in 3.13.5-2+deb13u1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 14
- pypy3 Fixed in 7.3.21+dfsg-1
- python3.13 Fixed in 3.13.6-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 22.04 LTS
- python3.10 Fixed in 3.10.12-1~22.04.11
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 24.04 LTS
- python3.12 Fixed in 3.12.3-1ubuntu0.8
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 25.10
- python3.13 Fixed in 3.13.6-1
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 14.04 LTS
- python2.7 Fixed in 2.7.6-8ubuntu0.6+esm26Available with Ubuntu Pro with Legacy support add-on: https://ubuntu.com/pro
- python3.4 Fixed in 3.4.3-1ubuntu1~14.04.7+esm16Available with Ubuntu Pro with Legacy support add-on: https://ubuntu.com/pro
- python3.5 Fixed in 3.5.2-2ubuntu0~16.04.4~14.04.1+esm7Available with Ubuntu Pro with Legacy support add-on: https://ubuntu.com/pro
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 16.04 LTS
- python2.7 Fixed in 2.7.12-1ubuntu0~16.04.18+esm17Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro
- python3.5 Fixed in 3.5.2-2ubuntu0~16.04.13+esm19Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 18.04 LTS
- python2.7 Fixed in 2.7.17-1~18.04ubuntu1.13+esm12Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro
- python3.6 Fixed in 3.6.9-1~18.04ubuntu1.13+esm6Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro
- python3.7 Fixed in 3.7.5-2ubuntu1~18.04.2+esm7Available with Ubuntu Pro: https://ubuntu.com/pro
- python3.8 Fixed in 3.8.0-3ubuntu1~18.04.2+esm6Available with Ubuntu Pro: https://ubuntu.com/pro
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 20.04 LTS
- python3.8 Fixed in 3.8.10-0ubuntu1~20.04.18+esm2Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro
- python3.9 Fixed in 3.9.5-3ubuntu0~20.04.1+esm6Available with Ubuntu Pro: https://ubuntu.com/pro
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 22.04 LTS
- python2.7 Fixed in 2.7.18-13ubuntu1.5+esm7Available with Ubuntu Pro: https://ubuntu.com/pro
- python3.11 Fixed in 3.11.0~rc1-1~22.04.1~esm5Available with Ubuntu Pro: https://ubuntu.com/pro
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.