← Vulnerabilities

HighAdvisoryRust

zip: legacy Shrink/Reduce/Implode decoder: denial of service from attacker-controlled ZIP64 uncompressed size

Affected

PackageAffected versionsFixed in
rust:zip>= 5.1.0, < 9.0.09.0.0

A malicious 149-byte ZIP archive can cause a denial of service in applications that enable legacy-zip and use ZipArchive::extract(). An attacker-controlled ZIP64 uncompressed size triggers a capacity overflow panic in the Shrink decoder in optimized builds, potentially terminating the affected process. Details When reading a Shrink-compressed entry, ShrinkDecoder::read() buffers the compressed input and reserves output capacity using the entry's declared uncompressed size: rust if !self.stream_…

Read on GitHub Advisory Database

On 10/30/2026, 01:40 AM, GitHub Advisory Database published "zip: legacy Shrink/Reduce/Implode decoder: denial of service from attacker-controlled ZIP64 uncompressed size" (type: Advisory). Severity is "High" (high). Related technologies: Rust. CVE: CVE-2026-115907.