Critical severity · published Oct 26, 2026
CVE-2026-115905
zip: Critical Parser Differential & Security Control Bypass via Dual-Header Inconsistencies (Zip Cloaking) Leading to Arbitrary File Overwrite & RCE
New
10.0
CVSS
0.3%
EPSS
No
On KEV
Description
zip is a zip library for Rust that supports reading and writing simple ZIP files. Through 9.0.4, ZipArchive treats Central Directory File Header filenames as authoritative while ZipStreamReader extracts using Local File Header filenames without reconciling the duplicate metadata in src/read/stream.rs. A crafted archive can therefore appear benign to a component that inspects the central directory but cause a streaming extractor to write a different attacker-selected path and content, potentially overwriting files used by a downstream service. This issue is fixed in version 9.0.5.
Exploitation
Is it being used?
Exploit prediction (EPSS)0.3% · higher than 25% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
ZI
zip2 · zip-rs
< 9.0.5 · source: vendor
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-115905
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-115905
github.com
https://github.com/zip-rs/zip2/commit/8068ab480ccf8daa7411424e365fcdbe6d09443e
github.com
https://github.com/zip-rs/zip2/releases/tag/v9.0.5
github.com
https://github.com/zip-rs/zip2/security/advisories/GHSA-m665-v7pm-7grj
More from zip2
7.5
CVE-2026-115909
zip: Unbounded Symlink-Target Handling Can Abort Or Exhaust Memory During Extraction
7.5
CVE-2026-115907
zip: legacy Shrink/Reduce/Implode decoder: denial of service from attacker-controlled ZIP64 uncompressed size
7.4
CVE-2026-115908
zip: Arbitrary file write outside the extraction directory, because ZipArchive::extract validates symlink targets lexically. (The defense against CVE-2025-29787 was broken in v7.2.0)
6.5
CVE-2026-115906
zip: AES Entry HMAC Authentication Bypass on Premature EOF
