CVE-2026-87795: zstd-jni 1.2.0 through 1.5.7-13 Out-of-Bounds Read via ZstdDictCompress

Published Sep 9, 2026
·
Updated

zstd-jni versions before 1.5.7-14 fail to validate offset and length parameters in the ZstdDictCompress constructor, allowing out-of-bounds memory reads. Attackers can supply untrusted offset or length values to read native heap memory into the compression dictionary, typically causing JVM crashes.

Affected Software

2 affected components
zstd-jni>=1.2.0<=1.5.7-13
zstd-jni<1.5.7-14

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade zstd-jni to a version that resolves this vulnerability.

    Fixed in 1.5.7-14

Event History

Sep 9, 2026
CVE Published
via MITRE·10:07 AM
Data Sourced
via MITRE·10:07 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which applications are exposed to this issue?

Applications using zstd-jni before 1.5.7-14 are exposed if untrusted input can control the offset or length passed to the ZstdDictCompress constructor.

2

What does an attacker need to exploit it?

An attacker needs a way to supply untrusted offset or length values to ZstdDictCompress. No privileges or user interaction are indicated by the provided severity vector.

3

What is the likely impact of successful exploitation?

The invalid parameters can cause native heap memory to be read into the compression dictionary. This typically causes JVM crashes; confidentiality impact is rated low and availability impact high.

4

How can I determine whether my deployment is affected?

Check the zstd-jni version in use and review calls to ZstdDictCompress for offset or length values derived from untrusted input. Versions before 1.5.7-14 are affected.

5

What should be done if the application cannot be updated immediately?

Prevent untrusted input from controlling the offset and length supplied to ZstdDictCompress, and validate those values before constructing the dictionary.

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