{"id":"UBUNTU-CVE-2026-115907","details":"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.","modified":"2026-10-28T20:17:21.885091685Z","published":"2026-10-26T17:17:00Z","upstream":["CVE-2026-115907"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-115907"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-115907"},{"type":"REPORT","url":"https://github.com/zip-rs/zip2/commit/8b4991288b79ad11cce201c2d785d5baa795bd3e"},{"type":"REPORT","url":"https://github.com/zip-rs/zip2/pull/991"},{"type":"REPORT","url":"https://github.com/zip-rs/zip2/security/advisories/ghsa-9hj8-73fh-9963"},{"type":"REPORT","url":"https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1152227"},{"type":"REPORT","url":"https://security-tracker.debian.org/tracker/cve-2026-115907"},{"type":"REPORT","url":"https://github.com/cveproject/cvelistv5/tree/main/cves/2026/115xxx/cve-2026-115907.json"},{"type":"REPORT","url":"https://github.com/zip-rs/zip2/releases/tag/v9.0.0"},{"type":"REPORT","url":"https://nvd.nist.gov/vuln/detail/cve-2026-115907"}],"affected":[{"package":{"name":"rust-zip","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/rust-zip?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.5.0-1","0.5.3-1","0.5.3-2"],"ecosystem_specific":{"binaries":[{"binary_name":"librust-zip+bzip2-dev","binary_version":"0.5.3-2"},{"binary_name":"librust-zip+default-dev","binary_version":"0.5.3-2"},{"binary_name":"librust-zip+deflate-dev","binary_version":"0.5.3-2"},{"binary_name":"librust-zip+deflate-miniz-dev","binary_version":"0.5.3-2"},{"binary_version":"0.5.3-2","binary_name":"librust-zip+deflate-zlib-dev"},{"binary_version":"0.5.3-2","binary_name":"librust-zip+flate2-dev"},{"binary_version":"0.5.3-2","binary_name":"librust-zip+time-dev"},{"binary_version":"0.5.3-2","binary_name":"librust-zip-dev"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-115907.json"}},{"package":{"name":"rust-zip","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/rust-zip?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.5.8-2","0.5.13-1"],"ecosystem_specific":{"binaries":[{"binary_version":"0.5.13-1","binary_name":"librust-zip+bzip2-dev"},{"binary_version":"0.5.13-1","binary_name":"librust-zip+default-dev"},{"binary_version":"0.5.13-1","binary_name":"librust-zip+deflate-dev"},{"binary_name":"librust-zip+deflate-miniz-dev","binary_version":"0.5.13-1"},{"binary_name":"librust-zip+deflate-zlib-dev","binary_version":"0.5.13-1"},{"binary_name":"librust-zip+flate2-dev","binary_version":"0.5.13-1"},{"binary_version":"0.5.13-1","binary_name":"librust-zip+time-dev"},{"binary_name":"librust-zip-dev","binary_version":"0.5.13-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-115907.json"}},{"package":{"name":"rust-zip","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/rust-zip?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.6.6-1","0.6.6-2"],"ecosystem_specific":{"binaries":[{"binary_version":"0.6.6-2","binary_name":"librust-zip-dev"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-115907.json"}},{"package":{"name":"rust-zip","ecosystem":"Ubuntu:26.10","purl":"pkg:deb/ubuntu/rust-zip?arch=source&distro=stonking"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.1.1-3","5.1.1+dfsg-1"],"ecosystem_specific":{"binaries":[{"binary_name":"librust-zip-dev","binary_version":"5.1.1+dfsg-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-115907.json"}},{"package":{"name":"rust-zip","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/rust-zip?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.5.0-1","5.1.1-2","5.1.1-3"],"ecosystem_specific":{"binaries":[{"binary_version":"5.1.1-3","binary_name":"librust-zip-dev"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-115907.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"medium"}]}