zip

Library to support the reading and writing of zip files.

9.9.0Latest, 28 Nov 2026
118MDownloads, last 90 days
0Advisories on the latest
15Advisories, all versions
MITLicence
391Stars

Known advisories

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

In the news

On Hacker News

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