本文へ移動
English version →
高 8.7

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

CVE-2026-116591 SecPulse初出

概要

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

AI要約

SecPulse が外部の生成 AI を使って作った要約です。誤りを含むことがあります。重要な判断の前に、下の原文と参照URLを確認してください。

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

影響パッケージ

パッケージ影響を受ける版 → 修正版
klauspostcompress —
gogithub.com/klauspost/compress/zstd
1.20.2 未満→ 1.20.2
Gogithub.com/klauspost/compress
1.20.2 未満→ 1.20.2

ディストリビューション別の修正状況

各ディストリビューションが公開している、この CVE の記録です。修正版は配布版ごとに違うので、リンク先で確かめてください。

原文の説明 取得元が公開している説明をそのまま載せています (多くは英語)。

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.

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

参照URL

当サイトでは、アクセス解析と広告の効果測定のためにCookieを使います。株式会社Gameのサイト共通の設定です。 詳しく