CVE-2025-4435

HIGH

CPython TarFile - Incorrect Extraction with errorlevel=0

Title source: llm
STIX 2.1

Description

When using a TarFile.errorlevel = 0 and extracting with a filter the documented behavior is that any filtered members would be skipped and not extracted. However the actual behavior of TarFile.errorlevel = 0 in affected versions is that the member would still be extracted and not skipped.

Scores

CVSS v3 7.5
EPSS 0.0054
EPSS Percentile 67.7%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

CISA SSVC

Vulnrichment
Exploitation none
Automatable yes
Technical Impact partial

Details

CWE
CWE-682
Status published
Products (7)
Python Software Foundation/CPython < 3.10.18
Python Software Foundation/CPython < 3.9.23
Python Software Foundation/CPython 3.10.0 - 3.10.18
Python Software Foundation/CPython 3.11.0 - 3.11.13
Python Software Foundation/CPython 3.12.0 - 3.12.11
Python Software Foundation/CPython 3.13.0 - 3.13.4
Python Software Foundation/CPython 3.14.0a1 - 3.14.0b3
Published Jun 03, 2025
Tracked Since Feb 18, 2026