Authentication bypass in zip Rust crate lets modified AES entries pass
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- None · High · None
- Fix status
- Partial Red Hat: 18 without a fix
Attack profile from CVSS 3.1 · CNA. Fix status from CNA, GitHub and Red Hat.
Summary
The zip Rust library from 0.6.0 before 9.0.0, including the zip2 and zip crates, can skip checking the HMAC of AES encrypted entries (CWE-354). The reader returns a clean end of stream when the archive ends early or an entry has no payload, so the authentication tag is never compared. A remote attacker can modify the plaintext of an encrypted entry, and a user who reads it gets no authentication error.
Written with Claude Haiku 5.5 from the sources below · 2026-11-06
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| zip-rs | zip2 | 0.6.0 to before 9.0.0 | 9.0.0 | Patch available | CNA |
| — | zip (crates.io) | 0.6.0 to before 9.0.0 | 9.0.0 | Patch available | GHSA-8hxf-qr8p-62x4 |
- zip2 Vendorzip-rs Affected 0.6.0 to before 9.0.0 Fixed in 9.0.0 Patch available CNA
- zip (crates.io) Vendor— Affected 0.6.0 to before 9.0.0 Fixed in 9.0.0 Patch available GHSA-8hxf-qr8p-62x4
Remediation
Upgrade the zip2 and zip crates to version 9.0.0. The sources list no fixed version for Ansible Automation Orchestrator 2026, Confidential Cluster Operator, Confidential Compute Attestation, OpenShift Lightspeed, Pen Drive Powered by Red Hat Lightspeed and other products.
Written with Claude Haiku 5.5 from the sources below · 2026-11-06
- Fix · CNA zip2 (zip-rs) Fixed in 9.0.0
- Fix · GHSA-8hxf-qr8p-62x4 zip (crates.io) Fixed in 9.0.0 Advisory →
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Ansible Automation Orchestrator 2026 | Affected | No fix yet: Fix deferred |
| Confidential Cluster Operator | Affected | No fix yet: Fix deferred |
| Confidential Compute Attestation | Affected | No fix yet: Fix deferred |
| OpenShift Lightspeed | Affected | No fix yet: Fix deferred |
| Pen Drive Powered by Red Hat Lightspeed | Affected | No fix yet: Fix deferred |
| Red Hat Ansible Automation Platform 2 | Affected | No fix yet: Fix deferred |
| Red Hat Ansible Automation Platform Ansible Core 2 | Affected | No fix yet: Fix deferred |
| Red Hat Discovery 2 | Affected | No fix yet: Fix deferred |
| Red Hat Enterprise Linux 10 | Affected | No fix yet: Fix deferred |
| Red Hat Enterprise Linux 8 | Affected | No fix yet: Fix deferred |
| Red Hat Enterprise Linux 9 | Affected | No fix yet: Fix deferred |
| Red Hat Enterprise Linux AI (RHEL AI) 3 | Affected | No fix yet: Fix deferred |
| Red Hat Enterprise Linux command line assistant | Affected | No fix yet: Fix deferred |
| Red Hat Lightspeed Services for OCP | Affected | No fix yet: Fix deferred |
| Red Hat OpenShift AI (RHOAI) | Affected | No fix yet: Fix deferred |
| Red Hat Quay 3 | Affected | No fix yet: Fix deferred |
| Red Hat Satellite 6 | Affected | No fix yet: Fix deferred |
| Red Hat Trusted Profile Analyzer | Affected | No fix yet: Fix deferred |
Not affected: 1 product
- Red Hat Hardened Images
Timeline
- 2026-10-26 Threatist record created from CVE-2026-115906
- 2026-10-27 Priority changed: MEDIUM → LOW
- 2026-10-29 Alias added: GHSA-8hxf-qr8p-62x4
- 2026-10-29 Fix available: crates.io/[email protected] · GHSA-8hxf-qr8p-62x4
- 2026-10-29 CVSS score added · GHSA-8hxf-qr8p-62x4
- 2026-10-29 Weakness changed · GHSA-8hxf-qr8p-62x4
- 2026-10-29 5 new references · GHSA-8hxf-qr8p-62x4
- 2026-10-31 CISA SSVC decision points changed
- 2026-10-31 Priority changed: LOW → MEDIUM
- 2026-11-06 Affected versions changed · Red Hat
- 2026-11-06 CVSS score added · Red Hat
References
More zip-rs vulnerabilities
- TI-2026-80483 Parser differential in Rust zip library allows file overwrite CVSS 4.0CRITICAL 10.0
- TI-2026-80489 Denial of service in zip crate from attacker-controlled ZIP64 size CVSS 3.1HIGH 7.5
- TI-2025-21198 zip Vulnerable to Incorrect Path Canonicalization During Archive Extraction, Leading to Arbitrary File Write CVSS 4.0HIGH 7.3
- TI-2026-80491 Excessive allocation in zip Rust crate aborts extraction of symlinks CVSS 3.1HIGH 7.5
- TI-2026-80490 Arbitrary file write outside extraction directory in Rust zip crate CVSS 3.1HIGH 7.4
Sources
- CVE-2026-115906 · CVE Program
- CVE-2026-115906 · NVD
- FIRST EPSS
- GHSA-8hxf-qr8p-62x4 · GitHub Advisory Database · CC BY 4.0
- CVE-2026-115906 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences