crates.io
CVE-2026-115909
zip: Unbounded Symlink-Target Handling Can Abort Or Exhaust Memory During Extraction
- Severity
- High 7.5
- Published
- 29 Oct 2026
- Last changed
- 2 Nov 2026
- Added to UpHeron
- 23 Nov 2026
- Fixed in
- 9.0.0
- Exploit chance
- 0.5% in the next 30 daysHigher than 46% of CVEs. EPSS by FIRST, 24 Nov 2026
- Attack
- Over the network · No login needed · No user action needed
- Attacker can
- Take it down
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H- Also known as
- GHSA-q7v9-x93c-xqv3, RUSTSEC-2026-0429
- Sources
- OSV.dev and GitHub
Description
The symbolic-link branch of ZipArchive::extract_internal() allocates a buffer using an attacker-declared size before reading any entry data. A 112-byte archive terminates the extracting process with SIGABRT through this infallible allocation.
src/read/mod.rs#L399-L405 (reviewed commit 6f09b306); the same code is at src/read.rs#L417-L418 in released v8.6.0.
Both inputs are attacker-controlled:
- ZipFile::size() returns uncompressed_size verbatim from the central directory record. A ZIP64 extended-information extra field widens it to a full u64 (src/read/mod.rs#L619-L625). It is never cross-checked against the compressed size, the remaining archive length, or any platform-appropriate bound for a symlink target.
- ZipFile::is_symlink() is decided entirely by the central directory's external-attributes field, via the S_IFLNK bit.
Memory allocation failure → uncatchable process abort. The reservation is sized from the declared uncompressed_size before a single byte of the entry is…
Affected software
| Software | Affected versions |
|---|---|
zipcrates.io · osv:crates.io:zip |
|
About zip
- Downloads in the last 90 days (crates.io)
- 111,591,536crates.io, 23 Nov 2026
- Total downloads (crates.io)
- 359,656,960crates.io, 23 Nov 2026
Vulnerabilities in zip
- In our list
- 5
- Published in the last 12 months
- 5
- Critical, last 12 months
- 1
- High, last 12 months
- 3
- Known exploited
- 0
- CVE-2026-115907zip: legacy Shrink/Reduce/Implode decoder: denial of service from attacker-controlled ZIP64 uncompressed sizeHigh 7.5 29 Oct 2026
- CVE-2026-115908zip: Arbitrary file write outside the extraction directory, because ZipArchive::extract validates symlink targets lexically.High 7.4 29 Oct 2026
- CVE-2026-115906zip: AES Entry HMAC Authentication Bypass on Premature EOFMedium 6.5 29 Oct 2026
- CVE-2026-115905zip: Critical Parser Differential & Security Control Bypass via Dual-Header Inconsistencies (Zip Cloaking) Leading to Arbitrary File Overwrite & RCECritical 28 Oct 2026
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-115909
- GitHub Advisory Database https://github.com/advisories/GHSA-q7v9-x93c-xqv3