CVE-2026-115905

critical

Description

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.

References

https://github.com/cosmonic-labs/demo-zip-rce-sandbox

https://github.com/foxcornlab/zip-cloaking-scanner

https://github.com/zip-rs/zip2/security/advisories/GHSA-m665-v7pm-7grj

https://github.com/zip-rs/zip2/releases/tag/v9.0.5

https://github.com/zip-rs/zip2/commit/8068ab480ccf8daa7411424e365fcdbe6d09443e

https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-109981

Details

Source: Mitre, NVD

Published: 2026-10-26

Updated: 2026-11-02

Named Vulnerability: GHSA-m665-v7pm-7grj

Risk Information

CVSS v2

Base Score: 7.1

Vector: CVSS2#AV:N/AC:H/Au:N/C:N/I:C/A:C

Severity: High

CVSS v3

Base Score: 7.4

Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H

Severity: High

CVSS v4

Base Score: 10

Vector: 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

Severity: Critical

EPSS

EPSS: 0.0032