Live threats

All CVEs / zip-rs

CVE-2026-115906zip-rs zip2

Medium 6.5 No auth needed

Priority
54
CVSS 3.1
6.5
EPSS
—
Auth required
No
Published
Oct 26, 2026
Updated
Oct 31, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-354, CWE-1284
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.

Original NVD text.

What to do

  1. Apply the vendor's security update for zip2.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official advisories

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.