CVE-2026-115905 zip: Critical Parser Differential & Security Control Bypass via Dual-Header Inconsistencies (Zip Cloaking) Leading to Arbitrary File Overwrite & RCE
- Exploited in the wild
- Not known
- Fix
- Available
What is CVE-2026-115905?
CVE-2026-115905 is a critical vulnerability in zip-rs zip2, published on 26 Oct 2026.
Official 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.
Which versions are affected by CVE-2026-115905?
2 open source packages ship an affected version, including zip.
| Package | Affected | Fixed in |
|---|---|---|
zip crates.io | All versions | 9.0.5 |
zip crates.io | All versions | 9.0.5 |
How do I fix CVE-2026-115905?
Upgrade zip to 9.0.5 or later.
Is CVE-2026-115905 being exploited?
There is no known exploitation of CVE-2026-115905 in the wild and no public exploit code.
Public exploit code: 2 proofs of concept on GitHub.
Sources
Also known as DEBIAN-CVE-2026-115905, GHSA-m665-v7pm-7grj, UBUNTU-CVE-2026-115905.