CVE Catalog

CVE-2026-115905

CriticalCVSS 10.0
Published: Translated: NVD NIST

Summary

Through 9.0.4, the Rust zip library's ZipArchive treats Central Directory File Header filenames as authoritative while ZipStreamReader extracts using Local File Header filenames without reconciling the duplicate metadata. A crafted archive can appear benign to a component inspecting the central directory but cause a streaming extractor to write a different attacker-selected path and content.

Risk Assessment

An attacker can deliver an archive that overwrites files used by a downstream service, potentially leading to integrity compromise or code execution.

Recommendation

Update the zip library to version 9.0.5 or later.

Other vulnerabilities in zip

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS