Vulnerability · Published Oct 26, 2026 · Assigned by GitHub_M
CVE-2026-115907zip: legacy Shrink/Reduce/Implode decoder: denial of service from attacker-controlled ZIP64 uncompressed size
High 7.5
In plain English
A high-severity uncontrolled resource consumption in zip2 from zip-rs. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 29% of all known vulnerabilities).
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | rust-zip | no fix listed | DEBIAN-CVE-2026-115907 |
| Debian:13 | rust-zip | no fix listed | DEBIAN-CVE-2026-115907 |
| Debian:14 | rust-zip | no fix listed | DEBIAN-CVE-2026-115907 |
| Ubuntu:26.04:LTS | rust-zip | no fix listed | UBUNTU-CVE-2026-115907 |
| Ubuntu:26.10 | rust-zip | no fix listed | UBUNTU-CVE-2026-115907 |
Affected products (as reported)
Weakness: CWE-400, CWE-789 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
References
- https://github.com/zip-rs/zip2/security/advisories/GHSA-9hj8-73fh-9963 x_refsource_CONFIRM
- https://github.com/zip-rs/zip2/pull/991 x_refsource_MISC
- https://github.com/zip-rs/zip2/commit/8b4991288b79ad11cce201c2d785d5baa795bd3e x_refsource_MISC
- https://github.com/zip-rs/zip2/releases/tag/v9.0.0 x_refsource_MISC