Vulnerability · Published Oct 26, 2026 · Assigned by GitHub_M
CVE-2026-115905zip: Critical Parser Differential & Security Control Bypass via Dual-Header Inconsistencies (Zip Cloaking) Leading to Arbitrary File Overwrite & RCE
Critical 10.0
In plain English
A critical-severity improper input validation in zip2 from zip-rs. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 25% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code.
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | rust-zip | no fix listed | DEBIAN-CVE-2026-115905 |
| Debian:13 | rust-zip | no fix listed | DEBIAN-CVE-2026-115905 |
| Debian:14 | rust-zip | no fix listed | DEBIAN-CVE-2026-115905 |
| Ubuntu:22.04:LTS | rust-zip | no fix listed | UBUNTU-CVE-2026-115905 |
| Ubuntu:24.04:LTS | rust-zip | no fix listed | UBUNTU-CVE-2026-115905 |
| Ubuntu:26.04:LTS | rust-zip | no fix listed | UBUNTU-CVE-2026-115905 |
| Ubuntu:26.10 | rust-zip | no fix listed | UBUNTU-CVE-2026-115905 |
Affected products (as reported)
Weakness: CWE-20, CWE-436 · Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:L
References
- https://github.com/zip-rs/zip2/security/advisories/GHSA-m665-v7pm-7grj x_refsource_CONFIRM
- https://github.com/zip-rs/zip2/commit/8068ab480ccf8daa7411424e365fcdbe6d09443e x_refsource_MISC
- https://github.com/zip-rs/zip2/releases/tag/v9.0.5 x_refsource_MISC