{
  "id": "CVE-2026-116591",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-116591",
  "published_at": "2026-10-26T21:54:33.109Z",
  "title": "compress zstd: Panic on two-block frames",
  "vendor": "klauspost",
  "product": "compress",
  "cvss": {
    "score": 8.7,
    "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"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "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.",
  "cwe": "CWE-190",
  "cvss_by_source": {
    "cna": 8.7
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "klauspost",
        "product": "compress",
        "ranges": [
          "\u003c 1.20.2"
        ],
        "fixed_in": [
          "1.20.2"
        ]
      }
    ],
    "upgrade": [
      "Upgrade compress to 1.20.2 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/klauspost/compress/security/advisories/GHSA-fpmh-frq8-7rj8"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/klauspost/compress/commit/7f5d8528720c895a6106f201719f87eb030a565d"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/klauspost/compress/releases/tag/v1.20.2"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
