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

Goal: 1000 CNY · Raised: 1359 CNY

100%

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

Quick assessment

Affected
BINGOS Archive::Tar
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Pear Archive_Tar是PEAR团队的一个基于Php的可以对tar包进行创建、提取等操作的软件。 Pear Archive_Tar 3.08之前版本存在安全漏洞,该漏洞源于_make_special_file()函数将tar标头的linkname传递给symlink()时未验证绝对路径或..段,且安全提取模式检查未覆盖符号链接目标,可能导致提取的符号链接指向提取目录外的攻击者控制路径,后续通过提取名称打开文件可读取或写入攻击者选择的路径。

AI Predicted 8.6 Difficulty: Easy EPSS 0.43% · P35

Affected Version Matrix 1

VendorProduct Version RangeStatus
BINGOS Archive::Tar < 3.08 affected
Get alerts for future matching vulnerabilities Log 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: CVE Program / CVE List V5
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: CVE Program / CVE List V5
CVSS Information
N/A
Source: CVE Program / CVE List V5
Vulnerability Type
在文件访问前对链接解析不恰当(链接跟随)
Source: CVE Program / CVE List V5
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

Vendor Product Affected Versions CPE Subscribe
BINGOS Archive::Tar 0 ~ 3.08 -

II. Public POCs for CVE-2026-42496

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

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-42497 Archive::Tar versions before 3.08 for Perl extract hardlinks to attacker controlled paths
CVE-2026-9538 Archive::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