CVE-2026-115906
zip: AES Entry HMAC Authentication Bypass on Premature EOF
Also known as GHSA-8hxf-qr8p-62x4, RUSTSEC-2026-0545
Mitigation
- Upgrade zip to 9.0.0 or later.
Who should check
- Projects that depend on crates.io package zip (>= 0.6.0, < 9.0.0)
- Anyone running zip-rs zip2 >= 0.6.0, < 9.0.0
Vulnerability facts
- Affected
- zip >= 0.6.0, < 9.0.0
- Fixed in
- 9.0.0
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 6.5 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: None
- User interaction: Required
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: High
- Availability impact: None
- EPSS
- 0.23% chance of exploitation in 30 days (percentile 8, 2026-11-26)
- CWE
- CWE-354, CWE-1284
- Modified
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 and fixed versions
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-115906. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-115906.md Affected: zip >= 0.6.0, < 9.0.0 Fixed in: 9.0.0 Steps: 1. Search this machine and project for zip (crates.io), zip-rs zip2: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
FAQ
Is CVE-2026-115906 being exploited?
There is no confirmed exploitation: CVE-2026-115906 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.23% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-115906?
Medium: CVSS 6.5 (v3.1, scored by CNA). Remote, no login needed. A user has to take an action, such as opening a link, for the attack to work.
Which versions are affected by CVE-2026-115906?
zip >= 0.6.0, < 9.0.0.
Is there a fix for CVE-2026-115906?
Yes. Fixed in 9.0.0. Upgrade zip to 9.0.0 or later.
How do I check if I'm affected by CVE-2026-115906?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.