CVE-2026-115906zip: AES Entry HMAC Authentication Bypass on Premature EOF
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
Fixed builds are available from crates.io: see the table below for the fixed version per release.
Debian, Red Hat, 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-115906 | |
| Ubuntu 26.04 | rust-zip | Under investigation | UBUNTU-CVE-2026-115906 | |
| Ubuntu 24.04 | rust-zip | Under investigation | UBUNTU-CVE-2026-115906 | |
| Ubuntu 22.04 | rust-zip | Under investigation | UBUNTU-CVE-2026-115906 | |
| Ubuntu 20.04 | rust-zip | Fix pending | UBUNTU-CVE-2026-115906 | |
| Debian 14 | rust-zip | Fix pending | DEBIAN-CVE-2026-115906 | |
| Debian 13 | rust-zip | Fix pending | DEBIAN-CVE-2026-115906 | |
| Debian 12 | rust-zip | Fix pending | DEBIAN-CVE-2026-115906 | |
| Red Hat Enterprise Linux 10 | cargo | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | clippy | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | firefox | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | goose | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | keylime-agent-rust | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | keylime-agent-rust-common | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | keylime-agent-rust-ima-emulator | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | keylime-agent-rust-push | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | rust | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | rust-analyzer | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | rust-debugger-common | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | rust-doc | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | rust-gdb | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | rust-lldb | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | rust-src | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | rust-std-static | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | rust-std-static-aarch64-unknown-none-softfloat | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | rust-std-static-wasm32-unknown-unknown | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | rust-std-static-wasm32-wasip1 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | rust-std-static-x86_64-unknown-none | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | rust-toolset | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | rust-toolset-srpm-macros | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | rustfmt | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | thunderbird | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | cargo | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | clippy | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | firefox | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | firefox-x11 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | goose | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | keylime-agent-rust | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | rust | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | rust-analysis | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | rust-analyzer | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | rust-debugger-common | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | rust-doc | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | rust-gdb | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | rust-lldb | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | rust-src | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | rust-std-static | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | rust-std-static-wasm32-unknown-unknown | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | rust-std-static-wasm32-wasi | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | rust-std-static-wasm32-wasip1 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | rust-toolset | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | rustfmt | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | thunderbird | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | cargo | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | cargo-doc | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | clippy | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | firefox | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | rls | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | rust | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | rust-analysis | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | rust-analyzer | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | rust-debugger-common | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | rust-doc | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | rust-gdb | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | rust-lldb | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | rust-src | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | rust-std-static | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | rust-std-static-wasm32-unknown-unknown | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | rust-std-static-wasm32-wasi | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | rust-toolset | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | rustfmt | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | thunderbird | Fix pending Fix deferred | ||
| crates.io library | zip | Fixed | 9.0.0 | GHSA-8hxf-qr8p-62x4 |
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: >= 0.6.0, < 9.0.0
References
- https://github.com/zip-rs/zip2/security/advisories/GHSA-8hxf-qr8p-62x4
- https://github.com/zip-rs/zip2/commit/ec265db0b0602f8ffb9479327397bddefb7e2216
- 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.