You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Malformed compressed data can make streaming decompression copy uninitialized memory, or data from an earlier decompression on the same context, into its output. The CVE record doesn't name the fix, but #5023 (commit 0c9d29753) is almost certainly it, since its changelog entry describes exactly this bug. ZstdSharp's ZSTD_checkContinuity (Unsafe/ZstdDecompressBlock.cs:2055) is unchanged from 1.5.7, and the second half of the fix, zeroing the padding after the literal buffers, is also missing. Anyone feeding untrusted data through DecompressionStream is exposed. It leaks data rather than causing a crash.
It looks like some of the other fixes in 1.6.0 would also be pertinent to this code.
Activity
oleg-st commentedon Nov 24, 2026
Hi, I will port 1.6.0
oleg-st commentedon Nov 24, 2026
Released in 0.9.1