Description
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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| zip-rs | zip2 | >= 0.6.0, < 9.0.0 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | rust-zip | No fix yet | — |
| Debian 13 | rust-zip | No fix yet | — |
| Debian 12 | rust-zip | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | rust-zip | No fix yet | — |
| Ubuntu 26.04 LTS | rust-zip | No fix yet | — |
| Ubuntu 24.04 LTS | rust-zip | No fix yet | — |
| Ubuntu 22.04 LTS | rust-zip | No fix yet | — |
| Ubuntu 20.04 LTS | rust-zip | No fix yet | — |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 16.0 | rust-keylime | 0.2.10+12-160000.1.1 | SUSE-SU-2026:24658-1 |
| SLES 16.0 | rust-keylime | 0.2.10+12-160000.1.1 | SUSE-SU-2026:24658-1 |
| SLE Micro 6.2 | rust-keylime | 0.2.10+12-160000.1.1 | SUSE-SU-2026:24641-1 |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLE Micro 5.5 | rust-keylime | 0.2.10+12-150500.3.22.1 | SUSE-SU-2026:4931-1 |
| SLE Micro 5.4 | rust-keylime | 0.2.10+12-150400.3.22.1 | SUSE-SU-2026:4930-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Leap 16.0 | rust-keylime | 0.2.10+12-160000.1.1 | openSUSE-SU-2026:22249-1 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | rust | No fix yet | — |
Wolfi
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Wolfi rolling | ascan +2 | No fix yet | — |
| Wolfi rolling | deno | 2.9.8-r3 | — |
| Wolfi rolling | geckodriver | 0.37.1-r7 | — |
| Wolfi rolling | pixi | 0.84.0-r0 | — |
| Wolfi rolling | pnpm-12 | 12.18.0-r0 | — |
| Wolfi rolling | ruff +1 | 0.17.4-r0 | — |
| Wolfi rolling | verus | 0.2026.10.18-r1 | — |
| Wolfi rolling | wasm-pack | 0.15.1-r1 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| crates.io | zip | >= 0.6.0, < 9.0.0 | 9.0.0 | GHSA-8hxf-qr8p-62x4 |
Advisories 5
- SUSE-SU-2026:24658-1 Security update for rust-keylime SUSE / openSUSE Security Updates · Nov 12, 2026
- SUSE-SU-2026:24641-1 Security update for rust-keylime SUSE / openSUSE Security Updates · Nov 12, 2026
- openSUSE-SU-2026:22249-1 Security update for rust-keylime SUSE / openSUSE Security Updates · Nov 11, 2026
- SUSE-SU-2026:4931-1 Security update for rust-keylime SUSE / openSUSE Security Updates · Oct 31, 2026
- SUSE-SU-2026:4930-1 Security update for rust-keylime SUSE / openSUSE Security Updates · Oct 31, 2026