CVE-2026-115907
HIGH 7.5CVSS 3.1zip: legacy Shrink/Reduce/Implode decoder: denial of service from attacker-controlled ZIP64 uncompressed size
zip is a zip library for Rust that supports reading and writing simple ZIP files. From 5.1.0 until 9.0.0, applications built with the legacy-zip feature can reserve output capacity from an attacker-controlled ZIP64 uncompressed size before validating the compressed stream. The ShrinkDecoder path in src/legacy/shrink.rs can panic with a capacity overflow during ZipArchive::extract, and the Reduce and Implode decoders contain the same unbounded preallocation pattern. An unhandled panic can terminate an archive-processing service. This issue is fixed in version 9.0.0.
- Published
- 26 Oct 2026
- Last modified
- 17 Nov 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Awaiting Analysis
- Weakness
- CWE-400CWE-789
- Also known as
- GHSA-9hj8-73fh-9963RUSTSEC-2026-0547
- Sources
- NVDJSONOSV GHSA-9hj8-73fh-9963JSONOSV RUSTSEC-2026-0547JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | RustSec | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | crates.io | zip | >= 5.1.0, < 9.0.0 | 9.0.0 |
References
- https://github.com/zip-rs/zip2/commit/8b4991288b79ad11cce201c2d785d5baa795bd3e · WEB
- https://github.com/zip-rs/zip2/pull/991 · WEB
- https://github.com/zip-rs/zip2/releases/tag/v9.0.0 · WEB
- https://github.com/zip-rs/zip2/security/advisories/GHSA-9hj8-73fh-9963 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-115907 · ADVISORY
- https://github.com/zip-rs/zip2 · PACKAGE
- https://crates.io/crates/zip · PACKAGE
- https://rustsec.org/advisories/RUSTSEC-2026-0547.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 22 Oct 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 29 Oct 2026)