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.
{
"cna_assigner": "GitHub_M",
"cwe_ids": [
"CWE-400",
"CWE-789"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/115xxx/CVE-2026-115907.json"
}{
"extracted_events": [
{
"range": [
{
"introduced": "5.1.0"
},
{
"fixed": "9.0.0"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"range": [
{
"fixed": "8b4991288b79ad11cce201c2d785d5baa795bd3e"
}
],
"source": "REFERENCES_COMMIT"
},
{
"original_tag": "v9.0.0",
"range": [
{
"fixed": "2b1c4244a6f42906c8b3f21a358bf2321d0baaef"
}
],
"source": "REFERENCES_TAG"
}
]
}