{"answers":{"affected":"2 open source packages ship an affected version, including github.com/klauspost/compress/zstd.","exploited":"There is no known exploitation of CVE-2026-116591 in the wild and no public exploit code.","fix":"Upgrade github.com/klauspost/compress/zstd to 1.20.2 or later.","what":"CVE-2026-116591 is a high-severity vulnerability in klauspost compress, published on 26 Oct 2026."},"fix_prompt":"Check this codebase for CVE-2026-116591 and fix it if it is affected.\n\nWhat it is: CVE-2026-116591 is a high-severity vulnerability in klauspost compress, published on 26 Oct 2026. \nExploitation: There is no known exploitation of CVE-2026-116591 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/klauspost/compress/zstd (Go): affected all versions; fixed in 1.20.2\n- github.com/klauspost/compress/zstd (Go): affected all versions; fixed in 1.20.2\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-116591/ (Markdown: https://insights.sbomify.com/CVE-2026-116591/index.md)","id":"CVE-2026-116591","markdown":"https://insights.sbomify.com/CVE-2026-116591/index.md","name":"CVE-2026-116591","record":{"aliases":["GHSA-fpmh-frq8-7rj8","MINI-25p4-9jh6-8q47","MINI-2h2p-h44v-pjhp","MINI-2h8x-r7pp-hj94","MINI-2ph5-2wgr-6g3f","MINI-2qj9-7848-v74f","MINI-2qwx-95ph-frx4","MINI-2rjc-jx67-8ghw","MINI-2vj3-pfcw-p49g","MINI-2w5g-hf5m-7xrj","MINI-2wfh-8j7w-qj8h","MINI-3g3w-36cr-wpmc","MINI-3jg9-2h5w-p4g5","MINI-42mr-537q-wm5h","MINI-44m2-6fxp-hrq7","MINI-4fpv-79p7-c2m3","MINI-52q7-f78r-x94x","MINI-5hgx-rjfc-828j","MINI-5q5x-6wgw-8pxr","MINI-5vwj-42gm-344x","MINI-6388-7m97-8m79","MINI-6579-v8h9-9966","MINI-67rv-7rp6-qvr2","MINI-68x4-jv36-m6xv","MINI-6qq9-8f46-hqp5","MINI-6w5r-v8v8-fjxj","MINI-76r5-478q-cvhp","MINI-77f4-v4q5-qc77","MINI-77wm-q3gj-6c9v","MINI-795w-p78x-539q","MINI-7c4m-968w-crm6","MINI-88w7-2gmw-jjgm","MINI-8h6q-2596-gq58","MINI-97h4-qqcf-rxfh","MINI-9g23-27wp-7hpg","MINI-9gwc-9mxc-9qr4","MINI-9j69-xx2c-gmjf","MINI-9r6c-jrp5-f6pv","MINI-9rqf-8hx9-6ccv","MINI-9rx3-3jx6-j5r2","MINI-f6pq-32fv-vgm5","MINI-f9wm-92g6-xpj3","MINI-fw96-4864-j4rv","MINI-g7m8-jjcj-fhvc","MINI-g96q-rh23-p576","MINI-gghq-pj4p-6q52","MINI-gq8f-6j25-c296","MINI-gqr4-5p3g-m4vc","MINI-hfwm-r76g-g756","MINI-hwjq-fp9j-j32m","MINI-j9h2-9hqc-4vhm","MINI-jhw7-wc6f-46wg","MINI-jwvp-754f-ccc9","MINI-jx3w-vrwf-qcvj","MINI-m5f4-wg2h-qv5g","MINI-m82f-mq8v-p5rm","MINI-mmm5-j4j7-fhr4","MINI-mmrv-rgm2-gqx6","MINI-mxwf-6p2m-g7pp","MINI-p8r4-79x2-rvfr","MINI-q7wf-qww7-2x27","MINI-q9qm-92p7-25f4","MINI-qmq5-6mqv-7c7m","MINI-qv62-c57x-cc7w","MINI-qvh9-w48w-jp7h","MINI-r2x4-3cf7-fxp2","MINI-r484-7jpm-fgc2","MINI-r6pp-jpf8-xmpv","MINI-rgc5-68m2-pg79","MINI-rm89-fcph-x6g6","MINI-rpvr-hfph-4qmq","MINI-rvf3-qwfh-p8jm","MINI-v45g-ccjq-phmm","MINI-v5h9-65mf-5m7q","MINI-vf3h-8gg9-q8h8","MINI-vmcp-phrr-394g","MINI-vp9v-mg3m-xjr4","MINI-vv26-w55p-p6c3","MINI-vv36-jjhc-p935","MINI-vwp9-rmhx-xxxq","MINI-vxwm-w9x3-6xfj","MINI-w442-5hj5-gqqq","MINI-w45q-9grp-g9w5","MINI-w649-36j6-jv3h","MINI-w754-8q2m-xrp6","MINI-wp52-x7g5-8c9v","MINI-wr97-2rv8-p855","MINI-ww2q-9qwc-wxjm","MINI-xhcv-fpr9-r2m7","MINI-xmgg-wgh6-hp4g","MINI-xrf7-8cmf-c6wm","UBUNTU-CVE-2026-116591","openSUSE-SU-2026:12313-1","openSUSE-SU-2026:12318-1","openSUSE-SU-2026:12323-1","openSUSE-SU-2026:12325-1","openSUSE-SU-2026:12327-1"],"analysis":null,"analysis_generated_by":null,"assigner":"GitHub_M","cpe":[],"cvss":{"score":8.7,"severity":"high","source":"cna","vector":"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","version":"4.0"},"cwes":[{"id":"CWE-190","name":"Integer Overflow or Wraparound"}],"description":"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.","ecosystems":["Go","openSUSE:Tumbleweed"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"compress zstd: Panic on two-block frames","id":"CVE-2026-116591","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":null,"year":"2026"},"n_packages":7,"n_references":3,"next":{"headline":"Apache Kafka: Kafka Connect configuration provider values exposed via validation REST API endpoint","id":"CVE-2026-116593"},"packages":[{"ecosystem":"Go","fixed":["1.20.2"],"introduced":["0"],"last_affected":[],"package":"github.com/klauspost/compress/zstd","purl":null,"source":"GHSA-fpmh-frq8-7rj8"},{"ecosystem":"Go","fixed":["1.20.2"],"introduced":["0"],"last_affected":[],"package":"github.com/klauspost/compress/zstd","purl":"pkg:golang/github.com/klauspost/compress/zstd","source":"GHSA-fpmh-frq8-7rj8"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["3.5.2-2.1"],"introduced":["0"],"last_affected":[],"package":"aliyun-cli","purl":"pkg:rpm/opensuse/aliyun-cli\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2026:12313-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["3.1.2-4.1"],"introduced":["0"],"last_affected":[],"package":"distribution","purl":"pkg:rpm/opensuse/distribution\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2026:12318-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["0.22.1-3.1"],"introduced":["0"],"last_affected":[],"package":"go-containerregistry","purl":"pkg:rpm/opensuse/go-containerregistry\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2026:12323-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["2.1.2-3.1"],"introduced":["0"],"last_affected":[],"package":"hauler","purl":"pkg:rpm/opensuse/hauler\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2026:12325-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["3.22.1-2.1"],"introduced":["0"],"last_affected":[],"package":"helm3","purl":"pkg:rpm/opensuse/helm3\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2026:12327-1"}],"prev":{"headline":"snappy-java: JVM crash from unchecked ranges in Snappy.arrayCopy and SnappyOutputStream.rawWrite","id":"CVE-2026-116590"},"products":["compress"],"published":"2026-10-26","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"openSUSE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-10-27","vendors":["klauspost"]},"summary":null,"url":"https://insights.sbomify.com/CVE-2026-116591/"}