All CVEs / Python Software Foundation
CVE-2025-8194Python Software Foundation CPython
High 7.5 No auth needed
Follow: this CVE · Python Software Foundation · Python Software Foundation CPython We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.1
- 7.5
- EPSS
- —
- Auth required
- No
- Published
- Jul 28, 2025
- Updated
- Jul 31, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-835
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
What happens
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
What to do
- Apply the vendor's security update for CPython.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products
- Python Software Foundation · CPython
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official advisories
- Security update for python313 · SUSE · SUSE-SU-2026:20125-1 · Jan 22, 2026 High
- Security update for python313 · SUSE · SUSE-SU-2026:20154-1 · Jan 22, 2026 High
- Security update for python313 · SUSE · openSUSE-SU-2026:20081-1 · Jan 22, 2026 High
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.