CVE-2025-4435
CVE-2025-4435 — 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.
Published Updated Sources: cvelistV5, PSF
Triage
Is it exploited, how likely is exploitation, what does it touch, and how severe do the scoring sources call it.
Exploitation
Unreported
no source claims exploitation
EPSS
<1%
chance of exploitation in 30 days
CVSS base
7.5
HIGH
CISA SSVC assessment
Three decision points CISA publishes for the CVEs it assesses · SSVC 2.0.3. A stakeholder decision, not a severity score.
Exploitation
None
none · proof-of-concept · active
Automatable
Yes
can an attacker script all four kill-chain steps
Technical impact
Partial
partial · total control of the vulnerable component
Affected scope
The catalog records vendors and products as separate lists, not pairs, so which product belongs to which vendor is not something this page can say.
Vendors (1)
Products (1)
Every base score collected
Sources score independently and disagree; each row says who scored it and under which version.
| Score | Version | Severity | Expl. | Impact | Source |
|---|---|---|---|---|---|
| 7.5 | CVSS 3.1 | HIGH | n/a | n/a | cvelistV5 |
Weakness & attack patterns
- CWE-682
References
11 on the record
- github.com/python/cpython/issues/135034
issue-tracking
- github.com/python/cpython/pull/135037
patch
- mail.python.org/archives/list/[email protected]/thread/MAXIJJCUUMCL7ATZNDVEGGHUMQMUUKLG/
vendor-advisory
- github.com/python/cpython/commit/3612d8f51741b11f36f8fb0494d79086bac9390a
patch
- github.com/python/cpython/commit/9e0ac76d96cf80b49055f6d6b9a6763fb9215c2a
patch
- github.com/python/cpython/commit/19de092debb3d7e832e5672cc2f7b788d35951da
patch
- github.com/python/cpython/commit/aa9eb5f757ceff461e6e996f12c89e5d9b583b01
patch
- github.com/python/cpython/commit/28463dba112af719df1e8b0391c46787ad756dd9
patch
Related CVEs
Same product first, then the same weakness or threat actor.
Elsewhere on this site
- Python Software Foundationevery CVE for this vendor
- CWE-682other pages naming this weakness
Not in any source we poll
Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.
- No confirmed IOCs, IP addresses, domains, file hashes, or malware artifacts supplied.
- No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
- No exploit packet captures, log samples, or incident case IDs supplied.