compress zstd: Panic on two-block frames
影響: go:github.com/klauspost/compress/zstd <= 1.20.1 → 1.20.2
A crafted ~27 KB two-block zstd frame makes DecodeAll and the streaming decoder panic with an out-of-range slice index instead of returning a decode error. The same bytes decode fine with the reference zstd. Any program that decompresses untrusted zstd input can be crashed by it. Reproduced on v1.20.0 and v1.20.1. Released in https://github.com/klauspost/compress/releases/tag/v1.20.2 Details The panic is in the FSE decoder that huff0.ReadTable uses to read a block's Huffman-weight table. Three…
Read on GitHub Advisory Database
| CVE | CVE-2026-116591 |
|---|---|
| Source | GitHub Advisory Database |
| Fetched | 10/28/2026, 06:03 AM |
| Data | Markdown JSON |
On 10/28/2026, 12:38 AM, GitHub Advisory Database published "compress zstd: Panic on two-block frames" (type: Advisory). Severity is "High" (high). Related technologies: Go, GitHub. CVE: CVE-2026-116591.