Not a U.S. government website. NDD is an independent vulnerability database by Volerion and is not affiliated with or endorsed by NIST or NVD.
VOLERION
Volerion Security Research

NOT DEFERRED DATABASE

VULNERABILITIES

CVE-2025-4435 Details

ANALYZED


This CVE record has been analyzed and enriched by NVDAPI.com as an independent party.

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.

Metrics

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.

Weakness Enumeration

CWE-IDCWE NameSource
CWE-682Incorrect CalculationCISA-ADP

Affected Products

ProductVersions
Python
>= 3.12, < 3.12.11
>= 3.13, < 3.13.4
>= 3.14, < 3.14.0

CPE

  • cpe:2.3:a:python:python:*:*:*:*:*:*:*:*

Remediation

  • Upgrade: 3.12.11moderate effort
  • Upgrade: 3.13.4moderate effort
  • Upgrade: 3.14.0moderate effort
  • Mitigation:low effort

    Reject all links with the parent directory segment ('..') prior to calling extract: for member in tar.getmembers(): if not member.islnk(): continue if os.pardir in os.path.split(member.linkname): raise OSError("Tarfile with insecure segment ('..') in linkname") # Now safe to extract members with the data filter. tar.extractall(filter="data")

Change History

10 change records found show changes


QUICK INFO

CVE Dictionary Entry:
CVE-2025-4435
NVD Published Date:
Jun 3, 2025
NVD Last Modified:
Jul 31, 2026
Source:
[email protected]
CVE-2025-4435 Details - Not Deferred