---
title: zstd 1.5.1-1.5.7 can leak up to a 64 KiB internal buffer, including data from earlier decompressions, through crafted input (CVE-2026-124851) | ctxsec
url: https://ctxsec.com/items/zstd-cve-2026-124851-decompression-leaks-64kib-internal-buffer-fixed-1-6-0
description: "Crafted compressed data can make Zstandard 1.5.1 through 1.5.7 copy an internal buffer into the decompressed output. The buffer may hold uninitialized memory or literals from earlier decompressions that reused the same context, so a service that decompresses user data and returns the output can leak other users' data. Fixed in zstd 1.6.0."
status: "primary (zstd advisory relayed on oss-security, Nov 24, 2026; fix in zstd v1.6.0)"
published: 2026-11-24
---

> Crafted compressed data can make Zstandard 1.5.1 through 1.5.7 copy an internal buffer into the decompressed output. The buffer may hold uninitialized memory or literals from earlier decompressions that reused the same context, so a service that decompresses user data and returns the output can leak other users' data. Fixed in zstd 1.6.0.

[← Cybersecurity News](/news) · [markdown](/items/zstd-cve-2026-124851-decompression-leaks-64kib-internal-buffer-fixed-1-6-0.md)

primary (zstd advisory relayed on oss-security, Nov 24, 2026; fix in zstd v1.6.0)

2026-11-24 4:46 AM ET

### zstd 1.5.1-1.5.7 can leak up to a 64 KiB internal buffer, including data from earlier decompressions, through crafted input (CVE-2026-124851)

- Most exposed: multi-tenant services that reuse a decompression context across requests and echo output back.
- Expect distro and language-binding updates; statically bundled copies need their own rebuilds.

Sources: [oss-security: zstd CVE-2026-124851 (Nov 24, 2026)](https://seclists.org/oss-sec/2026/q4/861) · [zstd v1.6.0 release](https://github.com/meta/zstd/releases/tag/v1.6.0)
