← 漏洞与更新

高危漏洞公告Rust

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

受影响

软件包受影响版本修复版本
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_…

在 GitHub Advisory Database 阅读

2026/10/30 01:40,GitHub Advisory Database 发布了“zip: legacy Shrink/Reduce/Implode decoder: denial of service from attacker-controlled ZIP64 uncompressed size”(类型:漏洞公告)。严重程度为“高危”(high)。相关技术:Rust。CVE:CVE-2026-115907。