Skip to content
High 8.7

compressの脆弱性で細工されたzstdデータによりアプリケーションが異常終了するおそれ

CVE-2026-116591 First seen on SecPulse

Summary

Go言語向け圧縮ライブラリのcompressに、zstd形式のデータ展開処理で異常終了(パニック)を起こす脆弱性が見つかりました。細工された2ブロックのフレームを読み込ませると、外部から送られたzstdデータでアプリケーションが停止するおそれがあります。影響を受けるのは1.20.2より前のバージョンで、1.20.2で修正されています。該当するバージョンを使っている場合は、1.20.2以降へ更新してください。

AI summary

Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.

Go言語向け圧縮ライブラリのcompressに、zstd形式のデータ展開処理で異常終了(パニック)を起こす脆弱性が見つかりました。細工された2ブロックのフレームを読み込ませると、外部から送られたzstdデータでアプリケーションが停止するおそれがあります。影響を受けるのは1.20.2より前のバージョンで、1.20.2で修正されています。該当するバージョンを使っている場合は、1.20.2以降へ更新してください。

Affected packages

PackageAffected → Fixed
klauspostcompress —
gogithub.com/klauspost/compress/zstd
< 1.20.2→ 1.20.2
Gogithub.com/klauspost/compress
< 1.20.2→ 1.20.2

Fix status by distribution

Records published by each distribution for this CVE. Fixed versions differ by release; check each link.

Original description The description as published by the source.

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.

Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details