# zip (crates.io)

Library to support the reading and writing of zip files.

- Latest: 9.9.0 (2026-11-28)
- Licence: MIT
- Downloads: 118306521 last 90 days
- Advisories on the latest version: 0

- CVE-2026-115906 MODERATE: zip: AES Entry HMAC Authentication Bypass on Premature EOF Fixed in 9.0.0.
- CVE-2026-115907 HIGH: zip: legacy Shrink/Reduce/Implode decoder: denial of service from attacker-controlled ZIP64 uncompressed size Fixed in 9.0.0.
- CVE-2026-115908 HIGH: zip: Arbitrary file write outside the extraction directory, because ZipArchive::extract validates symlink targets lexically.  Fixed in 9.0.0.
- CVE-2026-115909 HIGH: zip: Unbounded Symlink-Target Handling Can Abort Or Exhaust Memory During Extraction Fixed in 9.0.0.
- CVE-2026-115905 CRITICAL: zip: Critical Parser Differential & Security Control Bypass via Dual-Header Inconsistencies (Zip Cloaking) Leading to Arbitrary File Overwrite & RCE Fixed in 9.0.5.
- CVE-2026-115909 : zip: `ZipArchive::extract` aborts the process on a symlink entry with a large declared size Fixed in 9.0.0.
- CVE-2026-115906 : AES entries returned without checking their authentication code when the data ends early or is empty Fixed in 9.0.0.
- CVE-2026-115908 : `ZipArchive::extract` can write outside the destination through absolute or chained symlink targets Fixed in 9.0.0.
- CVE-2026-115907 : Legacy Shrink, Reduce and Implode decoders preallocate the declared uncompressed size Fixed in 9.0.0.
- CVE-2026-115905 : `ZipStreamReader` extracts entries under local-header names that can differ from the central directory Fixed in 9.0.5.
- RUSTSEC-2026-0369 : ZipStreamReader::extract() and ZipArchive::extract() apply Unix permissions through symlinks without confining the target Fixed in 9.0.0.
- RUSTSEC-2026-0367 :  Insecure Preservation of SUID/SGID Bits during ZIP Extraction Leading to Potential Privilege Escalation Fixed in 9.0.0.
- RUSTSEC-2026-0368 : zip: `ZipArchive::extract` creates symbolic links whose attacker-controlled targets are outside the destination directory Fixed in 9.0.0.
- CVE-2025-29787 HIGH: zip Incorrectly Canonicalizes Paths during Archive Extraction Leading to Arbitrary File Write Fixed in 2.3.0.
- CVE-2025-29787 : Incorrect path canonicalization during Archive Extraction Leading to Arbitrary File Write Fixed in 2.3.0.

Sources: crates.io, deps.dev (CC BY 4.0), OSV. Last checked 4 Dec 2026.
