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

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2026-45380— bit7z: Path Traversal via Null Byte Injection from `gcount()` Off-by-One in `restoreSymlink()`

CVSS 3.6 · Low EPSS 0.12% · P2

Affected Version Matrix 1

VendorProductVersion RangeStatus
rikyozbit7z< 4.0.12affected
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2026-45380

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
bit7z: Path Traversal via Null Byte Injection from `gcount()` Off-by-One in `restoreSymlink()`
Source: CVE Program / CVE List V5
Vulnerability Description
bit7z is a cross-platform C++ static library that allows the compression/extraction of archive files. Prior to version 4.0.12, a one-byte off-by-one error in SafeOutPathBuilder::restoreSymlink() allows an attacker to craft a .7z archive that, when extracted with bit7z on any non-Windows platform, creates a symlink escaping the intended output directory. Subsequent archive entries extracted through this symlink write arbitrary files outside the extraction directory with the permissions of the extracting process. This issue has been patched in version 4.0.12.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:L
Source: CVE Program / CVE List V5
Vulnerability Type
对路径名的限制不恰当(路径遍历)
Source: CVE Program / CVE List V5
Vulnerability Title
bit7z 路径遍历漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
bit7z是Riccardo个人开发者的一个文件压缩/解压工具。 bit7z 4.0.12之前版本存在路径遍历漏洞,该漏洞源于SafeOutPathBuilder::restoreSymlink()中的一字节差一错误,可能导致攻击者构造的.7z存档在非Windows平台解压时创建符号链接逃逸预期输出目录。
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
rikyozbit7z < 4.0.12 -

II. Public POCs for CVE-2026-45380

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-45380

登录查看更多情报信息。

Vendor Advisories for CVE-2026-45380 (1)

Other References for CVE-2026-45380 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2026-45380

No comments yet


Leave a comment