CVE-2026-87877

zstd-jni 1.3.8-4 through 1.5.7-13 Use-After-Free via Setters Called After close()

State
Published
Severity
7.0 High
Published
Sep 9, 2026
Updated
Sep 9, 2026
Reserved
Sep 9, 2026

Read the record on cve.org

Description

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.

Scores

CVSSScoreVectorSource
4.07.0 HighCVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:NVulnCheck
3.17.7 HighCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:HVulnCheck

Weaknesses

Affected Products

ProductVersions
zstd-jniluben
  • 1.3.8-4 to before 1.5.7-14Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.