Description
zstd-jni before 1.5.7-14 performs 32-bit signed bounds checks on three direct-ByteBuffer frame-size native methods, allowing out-of-bounds memory reads via negative or overflowing offsets. Attackers can supply negative offset values near Integer.MIN_VALUE to read unmapped memory, causing JVM termination or extracting arbitrary frame size data from unintended memory locations.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| luben | zstd-jni | 1.1.1 – < 1.5.7-14 | 1.5.7-14 |
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 | zstd-jni-java | 1.5.7-23+ds-1 | — |
| Debian 13 | zstd-jni-java | No fix yet | — |
| Debian 12 | zstd-jni-java | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | zstd-jni-java | No fix yet | — |
| Ubuntu 26.04 LTS | zstd-jni-java | No fix yet | — |
| Ubuntu 24.04 LTS | zstd-jni-java | No fix yet | — |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 16.0 | zstd-jni | 1.5.7.16-160000.1.1 | SUSE-SU-2026:23868-1, SUSE-SU-2026:23858-1 |
| SLES 16.0 | zstd-jni | 1.5.7.16-160000.1.1 | SUSE-SU-2026:23868-1, SUSE-SU-2026:23858-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | zstd-jni | 1.5.7.16-1.1 | openSUSE-SU-2026:11769-1 |
| openSUSE Leap 16.0 | zstd-jni | 1.5.7.16-160000.1.1 | openSUSE-SU-2026:21902-1 |
Advisories 5
- WID-SEC-2026-3791 IBM SPSS: Mehrere Schwachstellen BSI CERT-Bund (WID) · Nov 8, 2026
- SUSE-SU-2026:23858-1 Security update for zstd-jni SUSE / openSUSE Security Updates · Sep 27, 2026
- SUSE-SU-2026:23868-1 Security update for zstd-jni SUSE / openSUSE Security Updates · Sep 27, 2026
- openSUSE-SU-2026:21902-1 Security update for zstd-jni SUSE / openSUSE Security Updates · Sep 25, 2026
- openSUSE-SU-2026:11769-1 zstd-jni-1.5.7.16-1.1 on GA media SUSE / openSUSE Security Updates · Sep 13, 2026
References
- GitHub Security Advisory (GHSA-jfr6-9xqw-2g2q) vendor-advisory
- Fix commit: reject negative offset and size in the three direct-ByteBuffer natives patch
- Unchecked 32-bit bounds tests at v1.5.7-13 technical-description
- Native declarations with no Java-side validation at v1.5.7-13 technical-description
- zstd-jni v1.5.7-14 Release Notes release-notes
- Commit that introduced the unchecked direct-ByteBuffer size natives (first released in 1.1.1) technical-description patch
- https://github.com/luben/zstd-jni product
- VulnCheck Advisory: zstd-jni 1.1.1 through 1.5.7-13 Out-of-Bounds Read via Direct ByteBuffer Frame-Size Methods third-party-advisory