CVE-2026-87877

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

HIGH
7.7
CVSS Score
Published: September 9, 2026 at 02:32 PM UTC
Updated: September 9, 2026 at 08:27 PM UTC
1 product affected across 1 vendorZstd Jni

Using zstd-jni by luben?

Get instant alerts when new vulnerabilities affect zstd-jni - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.7
Exploit prediction
EPSS 0.2%
SSVC
PoC

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

1.3.8-4 ≤ v < 1.5.7-141.3.8-4
Affected range stops below 1.5.7-14, so it looks safe — our inference, not a vendor statement

SSVC — Action Prioritization

SSVCPoCNot automatableTotal impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

7.7HIGHVulnCheck
Attack Vector
LOCAL
Complexity
LOW
Privileges
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
HIGH
Availability
HIGH
Vector?

Quick Info

StatusAWAITING ANALYSIS
CWE
CWE-416

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card