zip: legacy Shrink/Reduce/Implode decoder: denial of service from attacker-controlled ZIP64 uncompressed size
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.
- Products
- zip2
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-115907
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 30 Oct 2026, 13:43 UTC · Revision 1
Source evidence
zip: legacy Shrink/Reduce/Implode decoder: denial of service from attacker-controlled ZIP64 uncompressed size
core-cve · Original sourcePublished 26 Oct 2026, 16:32 UTC
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.
cve:CVE-2026-115907
zip2
Fixed versions: Not specified
Complete source record
{
"id": "bb36c157d3f0df14863726b5a903fb673d72ffb2272e99147a42bdca4833efc1",
"url": "https://www.cve.org/CVERecord?id=CVE-2026-115907",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "zip: legacy Shrink/Reduce/Implode decoder: denial of service from attacker-controlled ZIP64 uncompressed size",
"summary": "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.",
"evidence": "cve:CVE-2026-115907",
"products": [
{
"name": {
"value": "zip2",
"evidence": "/containers/cna/affected/0/product"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": []
}
],
"severity": "high",
"structured": {
"id": "CVE-2026-115907",
"aliases": [
"CVE-2026-115907"
],
"metrics": [
{
"cvssV3_1": {
"scope": "UNCHANGED",
"version": "3.1",
"baseScore": 7.5,
"attackVector": "NETWORK",
"baseSeverity": "HIGH",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
"integrityImpact": "NONE",
"userInteraction": "NONE",
"attackComplexity": "LOW",
"availabilityImpact": "HIGH",
"privilegesRequired": "NONE",
"confidentialityImpact": "NONE"
}
}
],
"affected": [
{
"vendor": "zip-rs",
"product": "zip2",
"versions": [
{
"status": "affected",
"version": ">= 5.1.0, < 9.0.0"
}
]
}
],
"modified": "2026-10-26T16:32:15.373Z",
"provider": "cve",
"references": [
"https://github.com/zip-rs/zip2/security/advisories/GHSA-9hj8-73fh-9963",
"https://github.com/zip-rs/zip2/pull/991",
"https://github.com/zip-rs/zip2/commit/8b4991288b79ad11cce201c2d785d5baa795bd3e",
"https://github.com/zip-rs/zip2/releases/tag/v9.0.0"
],
"provider_metadata": {
"cna": {
"orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
"shortName": "GitHub_M",
"dateUpdated": "2026-10-26T16:32:15.373Z"
}
}
},
"related_cves": [
{
"value": "CVE-2026-115907",
"evidence": "/cveMetadata/cveId"
}
],
"security_relevant": true,
"severity_evidence": "/containers/cna/metrics"
},
"source_id": "core-cve",
"document_id": 320572,
"published_at": "2026-10-26T16:32:15.373+00:00"
}