CVE-2026-115905 zip-rs · zip2
AI summary
The Rust zip (zip2) library through 9.0.4 handles central directory and local file header filenames inconsistently, so a crafted archive can look benign while the streaming extractor writes attacker-chosen paths and content, potentially overwriting files. Critical (CVSS 10.0); fixed in 9.0.5.
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.
- Published
- 2026-10-26 17:17 UTC
- Modified
- 2026-11-02 18:18 UTC
- CVSS
- 10.0 Critical
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 - EPSS
- 0.51% (percentile 36)
- ENISA EUVD
- EUVD-2026-109981
- CISA SSVC
- Exploitation: poc · Automatable: yes · Technical impact: total
- CWE
- CWE-20
CVSS vector
- Attack vector
- network
- Attack complexity
- low
- Attack requirements
- none
- Privileges required
- none
- User interaction
- none
- Confidentiality
- high
- Integrity
- high
- Availability
- high
References
- NVD · CVE.org
- 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