CVE-2026-87824: zstd-jni 1.3.3-1 through 1.5.7-13 Out-of-Bounds Read via Zstd.trainFromBufferDirect

Published Sep 9, 2026
·
Updated

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.

Affected Software

1 affected component
maven/com/github/luben/zstd-jni<1.5.7-14

Event History

Sep 9, 2026
CVE Published
via MITRE·02:32 PM
Data Sourced
via MITRE·02:32 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What must an attacker be able to control to trigger the issue?

An attacker must be able to supply crafted sample-length arrays to Zstd.trainFromBufferDirect. The per-sample lengths must be oversized so that the native implementation reads beyond the samples buffer allocation.

2

What is the practical impact of successful exploitation?

The out-of-bounds access can cause JVM termination, resulting in a denial of service. The provided data does not describe confidentiality or integrity impact.

3

Which versions need remediation?

zstd-jni versions 1.3.3-1 through 1.5.7-13 are affected. Versions before 1.5.7-14 fail to validate the samples buffer capacity in the affected method.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203