Medium severity · published Oct 26, 2026
CVE-2026-115906
zip: AES Entry HMAC Authentication Bypass on Premature EOF
New
6.5
CVSS
0.2%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
Required
Confidentiality
None
Integrity
High
Availability
None
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.2% · higher than 4% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
ZI
zip2 · zip-rs
>= 0.6.0, < 9.0.0 · source: vendor
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-115906
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-115906
github.com
https://github.com/zip-rs/zip2/commit/ec265db0b0602f8ffb9479327397bddefb7e2216
github.com
https://github.com/zip-rs/zip2/releases/tag/v9.0.0
github.com
https://github.com/zip-rs/zip2/security/advisories/GHSA-8hxf-qr8p-62x4
More from zip2
10.0
CVE-2026-115905
zip: Critical Parser Differential & Security Control Bypass via Dual-Header Inconsistencies (Zip Cloaking) Leading to Arbitrary File Overwrite & RCE
7.5
CVE-2026-115909
zip: Unbounded Symlink-Target Handling Can Abort Or Exhaust Memory During Extraction
7.5
CVE-2026-115907
zip: legacy Shrink/Reduce/Implode decoder: denial of service from attacker-controlled ZIP64 uncompressed size
7.4
CVE-2026-115908
zip: Arbitrary file write outside the extraction directory, because ZipArchive::extract validates symlink targets lexically. (The defense against CVE-2025-29787 was broken in v7.2.0)
