Install
zlib-rs
A memory-safe zlib implementation written in rust
0.6.9Latest, 24 Nov 2026
173MDownloads, last 90 days
0Advisories on the latest
2Advisories, all versions
ZlibLicence
724Stars
Source · Homepage · Ask AI Mode · · Markdown
Known advisories
| Severity | Advisory | Fix | Published |
|---|---|---|---|
| Moderate | zlib-rs stack overflow during decompression with malicious input GHSA-j3px-q95c-9683 | Fixed in 0.4.0 | 14 Nov 2024 |
| Denial of service because of stack overflow with malicious decompression input RUSTSEC-2024-0401 | Fixed in 0.4.0 | 14 Nov 2024 |
In the news
- zlib-rs 0.6.9 Released With Performance Improvements phoronix.com, 24 Nov 2026
- zlib-rs 0.6.7 Released With LoongArch LSX Optimizations, Use-After-Free Fix phoronix.com, 3 Aug 2026
- zlib-rs 0.6.4 Released With Fix For Intel Raptor Lake Crash, SIMD Optimizations phoronix.com, 21 Jun 2026
- Mozilla Firefox Usage Of zlib-rs For Better Safety & Performance phoronix.com, 16 Jun 2026
- New Zlib-rs Delivers More Performance With AVX-512 VNNI Adler32 Implementation phoronix.com, 2 Mar 2026
On Hacker News
- Zlib-rs is faster than C 341 points, 473 comments, 16 Mar 2025
- Zlib-Rs Is Not Only Safer but Now Outperforming Zlib C Implementations 63 points, 17 comments, 25 Feb 2025
Sources: crates.io, deps.dev (CC BY 4.0), OSV. Last checked 3 Dec 2026.