CVE-2026-115905
CRITICAL 10.0CVSS 4.0zip: Critical Parser Differential & Security Control Bypass via Dual-Header Inconsistencies (Zip Cloaking) Leading to Arbitrary File Overwrite & RCE
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.
- Published
- 26 Oct 2026
- Last modified
- 17 Nov 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Awaiting Analysis
- Weakness
- CWE-20CWE-436
- Also known as
- GHSA-m665-v7pm-7grjRUSTSEC-2026-0548
- Sources
- NVDJSONOSV GHSA-m665-v7pm-7grjJSONOSV RUSTSEC-2026-0548JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | CRITICAL 10.0 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:L |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | crates.io | zip | < 9.0.5 | 9.0.5 |
| OSV | crates.io | zip | >= 0.0.0-0, < 9.0.5 | 9.0.5 |
References
- https://github.com/zip-rs/zip2/commit/8068ab480ccf8daa7411424e365fcdbe6d09443e · WEB
- https://github.com/zip-rs/zip2/releases/tag/v9.0.5 · WEB
- https://github.com/zip-rs/zip2/security/advisories/GHSA-m665-v7pm-7grj · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-115905 · ADVISORY
- https://github.com/zip-rs/zip2 · PACKAGE
- https://crates.io/crates/zip · PACKAGE
- https://rustsec.org/advisories/RUSTSEC-2026-0548.html · ADVISORY
History
- 25 Nov 2026 21:22 UTC · NVD: first stored (published 26 Oct 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 17 Oct 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 28 Oct 2026)