Vulnerability Description
zip is a zip library for Rust that supports reading and writing simple ZIP files. From 5.1.0 until 9.0.0, applications built with the legacy-zip feature can reserve output capacity from an attacker-controlled ZIP64 uncompressed size before validating the compressed stream. The ShrinkDecoder path in src/legacy/shrink.rs can panic with a capacity overflow during ZipArchive::extract, and the Reduce and Implode decoders contain the same unbounded preallocation pattern. An unhandled panic can terminate an archive-processing service. This issue is fixed in version 9.0.0.
CVSS Score
HIGH
Related Weaknesses (CWE)
References
- https://github.com/zip-rs/zip2/commit/8b4991288b79ad11cce201c2d785d5baa795bd3e
- https://github.com/zip-rs/zip2/pull/991
- https://github.com/zip-rs/zip2/releases/tag/v9.0.0
- https://github.com/zip-rs/zip2/security/advisories/GHSA-9hj8-73fh-9963
- https://github.com/zip-rs/zip2/security/advisories/GHSA-9hj8-73fh-9963
FAQ
What is CVE-2026-115907?
CVE-2026-115907 is a vulnerability with a CVSS score of 7.5 (HIGH). zip is a zip library for Rust that supports reading and writing simple ZIP files. From 5.1.0 until 9.0.0, applications built with the legacy-zip feature can reserve output capacity from an attacker-co...
How severe is CVE-2026-115907?
CVE-2026-115907 has been rated HIGH with a CVSS base score of 7.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-115907?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.