{"id":"UBUNTU-CVE-2026-116591","details":"compress provides various compression algorithms. Prior to 1.20.2, the zstd DecodeAll and streaming decoder paths can panic when a crafted two-block frame reaches huff0.ReadTable with an FSE normalized count of 32768 that readNCount stores in int16 as -32768. The wrapped count allows buildDtable to retain stale fse.Scratch decode-table state from the prior block, and nextFast then derives an out-of-range state and indexes beyond the table instead of returning a decode error. Both blocks are required to preserve and then reuse the stale state, allowing untrusted zstd input to crash an application. This issue is fixed in version 1.20.2.","modified":"2026-10-28T20:17:45.945574201Z","published":"2026-10-26T22:16:00Z","upstream":["CVE-2026-116591"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-116591"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-116591"},{"type":"REPORT","url":"https://github.com/klauspost/compress/commit/7f5d8528720c895a6106f201719f87eb030a565d"},{"type":"REPORT","url":"https://github.com/klauspost/compress/releases/tag/v1.20.2"},{"type":"REPORT","url":"https://github.com/klauspost/compress/security/advisories/GHSA-fpmh-frq8-7rj8"}],"affected":[{"package":{"name":"golang-github-klauspost-compress","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/golang-github-klauspost-compress?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.0~git20151221.0.2dd54ae-1"],"ecosystem_specific":{"binaries":[{"binary_version":"0.0~git20151221.0.2dd54ae-1","binary_name":"golang-github-klauspost-compress-dev"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-116591.json"}},{"package":{"name":"golang-github-klauspost-compress","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/golang-github-klauspost-compress?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.2.1-1","1.2.1-2","1.2.1-4","1.2.1-5"],"ecosystem_specific":{"binaries":[{"binary_name":"golang-github-klauspost-compress-dev","binary_version":"1.2.1-5"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-116591.json"}},{"package":{"name":"golang-github-klauspost-compress","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/golang-github-klauspost-compress?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.2.1-5","1.7.6-2","1.9.5-1","1.9.5-2"],"ecosystem_specific":{"binaries":[{"binary_name":"golang-github-klauspost-compress-dev","binary_version":"1.9.5-2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-116591.json"}},{"package":{"name":"golang-github-klauspost-compress","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/golang-github-klauspost-compress?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.11.7-2"],"ecosystem_specific":{"binaries":[{"binary_version":"1.11.7-2","binary_name":"golang-github-klauspost-compress-dev"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-116591.json"}},{"package":{"name":"golang-github-klauspost-compress","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/golang-github-klauspost-compress?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.15.12+ds1-3","1.17.7+ds1-1"],"ecosystem_specific":{"binaries":[{"binary_name":"golang-github-klauspost-compress-dev","binary_version":"1.17.7+ds1-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-116591.json"}},{"package":{"name":"golang-github-klauspost-compress","ecosystem":"Ubuntu:26.10","purl":"pkg:deb/ubuntu/golang-github-klauspost-compress?arch=source&distro=stonking"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.18.1+ds1-1","1.19.0+ds1-1","1.20.0+ds1-1"],"ecosystem_specific":{"binaries":[{"binary_version":"1.20.0+ds1-1","binary_name":"golang-github-klauspost-compress-dev"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-116591.json"}},{"package":{"name":"golang-github-klauspost-compress","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/golang-github-klauspost-compress?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.18.0+ds1-1","1.18.1+ds1-1"],"ecosystem_specific":{"binaries":[{"binary_name":"golang-github-klauspost-compress-dev","binary_version":"1.18.1+ds1-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-116591.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"},{"type":"Ubuntu","score":"medium"}]}