## zip: Unbounded Symlink-Target Handling Can Abort Or Exhaust Memory During Extraction

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

影響: rust:zip >= 1.3.0, < 9.0.0 → 9.0.0
The symbolic-link branch of ZipArchive::extract_internal() allocates a buffer using an attacker-declared size before reading any entry data. A 112-byte archive terminates the extracting process with SIGABRT through this infallible allocation. Details rust #[cfg(any(unix, windows))] if file.is_symlink() { let mut target = Vec::with_capacity(file.size() as usize); // @audit unbounded memory allocation file.read_to_end(&mut target)?; drop(file); make_symlink(&outpath, &target, &self.shared.files)?…