Out-of-bounds Read Affecting com.github.luben:zstd-jni package, versions [,1.5.7-14)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.34% (27th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JAVA-COMGITHUBLUBEN-19778368
  • published14 Sept 2026
  • disclosed12 Sept 2026
  • creditYu Bao

Introduced: 12 Sep 2026

NewCVE-2026-90560  (opens in a new tab)
CWE-125  (opens in a new tab)

How to fix?

Upgrade com.github.luben:zstd-jni to version 1.5.7-14 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-bounds Read through the ZstdDictDecompress(byte[] dict, int offset, int length) constructor in src/main/java/com/github/luben/zstd/ZstdDictDecompress.java. An attacker can read past the end of the supplied dictionary array by providing arbitrary offset or length values when constructing a decompression dictionary. This can expose adjacent JVM memory contents and, in affected deployments, terminate the JVM when the native code consumes the invalid range.

CVSS Base Scores

version 4.0
version 3.1