← Vulnerabilities

HighAdvisoryRust

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

Affected

PackageAffected versionsFixed in
rust:zip>= 1.3.0, < 9.0.09.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)?…

Read on GitHub Advisory Database

On 10/30/2026, 01:40 AM, GitHub Advisory Database published "zip: Unbounded Symlink-Target Handling Can Abort Or Exhaust Memory During Extraction" (type: Advisory). Severity is "High" (high). Related technologies: Rust. CVE: CVE-2026-115909.