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

- 種別: advisory
- 重大度: high
- 関連技術: rust
- CVE: CVE-2026-115907
- 公開日時: 2026-10-29T16:40:19.000Z
- 情報源: GitHub Advisory Database (https://github.com/advisories/GHSA-9hj8-73fh-9963)
- パーマリンク: https://vulnpulse.app/items/ghsa-ghsa-9hj8-73fh-9963

影響: rust:zip >= 5.1.0, < 9.0.0 → 9.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_…