PoC Monitor
← All CVEs
CVE-2025-4435published 3 Jun 2025 12:59 UTCData: JSON · API

Python Software Foundation CPython

Tarfile extracts filtered members when errorlevel=0

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.

First public PoC None yetno public PoC found
Public PoCs00 on GitHub
CVSS7.5high · scored by CNA · CWE-682
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

Python Software Foundation CPython
  • < 3.9.23
  • >= 3.10.0, < 3.10.18
  • >= 3.11.0, < 3.11.13
  • >= 3.12.0, < 3.12.11
  • >= 3.13.0, < 3.13.4
  • >= 3.14.0a1, < 3.14.0b3

Fixed in 3.9.23, 3.10.18, 3.11.13, 3.12.11, 3.13.4, 3.14.0b3

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published3 Jun 2025 · t = 0

No public PoC found yet; not in CISA KEV.

PoC repositories

Found on GitHub.

No PoC repositories found yet.