<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" version="2.0">
  <channel>
    <title>Most recent entries from all</title>
    <link>https://cve.radiocsirt.org</link>
    <description>Contains only the most 10 recent entries.</description>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <generator>python-feedgen</generator>
    <language>en</language>
    <lastBuildDate>Wed, 18 Nov 2026 03:53:29 +0000</lastBuildDate>
    <item>
      <title>GHSA-fpmh-frq8-7rj8 — compress zstd: Panic on two-block frames</title>
      <link>https://cve.radiocsirt.org/vuln/ghsa-fpmh-frq8-7rj8</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Go: github.com/klauspost/compress/zstd&lt;/p&gt;
&lt;p&gt;### Summary&lt;/p&gt;
&lt;p&gt;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.&lt;/p&gt;
&lt;p&gt;Released in https://github.com/klauspost/compress/releases/tag/v1.20.2&lt;/p&gt;
&lt;p&gt;### Details&lt;/p&gt;
&lt;p&gt;The panic is in the FSE decoder that `huff0.ReadTable` uses to read a block&amp;#39;s Huffman-weight table. Three conditions have to hold at once, and the crafted frame arranges all three.&lt;/p&gt;
&lt;p&gt;**1. A count that doesn&amp;#39;t fit is accepted.** `readNCount` permits a tableLog up to 15 ([`tablelogAbsoluteMax`](https://github.com/klauspost/compress/blob/v1.20.0/fse/decompress.go#L9), checked at [`fse/decompress.go:54`](https://github.com/klauspost/compress/blob/v1.20.0/fse/decompress.go#L54)), so a symbol&amp;#39;s normalized count can reach 32768 (2^15). The count is stored in an `int16` at [`fse/decompress.go:126`](https://github.com/klauspost/compress/blob/v1.20.0/fse/decompress.go#L126), where 32768 wraps to −32768. The validation only looks at the `int32` running totals (`remaining` and `gotTotal`), which still match, so the bad value passes. The crafted second block produces `norm = [0, -32768]`, `symbolLen = 2`.&lt;/p&gt;
&lt;p&gt;**2. The decode table is built empty, with no error.** In `buildDtable`, −32768 isn&amp;#39;t the −1 that flags a low-probability symbol, so it skips that branch, and the spread loo…&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Go: github.com/klauspost/compress/zstd&lt;/p&gt;
&lt;p&gt;### Summary&lt;/p&gt;
&lt;p&gt;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.&lt;/p&gt;
&lt;p&gt;Released in https://github.com/klauspost/compress/releases/tag/v1.20.2&lt;/p&gt;
&lt;p&gt;### Details&lt;/p&gt;
&lt;p&gt;The panic is in the FSE decoder that `huff0.ReadTable` uses to read a block&amp;#39;s Huffman-weight table. Three conditions have to hold at once, and the crafted frame arranges all three.&lt;/p&gt;
&lt;p&gt;**1. A count that doesn&amp;#39;t fit is accepted.** `readNCount` permits a tableLog up to 15 ([`tablelogAbsoluteMax`](https://github.com/klauspost/compress/blob/v1.20.0/fse/decompress.go#L9), checked at [`fse/decompress.go:54`](https://github.com/klauspost/compress/blob/v1.20.0/fse/decompress.go#L54)), so a symbol&amp;#39;s normalized count can reach 32768 (2^15). The count is stored in an `int16` at [`fse/decompress.go:126`](https://github.com/klauspost/compress/blob/v1.20.0/fse/decompress.go#L126), where 32768 wraps to −32768. The validation only looks at the `int32` running totals (`remaining` and `gotTotal`), which still match, so the bad value passes. The crafted second block produces `norm = [0, -32768]`, `symbolLen = 2`.&lt;/p&gt;
&lt;p&gt;**2. The decode table is built empty, with no error.** In `buildDtable`, −32768 isn&amp;#39;t the −1 that flags a low-probability symbol, so it skips that branch, and the spread loo…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://cve.radiocsirt.org/vuln/ghsa-fpmh-frq8-7rj8</guid>
    </item>
  </channel>
</rss>
