VDB
CVE-2026-87825
CVE-2026-87825
PUBLISHED
CVSS 7 HIGH
Reported by VulnCheck · Published September 9, 2026
zstd-jni before 1.5.7-14 contains a use-after-free vulnerability where streams and contexts hold a dictionary's shared lock only during the load call, allowing the dictionary to be closed while still referenced. Attackers can close a dictionary after associating it with a stream or context, causing subsequent read or write operations to access freed native memory, resulting in silent data corruption or JVM crashes.
Risk Scores
CVSS 4.0
7
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
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| luben | zstd-jni | 1.3.8-4 |
| luben | zstd-jni | 1.3.8-4, 1.3.8-4 |
Timeline
- Sep 9, 2026 CVE Published
- Sep 10, 2026 EPSS Score
- Sep 14, 2026 CVE Updated
References
- GitHub Security Advisory (GHSA-947w-pxjj-c7m9) vendor-advisory
- Fix commit: hold the dictionary shared lock for the stream's usage window patch
- Fix commit: cross-object lifetime tracking for dictionaries and contexts patch
- Shared lock released as soon as the dictionary is loaded at v1.5.7-13 technical-description
- Same lock lifecycle in the buffer stream base class at v1.5.7-13 technical-description
- zstd-jni v1.5.7-14 Release Notes release-notes
- Commit that made setDict load the dictionary eagerly into the native context (first released in 1.3.8-4) technical-descriptionpatch
- product
- VulnCheck Advisory: zstd-jni 1.3.8-4 through 1.5.7-13 Use-After-Free of Compression and Decompression Dictionaries third-party-advisory