home / blog
2026-11-01 · critical
CVE-2026-115905: Zip Cloaking in Rust, file overwrite
ZipArchive vs ZipStreamReader: crafted archives cause file overwrite in zip ≤9.0.4. CVSS 10.0, patch 9.0.5.

CVE-2026-115905 affects the zip library for Rust, widely used in applications handling compressed archives. The vulnerability is a critical mismatch: ZipArchive reads Central Directory File Header metadata while ZipStreamReader extracts using Local File Header data. A crafted archive can appear safe to directory inspection, but during extraction write to different paths and content, causing file overwrite.
The vulnerability scores CVSS 10.0, the maximum and critical rating. A patch is available in version 9.0.5 released after discovery. Public signals are limited: 3 social posts in the last 24 hours with 2 total interactions, indicating emerging but still low awareness consistent with the October 26, 2026 publication. No confirmed public exploit is reported.
For organizations: immediately verify if zip is in Rust dependencies using 'cargo tree' and 'cargo audit'. If present, update to 9.0.5 or later without delay. Short-term: restrict access to scripts and services extracting ZIP archives, especially those processing external uploads. Monitor file systems for unexpected overwrites.
At a glance
- What
- The Rust zip library has a mismatch between ZipArchive (reading Central Directory File Header) and ZipStreamReader (extracting using Local File Header). A crafted archive can appear benign to directory inspection but cause extraction to different paths and overwrite files.
- Severity
- CVSS 10.0 (Critical)
- Affected versions
- zip version 9.0.4 and earlier
- Fix
- Update to version 9.0.5 or later
- Status
- Patch available since October 26, 2026. Limited social signals (3 posts, 2 total interactions). No confirmed public exploit reported.
- Action
- Check Rust dependencies with 'cargo tree' and 'cargo audit'. Update immediately if zip is in use. Monitor file systems for unexpected overwrites.
Sources: NVD, CVE-2026-115905