Skip to content
CVE PROGRAM SOURCE RECORD7.5 High

CVE-2025-4435

Tarfile extracts filtered members when errorlevel=0

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

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Python Software Foundation CPython

Default version status: unaffected

  • 0 to < 3.9.23affected
  • 3.10.0 to < 3.10.18affected
  • 3.11.0 to < 3.11.13affected
  • 3.12.0 to < 3.12.11affected
  • 3.13.0 to < 3.13.4affected
  • 3.14.0a1 to < 3.14.0b3affected

References