Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2025-4435: Vulnerability in Python Software Foundation CPython

0
High
VulnerabilityCVE-2025-4435cvecve-2025-4435
Published: Tue Jun 03 2025 (06/03/2025, 12:59:06 UTC)
Source: CVE Database V5
Vendor/Project: Python Software Foundation
Product: CPython

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.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 04/22/2026, 05:42:29 UTC

Technical Analysis

The vulnerability in CPython's tarfile module involves the errorlevel attribute set to 0, which is intended to skip extraction of filtered members. However, in affected versions, filtered members are still extracted contrary to documentation. This is classified under CWE-682 (Incorrect Calculation) and has a CVSS 3.1 score of 7.5 (high severity) with network attack vector, low attack complexity, no privileges required, no user interaction, unchanged scope, no confidentiality impact, high integrity impact, and no availability impact. No official patch or remediation link is provided in the data, and no known exploits are reported.

Potential Impact

The vulnerability can lead to unintended extraction of archive members that should have been skipped, potentially allowing malicious or unwanted files to be extracted. This impacts the integrity of the extraction process but does not affect confidentiality or availability. Since the attack vector is network-based and requires no privileges or user interaction, remote exploitation is feasible if an attacker can supply crafted tar archives to a vulnerable system.

Mitigation Recommendations

Patch status is not yet confirmed — check the Python Software Foundation advisory for current remediation guidance. Until an official fix is released, users should exercise caution when extracting tar archives with filters using affected CPython versions. Avoid processing untrusted tar files or implement additional validation to ensure only intended members are extracted.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.1
Assigner Short Name
PSF
Date Reserved
2025-05-08T15:05:11.874Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 683f0dc3182aa0cae27ff441

Added to database: 6/3/2025, 2:59:15 PM

Last enriched: 4/22/2026, 5:42:29 AM

Last updated: 5/8/2026, 11:44:10 AM

Views: 409

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses