CVE-2026-87877
7.0high
zstd-jni 1.3.8-4 through 1.5.7-13 Use-After-Free via Setters Called After close()
- Severity
- 7.0high CVSS:4.0 by VulnCheck
- Exploit likelihood
- 0.22% (higher than 12% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- VulnCheck
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
| Product or package | Versions | Reported by |
|---|---|---|
| luben zstd-jni | from 1.3.8-4 before 1.5.7-14 | CVE List |
All scores
| VulnCheck | 7.0high CVSS:4.0 | CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N |
| VulnCheck | 7.7high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H |
Classification
SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-87877 changed 2026-09-09 | CVE Terms of Use |
| NVD | CVE-2026-87877 changed 2026-09-09 | Public domain |