Skip to content
NewA calmer, faster ZeroHour
Vulnerability3 · 3 reads

CVE-2026-115905

ZIP filename mismatch in Rust zip library through 9.0.4

CVSS 4.0
10.0 critical
EPSS
—
Published
·
Modified
Analyze CVE-2026-115905 with Vani AIImpact, affected versions, exploitation status, mitigations and detection

The Rust zip library, through 9.0.4, treats Central Directory filenames as authoritative in ZipArchive while ZipStreamReader extracts using Local File Header names and does not reconcile the two. A crafted archive can look benign to a component that only checks the central directory, yet a streaming extractor writes an attacker-chosen path and content, potentially overwriting files a downstream service uses. Any application that stream-extracts untrusted ZIPs with this library is affected.

What to do: Upgrade the Rust zip library to 9.0.5.

ProductAffectedFixed in
zip (Rust library)through 9.0.49.0.5
Estimated exposure
No basis for an estimate.

Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.

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.

Ecosystems
rust
Weakness
CWE-20, CWE-436
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
GHSA
GHSA-m665-v7pm-7grj (critical)

In the news

0 stories

No ingested article mentions this CVE yet.