CVE-2026-87825
Reported by vulncheck · Published September 9, 2026
zstd-jni is fixed in 1.5.7-14 (Maven Central)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| zstd-jni | Maven Central | 1.5.7-14 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| luben | zstd-jni | 1.3.8-4 |
| luben | zstd-jni | 1.3.8-4 |
Timeline
- Sep 9, 2026 CVE Published
- Sep 10, 2026 EPSS Score (10 in total, the first dated here)
- Sep 14, 2026 CVE Updated
- Sep 21, 2026 Distribution Patch (2 in total, the first dated here)
- Sep 21, 2026 Security Advisory (2 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-87825
vulnetix vdb fixes CVE-2026-87825
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-87825/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
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