CVE Catalog

CVE-2026-87877

HighCVSS 7.7
Published: Updated: Translated: NVD NIST

Summary

zstd-jni versions before 1.5.7-14 fail to validate closed state in setDict, setLongMax, setLevel and setRefMultipleDDicts methods of stream classes. Attackers can call these methods on closed streams to write through freed native pointers, corrupting unrelated objects or crashing the JVM.

Risk Assessment

Writing through freed pointers can lead to memory corruption, JVM crashes, or potentially code execution.

Recommendation

Upgrade zstd-jni to version 1.5.7-14 or later, which includes the fix for closed state validation.

Other vulnerabilities in zstd-jni

See all
Original NVD description (English source)

zstd-jni versions before 1.5.7-14 fail to validate closed state in setDict, setLongMax, setLevel and setRefMultipleDDicts methods of stream classes. Attackers can call these methods on closed streams to write through freed native pointers, corrupting unrelated objects or crashing the JVM.

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