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

Status: published. Published: 2026-10-26. Updated: 2026-11-02.

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.

## Remediation

- 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) — https://github.com/advisories/GHSA-m665-v7pm-7grj

## Affected products and versions

- zip-rs / zip2: < 9.0.5 (affected). Source: CNA: GitHub_M
-  / zip (zip): ≥ 0; < 9.0.5 (affected, semver); OSV events: introduced 0; fixed 9.0.5. Source: OSV GHSA-m665-v7pm-7grj

## Severity and prioritization

- CVSS 4.0: 10 (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:L; source: CNA: GitHub_M

- CISA KEV: No listing in collected sources

- EPSS: 0.32% as of 2026-11-02; percentile 25.01%

- SSVC: exploitation poc; automatable yes; technical impact total; source ADP: CISA-ADP

- Weaknesses: CWE-20, CWE-436

## Exploit evidence

- exploit: https://github.com/zip-rs/zip2/security/advisories/GHSA-m665-v7pm-7grj (ADP: CISA-ADP)

## References

- https://github.com/zip-rs/zip2/security/advisories/GHSA-m665-v7pm-7grj (CNA: GitHub_M; x_refsource_CONFIRM)

- https://github.com/zip-rs/zip2/commit/8068ab480ccf8daa7411424e365fcdbe6d09443e (CNA: GitHub_M; x_refsource_MISC)

- https://github.com/zip-rs/zip2/releases/tag/v9.0.5 (CNA: GitHub_M; x_refsource_MISC)

- https://github.com/zip-rs/zip2/security/advisories/GHSA-m665-v7pm-7grj (ADP: CISA-ADP; exploit)

- https://github.com/advisories/GHSA-m665-v7pm-7grj (OSV / GitHub Security Advisories; advisory)

- https://osv.dev/vulnerability/GHSA-m665-v7pm-7grj (OSV / GitHub Security Advisories; osv)

## Provenance

- CNA: GitHub_M: https://www.cve.org/CVERecord?id=CVE-2026-115905; retrieved 2026-11-02; source updated 2026-11-02

- OSV / GitHub Security Advisories: https://osv.dev/vulnerability/GHSA-m665-v7pm-7grj; retrieved 2026-11-02; source updated 2026-10-28

- FIRST EPSS: https://api.first.org/data/v1/epss?cve=CVE-2026-115905; retrieved 2026-11-02; source updated Not reported

Revision: 255208946aedb3e0a7a940fdd494d110a8ebffe05bfba187576ea56a58a65868

Canonical: https://y2.dev/cve/CVE-2026-115905

## Agent and API access

Public CVE pages, Markdown, and JSON are free to read without an account or API key.

- Public catalog: https://y2.dev/cve/index.json. Follow nextCursor with the same search, filters, sort, and limit (1–100). A null cursor marks the end.

- WebMCP: search_cve_disclosures, get_cve_disclosure, get_cve_page_markdown, get_y2_cve_access. Available in compatible browsers.

- Cyber API: https://api.y2.dev/api/v2/cyber/cves and https://api.y2.dev/api/v2/cyber/cves/{cveId}.

- Y2 Pro or Elite: create a workspace API key with the intel:cyber scope and send Authorization: Bearer <Y2_API_KEY>. Setup: https://y2.dev/docs/api/create-key.

- x402: Pay per request without an account or API key. Omit Authorization, read the HTTP 402 PAYMENT-REQUIRED challenge, validate its current requirements, and retry with PAYMENT-SIGNATURE through an authorized payment client. These browser tools never make payments. Guide: https://y2.dev/docs/api/x402.

- OpenAPI: https://y2.dev/api/openapi.yaml. Agent access metadata: https://y2.dev/cve/agent.json.

Collected public records only. Check source status for coverage and freshness.