CVE-2026-87823: zstd-jni 1.1.1 through 1.5.7-13 Out-of-Bounds Read via Direct ByteBuffer Frame-Size Methods

Published Sep 9, 2026
·
Updated

zstd-jni before 1.5.7-14 performs 32-bit signed bounds checks on three direct-ByteBuffer frame-size native methods, allowing out-of-bounds memory reads via negative or overflowing offsets. Attackers can supply negative offset values near Integer.MINVALUE to read unmapped memory, causing JVM termination or extracting arbitrary frame size data from unintended memory locations.

Affected Software

1 affected component
zstd-jni>=1.1.1<=1.5.7-13

Event History

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

Frequently Asked Questions

1

Which applications are exposed in practice?

Applications using zstd-jni versions 1.1.1 through 1.5.7-13 are exposed if an attacker can influence the offset supplied to one of the three direct-ByteBuffer frame-size native methods. The issue is reachable remotely only when attacker-controlled input can reach those method calls.

2

What input is required to trigger the issue?

An attacker needs to supply a negative offset, particularly a value near Integer.MIN_VALUE, to a vulnerable direct-ByteBuffer frame-size method. The flawed 32-bit signed bounds check can then allow an out-of-bounds native memory read.

3

What is the available fix?

Upgrade zstd-jni to version 1.5.7-14 or later. Versions before 1.5.7-14 are affected according to the provided information.

4

What can be done if an upgrade cannot happen immediately?

Prevent untrusted input from controlling offsets passed to the affected direct-ByteBuffer frame-size methods. Reject negative offsets and ensure offset and length validation cannot overflow before invoking the native methods.

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