CVE-2026-115906zip-rs zip2
Medium 6.5 No auth needed
Follow: this CVE · zip-rs · zip-rs zip2 We alert you by email or Slack (account required).
- Priority
- 54
- CVSS 3.1
- 6.5
- EPSS
- —
- Auth required
- No
- Published
- Oct 26, 2026
- Updated
- Oct 31, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
What happens
zip is a zip library for Rust that supports reading and writing simple ZIP files. From 0.6.0 until 9.0.0, the AES entry reader in src/aes.rs verifies its HMAC only when the attacker-controlled data counter reaches zero. If the underlying bounded reader reaches the real end of the archive while data_remaining is still positive, or if an encrypted entry has no payload, the reader can return a clean end of stream without reading and comparing the authentication tag. Applications using by_index_decrypt, by_name_decrypt, by_path_decrypt, or password-enabled by_index_with_options can therefore accept modified plaintext without an authentication error. This issue is fixed in version 9.0.0.
What to do
- Apply the vendor's security update for zip2.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| crates.io | zip |
≥ 0.6.0 < 9.0.0 |
9.0.0 |
cargo update -p zip --precise 9.0.0 |
| crates.io | zip |
≥ 0.6.0 < 9.0.0 |
9.0.0 |
cargo update -p zip --precise 9.0.0 |
Per OSV / GitHub Advisories (GHSA-8hxf-qr8p-62x4, RUSTSEC-2026-0545). Check the version in your lockfile before upgrading.
Affected products
- zip-rs · zip2
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official advisories
- Security update for gleam · SUSE · openSUSE-SU-2026:22361-1 · Nov 11, 2026 Critical
- Security update for rust-keylime · SUSE · openSUSE-SU-2026:22249-1 · Nov 6, 2026 Critical
- Security update for rust-keylime · SUSE · SUSE-SU-2026:24641-1 · Nov 6, 2026 Critical
Also: SUSE (+3)
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.