Zstandard 1.6.0 is released, and its main job is closing CVE-2026-124851, a streaming-decompression bug that lets crafted input leak up to 64 KiB of an internal buffer on versions 1.5.1 through 1.5.7. The security fix is traceable down to the commit; the performance work beside it has no published numbers.
What the CVE covers
The flaw is in how the decoder treated history after the streaming output buffer wrapped. Malformed offsets could reach into memory that was never initialized, or that still held literals from an earlier decompression on the same context, and copy those bytes into the output. Davide Cavalca’s disclosure on the oss-security list gives the 64 KiB figure for the default configuration and states the precondition plainly: the attacker has to be able to submit compressed data and read what comes back. That limits real exposure to services that decompress untrusted input and return the result, such as upload handlers or proxies that pass decoded payloads back. A machine that only unpacks its own packages is not in that group.

The fix is merged as pull request #5023, written by maintainer Nick Terrell, approved by Yann Collet and landed on the dev branch on November 23 as commit 0c9d297. Once a full window has been decoded, it caps how much external history the decoder will use, and it zeroes the wildcopy padding after decoder-owned literals, including both halves of a split literal buffer. Meta, acting as the CNA, filed it under CWE-226 (sensitive information not removed before reuse). NVD had not scored it yet.
Where distributions stand
Debian has released a backported fix for trixie, 1.5.7+dfsg-1+deb13u1 under DSA-6657-1, rather than moving to 1.6.0. The tracker entry for the CVE still lists bookworm’s 1.5.4 and the 1.5.7 package in forky and sid as vulnerable. Language bindings and statically linked tools that bundle their own libzstd won’t get a distribution update and need their own rebuild.
Why the release came early
The release was pulled forward. Work was under way on a larger next version when a wave of bug reports arrived, and the team switched to triage. Terrell’s own read of that batch:
“Thankfully, most of them are minor (or duplicates).” Nick Terrell, Zstandard maintainer, in the v1.6.0 release notes
Minor is relative. The merged fixes include use-after-free bugs in multithreaded compression and in ZSTD_DCtx_refPrefix(), out-of-bounds reads and writes in the DDict hash table, ZSTD_compressSequences() and seekable-format seek tables, and a multithreaded compression race that could emit a valid frame carrying the wrong data. That last one deserves attention from anyone compressing backups with threads, which the CLI has done by default since 1.5.7, because nothing would flag the output as corrupt. The CLI also stops writing output through symbolic links and no longer loops forever on certain zstd -l inputs. Zstandard is not the only project absorbing a surge of incoming work: Gitea’s 28.4 release fixed 19 vulnerabilities in its own code, and on the kernel side a memory-management reviewer gave up several roles as AI-generated patches filled his inbox.
What changes for builds and APIs
Legacy format support, meaning frames from versions before 0.8, is now disabled by default, and ZSTD_LEGACY_SUPPORT defaults to 0 in every build system. Very old .zst files now need a build with it switched back on. The experimental ZSTD_copyCCtx() and ZSTD_copyDCtx() are removed, while ZSTD_getFrameHeader(), ZSTD_createDDict_byReference() and the advanced dictionary-loading calls are promoted to the stable API. Back in 1.5.0, the project named 1.6.0 as the point where deprecated experimental symbols would be considered for removal; the 1.6.0 notes list only those two as gone.
Performance: claimed, not measured
The speed changes are all merged code with no benchmarks attached: faster decompression on AArch64 from Arm-contributed patches, faster compression with SVE2, a faster ZSTD_compressSequencesAndLiterals() on Neon, SVE2 and RISC-V Vector, and a quicker row match finder on RVV. Nothing on the list targets x86. Version 1.5.7 published a benchmark table for its small-block gains. This release does not, so the improvements are claimed until someone measures them.
Timing and what comes next
Early coverage described 1.6.0 as arriving about 18 months after 1.5.7. The record says otherwise: 1.5.7 shipped in February 2025 and the v1.6.0 release page is dated November 23, 2026, a gap closer to 21 months. The originally planned v1.6.x scope remains planned, with work to continue in the coming weeks. No version or date is given.
If a service of yours decompresses data from strangers and sends output back, update now.