Patchfirst
CVE-2026-115905 Public exploit Critical · 10.0 EPSS 0.6%

zip: Critical Parser Differential & Security Control Bypass via Dual-Header Inconsistencies (Zip Cloaking) Leading to…

Fix:upgrade zip to 9.0.5 or later Details ↓

zip-rs · zip2

Summary

The zip2 crate for Rust, through version 9.0.4, has a flaw where the streaming extractor (ZipStreamReader in src/read/stream.rs) takes filenames from Local File Header entries while the ZipArchive reader uses Central Directory entries, and the duplicate metadata is not reconciled. An attacker who can supply a crafted archive can exploit this if the archive is processed through the streaming extractor and the extractor writes to an attacker-chosen path and content, which may overwrite files used by a downstream service.

Official description · NVD

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.

Breakdown
24.0 / 100
Exploited
Not confirmed
Reports
0
Tactics
0/15

Public exploit code (PoC-in-GitHub) appeared 1 day after disclosure. No confirmed exploitation is recorded.

  1. Disclosedday 0
  2. Public exploit codePoC-in-GitHub+1 day

2 related vulnerabilities in the same code over 19 months.

Linked vulnerabilitiesLinked by evidence that a fix failed or the same code was patched again. Oldest first.

  1. CVE-2025-29787zip Vulnerable to Incorrect Path Canonicalization During Archive…17 Mar 2025
  2. relatedMedium

    Why these are linked:

    This CVECVE-2026-115905zip: Critical Parser Differential & Security Control Bypass via…26 Oct 2026

Affected versions and fixes

as published in the CVE record

zip-rs zip2

Affected: < 9.0.5

Am I affected? What do I upgrade to?

From GitHub Security Advisories and OSV

1 package in 1 ecosystem. Main package: zip.

Upgrade to 9.0.5 or later

Cargocargo update -p zip --precise 9.0.5

The first fix for CVE-2026-115905. No other CVE tracked by Patchfirst affects this package.

Affected versions

If you runUpgrade to
All versions before 9.0.59.0.5

“Up to” means the second version is the fix and is not affected.

Check your lockfile against all CVEs

What security researchers reported

Not named in any threat report yet

Also mentioned in 8 community threat pulses (AlienVault OTX)

Weaker evidence

Pulses are indicator collections that anyone can publish. A mention is not confirmation of exploitation.

References

3 links, grouped by NVD tag (1 duplicate merged)
↑ ↓ chooseEnter openEsc close