Read the docs

Excessive allocation in zip Rust crate aborts extraction of symlinks

Priority LOW 39CWE-400Published · Updated

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

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00461 40th percentileScored 2026-11-07
Fix Partial zip2 (zip-rs): 9.0.0zip (crates.io): 9.0.0Red Hat: 15 without a fix

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

VendorProductAffected versionsFixed inStatusSource
zip-rszip21.3.0 to before 9.0.09.0.0Patch availableCNA
—zip (crates.io)1.3.0 to before 9.0.09.0.0Patch availableGHSA-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 →

ProductStatusPlan or fix
Ansible Automation Orchestrator 2026AffectedNo fix yet
Confidential Cluster OperatorAffectedNo fix yet
Confidential Compute AttestationAffectedNo fix yet
OpenShift LightspeedAffectedNo fix planned: Will not fix
Red Hat Ansible Automation Platform 2AffectedNo fix yet
Red Hat Ansible Automation Platform Ansible Core 2AffectedNo fix planned: Out of support scope
Red Hat Discovery 2AffectedNo fix yet
Red Hat Enterprise Linux 10AffectedNo fix yet
Red Hat Enterprise Linux 9AffectedNo fix yet
Red Hat Enterprise Linux AI (RHEL AI) 3AffectedNo fix yet
Red Hat Lightspeed Services for OCPAffectedNo fix yet
Red Hat OpenShift AI (RHOAI)AffectedNo fix yet
Red Hat Quay 3AffectedNo fix yet
Red Hat Satellite 6AffectedNo fix yet
Red Hat Trusted Profile AnalyzerAffectedNo 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

  1. 2026-10-26 Threatist record created from CVE-2026-115909
  2. 2026-10-26 CISA SSVC decision points changed
  3. 2026-10-26 Priority changed: MEDIUM → LOW
  4. 2026-10-29 Alias added: GHSA-q7v9-x93c-xqv3
  5. 2026-10-29 Fix available: crates.io/[email protected] · GHSA-q7v9-x93c-xqv3
  6. 2026-10-29 CVSS score added · GHSA-q7v9-x93c-xqv3
  7. 2026-10-29 Weakness changed · GHSA-q7v9-x93c-xqv3
  8. 2026-10-29 6 new references · GHSA-q7v9-x93c-xqv3
  9. 2026-11-06 Affected versions changed · Red Hat
  10. 2026-11-06 CVSS score added · Red Hat

References

  • 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