Read the docs

Parser differential in Rust zip library allows file overwrite

Priority HIGH 82CWE-20Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Attack requirements
None
Impact type
—
Confidentiality · integrity · availability
High · High · High
Fix status
Partial Red Hat: 13 without a fix

Attack profile from CVSS 4.0 · CNA. Fix status from CNA, GitHub and Red Hat.

Summary

The zip crate for Rust is affected from 0 before 9.0.5, including the zip2 package. ZipArchive reads filenames from the central directory while ZipStreamReader extracts using local file header filenames, and the duplicate metadata is not reconciled (CWE-436). An unauthenticated remote attacker can send a crafted archive that passes inspection but makes a streaming extractor write attacker-selected content to a different path, which can overwrite files used by a downstream service.

Written with Claude Haiku 5.5 from the sources below · 2026-11-07

Description from the CNA

zip is a zip library for Rust that supports reading and writing simple ZIP files. Through 9.0.4, ZipArchive treats Central Directory File Header filenames as authoritative while ZipStreamReader extracts using Local File Header filenames without reconciling the duplicate metadata in src/read/stream.rs. A crafted archive can therefore appear benign to a component that inspects the central directory but cause a streaming extractor to write a different attacker-selected path and content, potentially overwriting files used by a downstream service. This issue is fixed in version 9.0.5.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.0032 25th percentileScored 2026-11-07
Fix Partial zip2 (zip-rs): 9.0.5zip (crates.io): 9.0.5Red Hat: 13 without a fix

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
Yes
Technical impact
Total

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-rszip2before 9.0.59.0.5Patch availableCNA
—zip (crates.io)before 9.0.59.0.5Patch availableGHSA-m665-v7pm-7grj
  • zip2 Vendorzip-rs Affected before 9.0.5 Fixed in 9.0.5 Patch available CNA
  • zip (crates.io) Vendor— Affected before 9.0.5 Fixed in 9.0.5 Patch available GHSA-m665-v7pm-7grj

Remediation

Upgrade the zip crate and the zip2 package to version 9.0.5. Red Hat lists no available fix for Ansible Automation Orchestrator 2026, Confidential Compute Attestation, Red Hat Ansible Automation Platform 2 and Red Hat Discovery 2, and no fix planned for OpenShift Lightspeed, as well as other products.

Written with Claude Haiku 5.5 from the sources below · 2026-11-07

  • Fix · CNA zip2 (zip-rs) Fixed in 9.0.5
  • Fix · GHSA-m665-v7pm-7grj zip (crates.io) Fixed in 9.0.5 Advisory →

Vendor assessments

Red Hat

Red Hat rating: Important. Red Hat's page for this CVE →

ProductStatusPlan or fix
Ansible Automation Orchestrator 2026AffectedNo fix yet
Confidential Compute AttestationAffectedNo fix yet
OpenShift LightspeedAffectedNo fix planned: Will not fix
Red Hat Ansible Automation Platform 2AffectedNo fix yet
Red Hat Discovery 2AffectedNo fix yet
Red Hat Enterprise Linux 10AffectedNo fix yet
Red Hat Enterprise Linux 8AffectedNo fix yet
Red Hat Enterprise Linux 9AffectedNo fix yet
Red Hat Enterprise Linux AI (RHEL AI) 3AffectedNo fix yet
Red Hat Enterprise Linux command line assistantAffectedNo fix yet
Red Hat OpenShift AI (RHOAI)AffectedNo fix yet
Red Hat Satellite 6AffectedNo fix yet
Red Hat Trusted Profile AnalyzerAffectedNo fix yet
Not affected: 7 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 8
  • Red Hat Enterprise Linux 9
  • Red Hat Hardened Images
  • Red Hat Quay 3

Timeline

  1. 2026-10-26 Threatist record created from CVE-2026-115905
  2. 2026-10-28 Alias added: GHSA-m665-v7pm-7grj
  3. 2026-10-28 Fix available: crates.io/[email protected] · GHSA-m665-v7pm-7grj
  4. 2026-10-28 CVSS score added · GHSA-m665-v7pm-7grj
  5. 2026-10-28 Weakness changed · GHSA-m665-v7pm-7grj
  6. 2026-10-28 5 new references · GHSA-m665-v7pm-7grj
  7. 2026-11-02 CISA SSVC decision points changed
  8. 2026-11-02 Priority changed: MEDIUM → HIGH
  9. 2026-11-04 Affected versions changed · Red Hat
  10. 2026-11-04 CVSS score added · Red Hat
  11. 2026-11-04 Affected versions changed · Red Hat
  12. 2026-11-05 Affected versions changed · Red Hat
  13. 2026-11-05 Affected versions changed · Red Hat
  14. 2026-11-06 Affected versions changed · Red Hat
  15. 2026-11-07 Affected versions changed · Red Hat

References

  • 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-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