Intel

AIKIDO-2026-777190

zstd-jni is vulnerable to Out-of-bounds Read

Out-of-bounds ReadCVE-2026-87795 Published 2 days ago

82

High Risk

This Affects:

JAVAzstd-jni
1.2.0 - 1.5.7-13
Fixed in 1.5.7-14
Are you affected? Scan for Free

TL;DR

ZstdDictCompress checks only that offset is not past the end of the dictionary array, then passes offset and length into a native copy. A negative offset or a length past the array is accepted, so the native copy reads past the array into adjacent heap memory and can crash the JVM. The fix rejects a negative offset or length and rejects a range that extends past the array.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and your code passes an offset or length into ZstdDictCompress.

Background info

zstd-jni is vulnerable to Out-of-bounds Read in versions 1.2.0 - 1.5.7-13.

How to fix this

Upgrade the com.github.luben:zstd-jni library to the patch version.

Are You Affected?

Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.

Free. No credit card required.

Aikido Platform