Remote Code Execution Risk in Rust Zip Library Affecting Applications
CVE-2026-115907
7.5HIGH
What is CVE-2026-115907?
The zip library for Rust contains a code execution risk that allows applications using the legacy-zip feature to reserve output capacity based on an attacker-controlled ZIP64 uncompressed size. This occurs before validating the compressed stream, particularly in the ShrinkDecoder path. When ZipArchive::extract is invoked, a panic due to a capacity overflow can occur, potentially terminating the archive-processing service. The vulnerability has been addressed and is resolved in version 9.0.0 of the zip library.
Affected Version(s)
zip2 >= 5.1.0, < 9.0.0
