Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2025-4435— Tarfile extracts filtered members when errorlevel=0

CVSS 7.5 · High EPSS 0.54% · P68
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2025-4435

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Tarfile extracts filtered members when errorlevel=0
Source: NVD (National Vulnerability Database)
Vulnerability 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.
Source: NVD (National Vulnerability Database)
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Source: NVD (National Vulnerability Database)
Vulnerability Type
N/A
Source: NVD (National Vulnerability Database)
Vulnerability Title
CPython 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
CPython是Python基金会的一个用C语言实现的Python解释器。 CPython存在安全漏洞,该漏洞源于TarFile.errorlevel = 0时过滤成员未被跳过仍被提取。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

VendorProductAffected VersionsCPESubscribe
Python Software FoundationCPython 0 ~ 3.10.18 -

II. Public POCs for CVE-2025-4435

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2025-4435

登录查看更多情报信息。

Same Patch Batch · Python Software Foundation · 2025-06-03 · 5 CVEs total

CVE-2025-45179.4 CRITICALArbitrary writes via tarfile realpath overflow
CVE-2025-41387.5 HIGHBypassing extraction filter to create symlinks to arbitrary targets outside extraction dir
CVE-2025-43307.5 HIGHExtraction filter bypass for linking outside extraction directory
CVE-2024-127185.3 MEDIUMBypass extraction filter to modify file metadata outside extraction directory

IV. Related Vulnerabilities

V. Comments for CVE-2025-4435

No comments yet


Leave a comment