---
title: "CVE-2026-87825: zstd-jni - Use After Free"
description: "zstd-jni < 1.5.7-14 contains a use-after-free vulnerability caused by dictionary shared lock being held only during load call, letting attackers cause silent data corruption or JVM crashes by closing dictionary while referenced."
url: https://panop.io/threat-heartbeat/CVE-2026-87825/
---

# CVE-2026-87825 zstd-jni - Use After Free

zstd-jni < 1.5.7-14 contains a use-after-free vulnerability caused by dictionary shared lock being held only during load call, letting attackers cause silent data corruption or JVM crashes by closing dictionary while referenced.

CVSS base score 7.7 /10

High

CISA KEV

Not listed

Public exploit

None known

Authentication

Not required

EPSS

0.20% chance of exploitation in 30 days

[View the NVD record ↗](https://nvd.nist.gov/vuln/detail/CVE-2026-87825)

## Details

Type

Use After Free

Impact

Denial Of Service, Data Tampering

CVSS vector

CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H

Published

9 September 2026

Updated

15 October 2026

Weakness

[CWE-416](https://cwe.mitre.org/data/definitions/416.html)

## Vendor fix

Update to version 1.5.7-14 or later.

Patching closes this CVE. It does not tell you which of your systems run the affected version, or what else is exposed alongside them.

## References

- [https://nvd.nist.gov/vuln/detail/CVE-2026-87825](https://nvd.nist.gov/vuln/detail/CVE-2026-87825)
- [https://github.com/luben/zstd-jni](https://github.com/luben/zstd-jni)
- [https://github.com/luben/zstd-jni/blob/v1.5.7-13/src/main/java/com/github/luben/zstd/ZstdInputStreamNoFinalizer.java](https://github.com/luben/zstd-jni/blob/v1.5.7-13/src/main/java/com/github/luben/zstd/ZstdInputStreamNoFinalizer.java)
- [https://github.com/luben/zstd-jni/commit/0827ed02551bbd8d6f8e4bbff99d83bf50f91938](https://github.com/luben/zstd-jni/commit/0827ed02551bbd8d6f8e4bbff99d83bf50f91938)
- [https://github.com/luben/zstd-jni/releases/tag/v1.5.7-14](https://github.com/luben/zstd-jni/releases/tag/v1.5.7-14)
- [https://github.com/luben/zstd-jni/security/advisories/GHSA-947w-pxjj-c7m9](https://github.com/luben/zstd-jni/security/advisories/GHSA-947w-pxjj-c7m9)
- [https://www.vulncheck.com/advisories/zstd-jni-1.3.8-4-through-1.5.7-13-use-after-free-of-compression-and-decompression-dictionaries](https://www.vulncheck.com/advisories/zstd-jni-1.3.8-4-through-1.5.7-13-use-after-free-of-compression-and-decompression-dictionaries)
- [https://github.com/luben/zstd-jni/blob/v1.5.7-13/src/main/java/com/github/luben/zstd/BaseZstdBufferDecompressingStreamNoFinalizer.java](https://github.com/luben/zstd-jni/blob/v1.5.7-13/src/main/java/com/github/luben/zstd/BaseZstdBufferDecompressingStreamNoFinalizer.java)
- [https://github.com/luben/zstd-jni/commit/393d7311766abbc285b149302c0fe1f94b16d555](https://github.com/luben/zstd-jni/commit/393d7311766abbc285b149302c0fe1f94b16d555)
- [https://github.com/luben/zstd-jni/commit/a560131d7834598afd9cea6b7c107bc88e915936](https://github.com/luben/zstd-jni/commit/a560131d7834598afd9cea6b7c107bc88e915936)

[← All CVEs](https://panop.io/threat-heartbeat/)

## What this record can't tell you

- Whether you run the affected software, and where
- Whether an attacker can actually reach and exploit it
- The misconfigurations that never get a CVE number
- What it would cost the business, ranked into what to fix first

Panop answers these inside your environment, for this CVE and every other finding.

[Book a demo](https://panop.io/demo)
