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% (28th 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-19653585
  • published9 Sept 2026
  • disclosed9 Sept 2026
  • creditUnknown

Introduced: 9 Sep 2026

NewCVE-2026-87795  (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 due to the ZstdDictCompress(byte[] dict, int offset, int length, int level) constructor in ZstdDictCompress.java. An attacker can trigger a native heap read, crash the JVM, or leak adjacent memory by supplying a negative offset or an oversized length when constructing a compression dictionary from untrusted input.

CVSS Base Scores

version 4.0
version 3.1