Public vulnerability disclosure

CVE-2026-115905

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

publishedCWE-20CWE-436

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.

Technical severity10.0 criticalCVSS 4.0 · CNA: GitHub_M
Published2026-10-26Source updated 2026-11-02
Collected2026-11-023 attributed sources

Fixes and workarounds

Fix

zip (crates.io): OSV reports a fixed version 9.0.5. Check the advisory for supported release branches.

Source: OSV GHSA-m665-v7pm-7grj

Affected products and versions

Affected products, source version ranges and reporting authorities
ProductVersionsAuthority
zip2
zip-rs
< 9.0.5 (affected) CNA: GitHub_M
zip

zip
crates.io
≥ 0; < 9.0.5 (affected, semver); OSV events: introduced 0; fixed 9.0.5
Source events (semver)
[
  {
    "introduced": "0"
  },
  {
    "fixed": "9.0.5"
  }
]

Other versions: unaffected
OSV GHSA-m665-v7pm-7grj

Version ranges are source assertions. Check the vendor advisory and your installed configuration before determining exposure.

CVSS assessments

CVSS scores, vectors and reporting authorities
Version / scoreVectorAuthority
4.0 / 10.0
critical
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:LCNA: GitHub_M

Exploit evidence

References

For agents and automation

Read public disclosures for free as Markdown or JSON. Compatible browsers also expose native WebMCP tools to search disclosures, read this page, and discover API access.

Use the ontology-linked Cyber API with x402 pay per request, or a Y2 Pro or Elite API key with the intel:cyber scope.

Endpoints and access details

https://api.y2.dev/api/v2/cyber/cves
https://api.y2.dev/api/v2/cyber/cves/{cveId}

A workspace owner or admin can create a Pro or Elite API key. Send Authorization: Bearer <Y2_API_KEY> from your trusted agent runtime.

For x402, omit Authorization and read the HTTP 402 payment challenge before signing a retry. Public browser tools do not make payments.

Agent access JSON · OpenAPI · CVE API guide