CVE-2026-115907zip: legacy Shrink/Reduce/Implode decoder: denial of service from attacker-controlled…
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.
What to do
Fixed builds are available from crates.io: see the table below for the fixed version per release.
Debian, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | rust-zip | Fix pending | UBUNTU-CVE-2026-115907 | |
| Ubuntu 26.04 | rust-zip | Fix pending | UBUNTU-CVE-2026-115907 | |
| Ubuntu 24.04 | rust-zip | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | rust-zip | Not affected vulnerable_code_not_present | ||
| Debian 14 | rust-zip | Fix pending | DEBIAN-CVE-2026-115907 | |
| Debian 13 | rust-zip | Fix pending | DEBIAN-CVE-2026-115907 | |
| Debian 12 | rust-zip | Fix pending | DEBIAN-CVE-2026-115907 | |
| Red Hat Enterprise Linux 10 | cargo | Not affected | ||
| Red Hat Enterprise Linux 10 | clippy | Not affected | ||
| Red Hat Enterprise Linux 10 | firefox | Not affected | ||
| Red Hat Enterprise Linux 10 | goose | Not affected | ||
| Red Hat Enterprise Linux 10 | keylime-agent-rust | Not affected | ||
| Red Hat Enterprise Linux 10 | keylime-agent-rust-common | Not affected | ||
| Red Hat Enterprise Linux 10 | keylime-agent-rust-ima-emulator | Not affected | ||
| Red Hat Enterprise Linux 10 | keylime-agent-rust-push | Not affected | ||
| Red Hat Enterprise Linux 10 | rust | Not affected | ||
| Red Hat Enterprise Linux 10 | rust-analyzer | Not affected | ||
| Red Hat Enterprise Linux 10 | rust-debugger-common | Not affected | ||
| Red Hat Enterprise Linux 10 | rust-doc | Not affected | ||
| Red Hat Enterprise Linux 10 | rust-gdb | Not affected | ||
| Red Hat Enterprise Linux 10 | rust-lldb | Not affected | ||
| Red Hat Enterprise Linux 10 | rust-src | Not affected | ||
| Red Hat Enterprise Linux 10 | rust-std-static | Not affected | ||
| Red Hat Enterprise Linux 10 | rust-std-static-aarch64-unknown-none-softfloat | Not affected | ||
| Red Hat Enterprise Linux 10 | rust-std-static-wasm32-unknown-unknown | Not affected | ||
| Red Hat Enterprise Linux 10 | rust-std-static-wasm32-wasip1 | Not affected | ||
| Red Hat Enterprise Linux 10 | rust-std-static-x86_64-unknown-none | Not affected | ||
| Red Hat Enterprise Linux 10 | rust-toolset | Not affected | ||
| Red Hat Enterprise Linux 10 | rust-toolset-srpm-macros | Not affected | ||
| Red Hat Enterprise Linux 10 | rustfmt | Not affected | ||
| Red Hat Enterprise Linux 10 | thunderbird | Not affected | ||
| Red Hat Enterprise Linux 9 | cargo | Not affected | ||
| Red Hat Enterprise Linux 9 | clippy | Not affected | ||
| Red Hat Enterprise Linux 9 | firefox | Not affected | ||
| Red Hat Enterprise Linux 9 | firefox-x11 | Not affected | ||
| Red Hat Enterprise Linux 9 | goose | Not affected | ||
| Red Hat Enterprise Linux 9 | keylime-agent-rust | Not affected | ||
| Red Hat Enterprise Linux 9 | rust | Not affected | ||
| Red Hat Enterprise Linux 9 | rust-analysis | Not affected | ||
| Red Hat Enterprise Linux 9 | rust-analyzer | Not affected | ||
| Red Hat Enterprise Linux 9 | rust-debugger-common | Not affected | ||
| Red Hat Enterprise Linux 9 | rust-doc | Not affected | ||
| Red Hat Enterprise Linux 9 | rust-gdb | Not affected | ||
| Red Hat Enterprise Linux 9 | rust-lldb | Not affected | ||
| Red Hat Enterprise Linux 9 | rust-src | Not affected | ||
| Red Hat Enterprise Linux 9 | rust-std-static | Not affected | ||
| Red Hat Enterprise Linux 9 | rust-std-static-wasm32-unknown-unknown | Not affected | ||
| Red Hat Enterprise Linux 9 | rust-std-static-wasm32-wasi | Not affected | ||
| Red Hat Enterprise Linux 9 | rust-std-static-wasm32-wasip1 | Not affected | ||
| Red Hat Enterprise Linux 9 | rust-toolset | Not affected | ||
| Red Hat Enterprise Linux 9 | rustfmt | Not affected | ||
| Red Hat Enterprise Linux 9 | thunderbird | Not affected | ||
| Red Hat Enterprise Linux 8 | cargo | Not affected | ||
| Red Hat Enterprise Linux 8 | cargo-doc | Not affected | ||
| Red Hat Enterprise Linux 8 | clippy | Not affected | ||
| Red Hat Enterprise Linux 8 | firefox | Not affected | ||
| Red Hat Enterprise Linux 8 | rls | Not affected | ||
| Red Hat Enterprise Linux 8 | rust | Not affected | ||
| Red Hat Enterprise Linux 8 | rust-analysis | Not affected | ||
| Red Hat Enterprise Linux 8 | rust-analyzer | Not affected | ||
| Red Hat Enterprise Linux 8 | rust-debugger-common | Not affected | ||
| Red Hat Enterprise Linux 8 | rust-doc | Not affected | ||
| Red Hat Enterprise Linux 8 | rust-gdb | Not affected | ||
| Red Hat Enterprise Linux 8 | rust-lldb | Not affected | ||
| Red Hat Enterprise Linux 8 | rust-src | Not affected | ||
| Red Hat Enterprise Linux 8 | rust-std-static | Not affected | ||
| Red Hat Enterprise Linux 8 | rust-std-static-wasm32-unknown-unknown | Not affected | ||
| Red Hat Enterprise Linux 8 | rust-std-static-wasm32-wasi | Not affected | ||
| Red Hat Enterprise Linux 8 | rust-toolset | Not affected | ||
| Red Hat Enterprise Linux 8 | rustfmt | Not affected | ||
| Red Hat Enterprise Linux 8 | thunderbird | Not affected | ||
| crates.io library | zip | Fixed | 9.0.0 | RUSTSEC-2026-0547 |
What the vendor says
As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- zip-rs zip2: affected: >= 5.1.0, < 9.0.0
References
- https://github.com/zip-rs/zip2/security/advisories/GHSA-9hj8-73fh-9963
- https://github.com/zip-rs/zip2/pull/991
- https://github.com/zip-rs/zip2/commit/8b4991288b79ad11cce201c2d785d5baa795bd3e
- https://github.com/zip-rs/zip2/releases/tag/v9.0.0
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.