CVE-2026-115905
zip is a zip library for Rust that supports reading and writing …
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.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/zip-rs/zip2/commit/8068ab480ccf8daa7411424e365fcdbe6d09443e
- github.com/zip-rs/zip2/releases/tag/v9.0.5
- github.com/zip-rs/zip2/security/advisories/GHSA-m665-v7pm-7grj
- nvd.nist.gov/vuln/detail/CVE-2026-115905
- github.com/advisories/GHSA-m665-v7pm-7grj
- nvd.nist.gov/vuln/detail/CVE-2026-115905
- cve.org/CVERecord?id=CVE-2026-115905
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.