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

Goal: 1000 CNY · Raised: 1310 CNY

100%

CVE-2026-42496— Archive::Tar versions before 3.08 for Perl extract symlinks with attacker controlled targets outside the extraction directory

AI Predicted 8.6 Difficulty: Easy EPSS 0.02% · P6

Affected Version Matrix 1

VendorProductVersion RangeStatus
BINGOSArchive::Tar< 3.08affected
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2026-42496

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
Archive::Tar versions before 3.08 for Perl extract symlinks with attacker controlled targets outside the extraction directory
Source: NVD (National Vulnerability Database)
Vulnerability Description
Archive::Tar versions before 3.08 for Perl extract symlinks with attacker controlled targets outside the extraction directory. _make_special_file() passes the tar header's linkname to symlink() without validating it against absolute paths or .. segments. The secure-extract mode check that guards regular file extraction does not cover the symlink target. A subsequent open through the extracted name reads or writes the attacker chosen path.
Source: NVD (National Vulnerability Database)
CVSS Information
N/A
Source: NVD (National Vulnerability Database)
Vulnerability Type
在文件访问前对链接解析不恰当(链接跟随)
Source: NVD (National Vulnerability Database)
Vulnerability Title
Pear Archive_Tar 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Pear Archive_Tar是PEAR团队的一个基于Php的可以对tar包进行创建、提取等操作的软件。 Pear Archive_Tar 3.08之前版本存在安全漏洞,该漏洞源于_make_special_file()函数将tar标头的linkname传递给symlink()时未验证绝对路径或..段,且安全提取模式检查未覆盖符号链接目标,可能导致提取的符号链接指向提取目录外的攻击者控制路径,后续通过提取名称打开文件可读取或写入攻击者选择的路径。
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
BINGOSArchive::Tar 0 ~ 3.08 -

II. Public POCs for CVE-2026-42496

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-42496

登录查看更多情报信息。

Patches & Fixes for CVE-2026-42496 (1)

Vendor Advisories for CVE-2026-42496 (1)

Other References for CVE-2026-42496 (1)

Same Patch Batch · BINGOS · 2026-05-26 · 3 CVEs total

CVE-2026-42497Archive::Tar versions before 3.08 for Perl extract hardlinks to attacker controlled paths
CVE-2026-9538Archive::Tar versions before 3.10 for Perl allow memory exhaustion via attacker controlled

IV. Related Vulnerabilities

V. Comments for CVE-2026-42496

No comments yet


Leave a comment