Description
A race condition in the one-pass compression functions of Zstandard prior to version 1.3.8 could allow an attacker to write bytes out of bounds if an output buffer smaller than the recommended size was used.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Zstandard | 1.3.8, unspecified – < 1.3.8 | 1.3.8 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | libzstd | 1.3.8+dfsg-2 | — |
| Debian 13 | libzstd | 1.3.8+dfsg-2 | — |
| Debian 12 | libzstd | 1.3.8+dfsg-2 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | libzstd | 1.3.3+dfsg-2ubuntu1.1 | USN-4108-1 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 16.04 LTS | libzstd | 1.3.1+dfsg-1~ubuntu0.16.04.1+esm2 | USN-5593-1 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SUSE Package Hub 15 SP1 | zstd | 1.4.2-bp151.4.3.1 | openSUSE-SU-2019:2008-1 |
| SUSE Package Hub 15 | zstd | 1.4.2-bp151.4.3.1 | openSUSE-SU-2019:2008-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | zstd | 1.5.0-1.13 | openSUSE-SU-2024:11544-1 |
| openSUSE Leap 15.1 | zstd | 1.4.2-lp151.3.3.1 | openSUSE-SU-2019:1845-1 |
| openSUSE Leap 15.0 | zstd | 1.4.2-lp150.2.3.1 | openSUSE-SU-2019:1952-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | zstd | 1.3.8-r0 | — |
| Alpine v3.23 | zstd | 1.3.8-r0 | — |
| Alpine v3.22 | zstd | 1.3.8-r0 | — |
| Alpine v3.21 | zstd | 1.3.8-r0 | — |
| Alpine v3.20 | zstd | 1.3.8-r0 | — |
Show 9 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.19 | zstd | 1.3.8-r0 | — |
| Alpine v3.18 | zstd | 1.3.8-r0 | — |
| Alpine v3.17 | zstd | 1.3.8-r0 | — |
| Alpine v3.16 | zstd | 1.3.8-r0 | — |
| Alpine v3.15 | zstd | 1.3.8-r0 | — |
| Alpine v3.14 | zstd | 1.3.8-r0 | — |
| Alpine v3.13 | zstd | 1.3.8-r0 | — |
| Alpine v3.12 | zstd | 1.3.8-r0 | — |
| Alpine v3.11 | zstd | 1.3.8-r0 | — |
Advisories 6
- USN-5593-1 libzstd vulnerability Ubuntu Security Notices (USN) · Jun 25, 2026
- USN-4108-1 libzstd vulnerability Ubuntu Security Notices (USN) · Apr 22, 2026
- openSUSE-SU-2019:2008-1 Security update for zstd SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:11544-1 libzstd-devel-1.5.0-1.13 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2019:1845-1 Security update for zstd SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2019:1952-1 Security update for zstd SUSE / openSUSE Security Updates · Feb 4, 2026
References
- openSUSE-SU-2019:1845 vendor-advisory
- openSUSE-SU-2019:1952 vendor-advisory
- USN-4108-1 vendor-advisory
- openSUSE-SU-2019:2008 vendor-advisory
- https://www.oracle.com/security-alerts/cpuoct2020.html
- https://www.facebook.com/security/advisories/cve-2019-11922
- https://github.com/facebook/zstd/pull/1404/commits/3e5cdf1b6a85843e991d7d10f6a2567c15580da0