跳到正文
CVE-high(cvefeed.io)·· 8 小時前AI 評分55

CVE-2026-116591:compress zstd 兩區塊框架造成恐慌

CVE-2026-116591 - compress zstd: Panic on two-block frames

AI 導讀

compress 的 zstd 解碼器在 1.20.2 之前的版本會因為兩區塊框架觸發恐慌,導致記憶體腐敗與應用程式崩潰。

  • 漏洞影響:任何使用舊版 compress(1.20.2 以前)的程式,特別是處理不受信任的 zstd 資料時,均可能遭遇崩潰。
正文

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.

Impact

Affected Products

The following products are affected by CVE-2026-116591 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

No affected product recoded yet

The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.

Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 4.0 HIGH [email protected]

Update the compress library to version 1.20.2 or later to fix a memory corruption vulnerability.

  • Update the compress library to version 1.20.2.
  • Apply security patches for the compress library.
  • Validate decompression logic for crafted inputs.
  • Restart affected services after the update.

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2026-116591.

URL Resource
https://github.com/klauspost/compress/commit/7f5d8528720c895a6106f201719f87eb030a565d
https://github.com/klauspost/compress/releases/tag/v1.20.2
https://github.com/klauspost/compress/security/advisories/GHSA-fpmh-frq8-7rj8

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2026-116591 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2026-116591 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2026-116591 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2026-116591 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • New CVE Received by [email protected]

    十月. 26, 2026

    Action Type Old Value New Value
    Added 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.
    Added CVSS V4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
    Added CWE CWE-190
    Added Affected New affected value received. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2026/116xxx/CVE-2026-116591.json">CVE-2026-116591</a>
    Added Reference https://github.com/klauspost/compress/commit/7f5d8528720c895a6106f201719f87eb030a565d
    Added Reference https://github.com/klauspost/compress/releases/tag/v1.20.2
    Added Reference https://github.com/klauspost/compress/security/advisories/GHSA-fpmh-frq8-7rj8

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.

來源: CVE-high (cvefeed.io)
開啟原文