Skip to content
7.5 High

CVE-2025-4435 When using a TarFile.errorlevel = 0 and extracting with a filter the documented behavior is that any filtered members…

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.

Affected products and versions

Product Affected versions Fixed in
CPython 3.14 3.14.0a1 → < 3.14.0b3 3.14.0b3
CPython 3.13 3.13.0 → < 3.13.4 3.13.4
CPython 3.12 3.12.0 → < 3.12.11 3.12.11
CPython 3.11 3.11.0 → < 3.11.13 3.11.13
CPython 3.10 3.10.0 → < 3.10.18 3.10.18
CPython 3.9 earliest → < 3.9.23 3.9.23
The 80 CVEs of CPython →
Track this CVE