Excessive allocation in zip Rust crate aborts extraction of symlinks
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Partial Red Hat: 15 without a fix
Attack profile from CVSS 3.1 · CNA. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-400.
Summary
The zip and zip2 Rust packages from 1.3.0 before 9.0.0 are affected. When extracting a symbolic link, ZipArchive::extract allocates a buffer sized by the archive's attacker-controlled ZIP64 uncompressed size before validating the entry (CWE-789). An unauthenticated remote attacker who supplies a small crafted archive can trigger an impossible allocation that aborts the process, and the failure cannot be contained, enabling repeated denial of service.
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 1.3.0 until 9.0.0, ZipArchive::extract in src/read/mod.rs calls Vec::with_capacity for a symbolic link target using the attacker-controlled ZIP64 uncompressed_size before reading entry data. A small archive can request an impossible capacity, causing the infallible allocation path to abort the process before the entry is validated. The failure cannot be contained with catch_unwind or a worker thread, allowing repeated denial of service in archive-processing applications. This issue is fixed in version 9.0.0.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- 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 | 1.3.0 to before 9.0.0 | 9.0.0 | Patch available | CNA |
| — | zip (crates.io) | 1.3.0 to before 9.0.0 | 9.0.0 | Patch available | GHSA-q7v9-x93c-xqv3 |
- zip2 Vendorzip-rs Affected 1.3.0 to before 9.0.0 Fixed in 9.0.0 Patch available CNA
- zip (crates.io) Vendor— Affected 1.3.0 to before 9.0.0 Fixed in 9.0.0 Patch available GHSA-q7v9-x93c-xqv3
Remediation
Upgrade the zip2 and zip packages to version 9.0.0. Red Hat lists Red Hat Enterprise Linux 9, Red Hat Enterprise Linux 10, Red Hat Quay 3 and other products as affected without a fix, with plan none_available, except OpenShift Lightspeed and Red Hat Ansible Automation Platform Ansible Core 2, which have plan no_fix_planned.
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-q7v9-x93c-xqv3 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 |
| Confidential Cluster Operator | Affected | No fix yet |
| Confidential Compute Attestation | Affected | No fix yet |
| OpenShift Lightspeed | Affected | No fix planned: Will not fix |
| Red Hat Ansible Automation Platform 2 | Affected | No fix yet |
| Red Hat Ansible Automation Platform Ansible Core 2 | Affected | No fix planned: Out of support scope |
| Red Hat Discovery 2 | Affected | No fix yet |
| Red Hat Enterprise Linux 10 | Affected | No fix yet |
| Red Hat Enterprise Linux 9 | Affected | No fix yet |
| Red Hat Enterprise Linux AI (RHEL AI) 3 | Affected | No fix yet |
| Red Hat Lightspeed Services for OCP | Affected | No fix yet |
| Red Hat OpenShift AI (RHOAI) | Affected | No fix yet |
| Red Hat Quay 3 | Affected | No fix yet |
| Red Hat Satellite 6 | Affected | No fix yet |
| Red Hat Trusted Profile Analyzer | Affected | No fix yet |
Not affected: 8 products
- Pen Drive Powered by Red Hat Lightspeed
- Red Hat Ansible Automation Platform 2
- Red Hat Ansible Automation Platform Ansible Core 2
- Red Hat Enterprise Linux 10
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9
- Red Hat Enterprise Linux command line assistant
- Red Hat Hardened Images
Timeline
- 2026-10-26 Threatist record created from CVE-2026-115909
- 2026-10-26 CISA SSVC decision points changed
- 2026-10-26 Priority changed: MEDIUM → LOW
- 2026-10-29 Alias added: GHSA-q7v9-x93c-xqv3
- 2026-10-29 Fix available: crates.io/[email protected] · GHSA-q7v9-x93c-xqv3
- 2026-10-29 CVSS score added · GHSA-q7v9-x93c-xqv3
- 2026-10-29 Weakness changed · GHSA-q7v9-x93c-xqv3
- 2026-10-29 6 new references · GHSA-q7v9-x93c-xqv3
- 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-80488 Authentication bypass in zip Rust crate lets modified AES entries pass CVSS 3.1MEDIUM 6.5
- TI-2026-80490 Arbitrary file write outside extraction directory in Rust zip crate CVSS 3.1HIGH 7.4
Sources
- CVE-2026-115909 · CVE Program
- CVE-2026-115909 · NVD
- FIRST EPSS
- GHSA-q7v9-x93c-xqv3 · GitHub Advisory Database · CC BY 4.0
- CVE-2026-115909 · 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