| Name | CVE-2026-115907 |
| 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. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
| Debian Bugs | 1152227 |
Vulnerable and fixed packages
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|
| rust-zip (PTS) | bookworm | 0.6.3-3 | vulnerable |
| trixie | 2.5.0-1 | vulnerable |
| forky | 5.1.1+dfsg-1 | vulnerable |
| sid | 9.4.1+ds-1 | fixed |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|
| rust-zip | source | (unstable) | 9.0.5+ds-1 | | | 1152227 |
Notes
[trixie] - rust-zip <no-dsa> (Minor issue)
[bookworm] - rust-zip <postponed> (Limited support, minor issue, follow trixie DSAs/point-releases)
https://github.com/zip-rs/zip2/security/advisories/GHSA-9hj8-73fh-9963
https://github.com/zip-rs/zip2/pull/991
Fixed by: https://github.com/zip-rs/zip2/commit/8b4991288b79ad11cce201c2d785d5baa795bd3e (v9.0.0)