PatchSiren cyber security CVE debrief
CVE-2026-87825 luben CVE debrief
CVE-2026-87825 is a high-severity vulnerability in the zstd-jni library, which is a Java Native Interface (JNI) wrapper for the zstd compression algorithm. The vulnerability is caused by a use-after-free error in the library's handling of streams and contexts, which can lead to silent data corruption or JVM crashes. The vulnerability has been patched in version 1.5.7-14 of the library.
- Vendor
- luben
- Product
- zstd-jni
- CVSS
- HIGH 7
- CISA KEV
- Not listed in stored evidence
- Original CVE published
- 2026-09-09
- Original CVE updated
- 2026-09-14
- Advisory published
- 2026-09-09
- Advisory updated
- 2026-09-14
Who should care
Defenders who use the zstd-jni library in their systems should prioritize patching or mitigating this vulnerability. This may involve updating to version 1.5.7-14 or later, or implementing compensating controls to prevent exploitation.
Why it matters
CVE-2026-87825 is a high-severity vulnerability in the zstd-jni library that can lead to silent data corruption or JVM crashes. Defenders should prioritize patching or mitigating this vulnerability, especially in systems that use the zstd-jni library for compression or decompression.
- Data corruption or JVM crashes due to access to freed native memory
- Potential for silent data corruption or denial of service
Technical summary
The vulnerability is caused by a use-after-free error in the library's handling of streams and contexts. This can occur when a dictionary is closed while still referenced by a stream or context, leading to access to freed native memory. The vulnerability has been patched in version 1.5.7-14 of the library. Affected product deployments should be reviewed for exposure, and defenders should prioritize patching or mitigating this vulnerability, especially in systems that use the zstd-jni library for compression or decompression. This may involve updating to version 1.5.7-14 or later, or implementing compensating controls to prevent exploitation.
Defensive priority
Defenders should prioritize patching or mitigating this vulnerability, especially in systems that use the zstd-jni library for compression or decompression. This may involve updating to version 1.5.7-14 or later, or implementing compensating controls to prevent exploitation.
Recommended defensive actions
- Update to version 1.5.7-14 or later
- Implement compensating controls to prevent exploitation
- Monitor for suspicious activity
- Review the supplied official advisory or CVE record to validate affected scope, severity, and vendor guidance
- Plan vendor-supported updates or mitigations through normal change control where exposure is confirmed
- Check relevant monitoring, detection, and logs for exposed assets that need extra review
- Track exceptions, retest remediated assets, and close the item only after evidence is documented
Evidence notes
The vulnerability is caused by a use-after-free error in the library's handling of streams and contexts. This can occur when a dictionary is closed while still referenced by a stream or context, leading to access to freed native memory. The vulnerability has been patched in version 1.5.7-14 of the library.
Sources and references
Verified primary and authoritative sources
-
CVE-2026-87825 CVE Program record
Publisher, destination, and source semantics verified
URL: https://www.cve.org/CVERecord?id=CVE-2026-87825
CVE Program - Official CVE Program record with source-provided CVE metadata.
-
CVE-2026-87825 NVD vulnerability detail
Publisher, destination, and source semantics verified
URL: https://nvd.nist.gov/vuln/detail/CVE-2026-87825
NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.
Supplemental references
-
Source reference
Unverified legacy reference
URL: https://github.com/luben/zstd-jni
-
Source reference
Unverified legacy reference
URL: https://github.com/luben/zstd-jni/blob/v1.5.7-13/src/main/java/com/github/luben/zstd/BaseZstdBufferDecompressingStreamNoFinalizer.java
-
Source reference
Unverified legacy reference
URL: https://github.com/luben/zstd-jni/blob/v1.5.7-13/src/main/java/com/github/luben/zstd/ZstdInputStreamNoFinalizer.java
-
Source reference
Unverified legacy reference
URL: https://github.com/luben/zstd-jni/commit/0827ed02551bbd8d6f8e4bbff99d83bf50f91938
-
Source reference
Unverified legacy reference
URL: https://github.com/luben/zstd-jni/commit/393d7311766abbc285b149302c0fe1f94b16d555
-
Source reference
Unverified legacy reference
URL: https://github.com/luben/zstd-jni/commit/a560131d7834598afd9cea6b7c107bc88e915936
-
Source reference
Unverified legacy reference
URL: https://github.com/luben/zstd-jni/releases/tag/v1.5.7-14
-
Source reference
Unverified legacy reference
URL: https://github.com/luben/zstd-jni/security/advisories/GHSA-947w-pxjj-c7m9
Methodology and review provenance
AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.