# zlib-rs (crates.io) CVEs

2 known CVEs (1 medium), with the versions each affects and the releases that fix them.

## At a glance

- Latest release: 0.6.8 (Sep 15, 2026): no advisory affects it
- Newest unaffected release: 0.6.8 (Sep 15, 2026), the latest release
- Downloads on affected versions: Not known: the downloads can't be split between affected and unaffected versions
- Weekly downloads: 10.7M
- Dependents: 125
- Releases: 25 since 0.0.1 (Feb 23, 2024)
- Registry: https://crates.io/crates/zlib-rs
- Releases read: Nov 21, 2026
- Downloads read: Nov 16, 2026

## Version timeline

Affected versions per advisory, in version order:

- GHSA-J3PX-Q95C-9683: 0.0.1 to 0.3.1 (0.4.0 is outside it)
- RUSTSEC-2024-0401: 0.0.1 to 0.3.1 (0.4.0 is outside it)

## Advisories (2)

### [GHSA-J3PX-Q95C-9683](https://cve.now/GHSA-J3PX-Q95C-9683): zlib-rs stack overflow during decompression with malicious input

- Severity: Medium
- Published: Nov 14, 2024
- Affected: fixed in 0.4.0.
- Fixed in 0.4.0 (released Nov 14, 2024, the day of disclosure).
- The latest release, 0.6.8, is not affected.

### [RUSTSEC-2024-0401](https://cve.now/RUSTSEC-2024-0401): Denial of service because of stack overflow with malicious decompression input

- Severity: Unrated
- Published: Nov 14, 2024
- Affected: fixed in 0.4.0.
- Fixed in 0.4.0 (released Nov 14, 2024, the day of disclosure).
- The latest release, 0.6.8, is not affected.

---

Source: cve.now
Built by [Sazabi](https://www.sazabi.com/?utm_source=cve-now&utm_medium=markdown), AI-native observability and security: automatic issue detection, plain-language log search and live dashboards.
Page: https://cve.now/packages/crates.io/zlib-rs
Site guide for agents: https://cve.now/llms.txt
Uses NVD data; not endorsed by NVD.

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
