๐Ÿ” CVE Alert

CVE-2026-45380

LOW 3.6

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

CVSS Score
3.6
EPSS Score
0.0%
EPSS Percentile
0th

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.

CWE CWE-22 CWE-193
Vendor rikyoz
Product bit7z
Published Jun 10, 2026
Stay Ahead of the Next One

Get instant alerts for rikyoz bit7z

Be the first to know when new low vulnerabilities affecting rikyoz bit7z are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:L
Attack Vector
Local
Attack Complexity
High
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
None
Integrity
Low
Availability
Low

Affected Versions

rikyoz / bit7z
< 4.0.12

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/rikyoz/bit7z/security/advisories/GHSA-8wj8-9jwv-j24v github.com: https://github.com/rikyoz/bit7z/releases/tag/v4.0.12