CVE Catalog

CVE-2026-87824

HighCVSS 7.5
Published: Translated: NVD NIST

Summary

zstd-jni before 1.5.7-14 fails to validate the samples buffer capacity in Zstd.trainFromBufferDirect, allowing attackers to read past buffer boundaries by supplying oversized per-sample lengths. Attackers can trigger out-of-bounds memory access by providing crafted sample length arrays that cause the native implementation to walk past the buffer allocation, resulting in JVM termination.

Risk Assessment

Out-of-bounds reads can lead to JVM crashes or memory information disclosure.

Recommendation

Upgrade zstd-jni to version 1.5.7-14 or later, which includes the buffer capacity validation fix.

Other vulnerabilities in zstd-jni

See all
Original NVD description (English source)

zstd-jni before 1.5.7-14 fails to validate the samples buffer capacity in Zstd.trainFromBufferDirect, allowing attackers to read past buffer boundaries by supplying oversized per-sample lengths. Attackers can trigger out-of-bounds memory access by providing crafted sample length arrays that cause the native implementation to walk past the buffer allocation, resulting in JVM termination.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS