Install
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
Source · Ask AI Mode · · Markdown
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
- 3 Subtle Rust CLI & Parser Bugs I Hunted Today (Silent Zip Truncation, Kebab-Case Alias Collisions & Quiet stderr Suppression) dev.to, 20 Nov 2026
- I deleted my Rust helper and moved zip extraction into the browser. Here's what it cost. dev.to, 17 Nov 2026
- ZIP cloaking shows why scanners and extractors need the same parser dev.to, 12 Nov 2026
- Monogram Vertical Logo Zip Up Hoodie – Full Style and Fit Guide pctechmag.com, 9 Nov 2026
- CVE-2026-115908: CVE-2026-115908: Arbitrary File Write via Lexical Symlink Validation Bypass in Rust zip Crate dev.to, 30 Oct 2026
On Hacker News
- I use zip bombs to protect my server 1076 points, 448 comments, 28 Apr 2025
- Windows 11 calls a zip file a 'postcode file' in UK English 827 points, 469 comments, 7 Jun 2023
- USPS now offers official ZIP Code boundary polygons 739 points, 402 comments, 9 Nov 2026
- JPEG image of Shakespeare which is also a zip file containing his complete works 689 points, 132 comments, 30 Oct 2018
Sources: crates.io, deps.dev (CC BY 4.0), OSV. Last checked 4 Dec 2026.