CVE-2026-124851: zstd: CVE-2026-124851
An information disclosure vulnerability in Zstandard versions 1.5.1 through 1.5.7 allows specially crafted compressed data to expose the contents of an internal buffer through decompressed output. The buffer is 64 KiB in the default configuration and may contain uninitialized memory or literals from earlier decompressions performed using the same decompression context. An attacker who can submit compressed data and observe the resulting output can recover the buffer's contents.
Affected Software
Event History
Frequently Asked Questions
Which deployments are exposed to this issue?
Deployments using Zstandard versions 1.5.1 through 1.5.7 are affected when an attacker can submit crafted compressed data and observe the decompressed output. The default configuration uses a 64 KiB internal buffer that may be exposed.
What does an attacker need to exploit the vulnerability?
The attacker must be able to provide specially crafted compressed data to a vulnerable decompression operation and read its resulting output. This can disclose uninitialized memory or literals from earlier decompressions that used the same decompression context.
How can we determine whether prior data may be at risk?
Prior decompressions are relevant if they were performed with the same decompression context, because literals from those operations may remain in the internal buffer and be returned in output. Systems that accept attacker-controlled compressed inputs and expose decompressed results should be treated as potentially affected.