{"id":"UBUNTU-CVE-2026-115906","details":"zip is a zip library for Rust that supports reading and writing simple ZIP files. From 0.6.0 until 9.0.0, the AES entry reader in src/aes.rs verifies its HMAC only when the attacker-controlled data counter reaches zero. If the underlying bounded reader reaches the real end of the archive while data_remaining is still positive, or if an encrypted entry has no payload, the reader can return a clean end of stream without reading and comparing the authentication tag. Applications using by_index_decrypt, by_name_decrypt, by_path_decrypt, or password-enabled by_index_with_options can therefore accept modified plaintext without an authentication error. This issue is fixed in version 9.0.0.","modified":"2026-10-28T20:17:21.898966438Z","published":"2026-10-26T17:17:00Z","upstream":["CVE-2026-115906"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-115906"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-115906"},{"type":"REPORT","url":"https://github.com/zip-rs/zip2/commit/ec265db0b0602f8ffb9479327397bddefb7e2216"},{"type":"REPORT","url":"https://github.com/zip-rs/zip2/security/advisories/ghsa-8hxf-qr8p-62x4"},{"type":"REPORT","url":"https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1152227"},{"type":"REPORT","url":"https://security-tracker.debian.org/tracker/cve-2026-115906"},{"type":"REPORT","url":"https://github.com/cveproject/cvelistv5/tree/main/cves/2026/115xxx/cve-2026-115906.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-115906"}],"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_version":"0.5.3-2","binary_name":"librust-zip+bzip2-dev"},{"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_name":"librust-zip+deflate-zlib-dev","binary_version":"0.5.3-2"},{"binary_version":"0.5.3-2","binary_name":"librust-zip+flate2-dev"},{"binary_name":"librust-zip+time-dev","binary_version":"0.5.3-2"},{"binary_name":"librust-zip-dev","binary_version":"0.5.3-2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-115906.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_name":"librust-zip+default-dev","binary_version":"0.5.13-1"},{"binary_name":"librust-zip+deflate-dev","binary_version":"0.5.13-1"},{"binary_name":"librust-zip+deflate-miniz-dev","binary_version":"0.5.13-1"},{"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_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-115906.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_name":"librust-zip-dev","binary_version":"0.6.6-2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-115906.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-115906.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_name":"librust-zip-dev","binary_version":"5.1.1-3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-115906.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N"},{"type":"Ubuntu","score":"medium"}]}