CVE-2026-87825 json
zstd-jni 1.3.8-4 through 1.5.7-13 Use-After-Free of Compression and Decompression Dictionaries
published 2mo ago modified last mo. also EUVD-2026-75023 , GHSA-947w-pxjj-c7m9
Unreviewed: the maintainers' own advisory
Published by the maintainers on their GitHub repository luben/zstd-jni. GitHub has not reviewed it into the GitHub Advisory Database, so the affected packages and versions are the maintainers' word. Read the full advisory on GitHub.
- cvss
- 7.7
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 11%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- luben zstd-jni 1.5.7-14
- zstd-jni-java Debian 14 1.5.7-23+ds-1
debian advisories DEBIAN-CVE-2026-87825
- zstd-jni SLES 16.0, SLES for SAP applications 16.0 1.5.7.16-160000.1.1
suse advisories SUSE-SU-2026:23858-1SUSE-SU-2026:23868-1
- zstd-jni openSUSE Leap 16.0 1.5.7.16-160000.1.1
- zstd-jni openSUSE Tumbleweed 1.5.7.16-1.1
opensuse advisories openSUSE-SU-2026:21902-1openSUSE-SU-2026:11769-1
Is CVE-2026-87825 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-87825 updated cvss 7.7
com.github.luben/zstd-jni: zstd-jni: Data corruption or denial of service via use-after-free vulnerability
-
Red Hat Exploit Intelligence exploit-intelligence/agent-client-rhel9 Red Hat OpenShift Developer Tools and Services jenkins-2-plugins 4.19.1758207171-1.el9 Red Hat build of Apache Camel 4 for Quarkus 3 zstd-jni 1.5.7-7 Red Hat build of Apicurio Registry 3 zstd-jni 1.5.7-7 Red Hat build of Debezium 3 zstd-jni 1.5.7-7affected: workaround, no fix available
-
Red Hat Ceph Storage 9 libarrow, parquet-libsaffected: workaround, no fix available “Fix deferred”
-
Red Hat Enterprise Linux 9 jmc Red Hat JBoss Enterprise Application Platform Expansion Pack zstd-jni 1.5.7-7affected: workaround, no fix available
-
Red Hat OpenShift Developer Tools and Services 4.12 ocp-tools-4/jenkins-rhel8 1792044326fixed: vendor fix RHSA-2026:88152
-
Red Hat OpenShift Developer Tools and Services 4.13 ocp-tools-4/jenkins-rhel8 1792044327fixed: vendor fix RHSA-2026:88149
-
Red Hat OpenShift Developer Tools and Services 4.14 ocp-tools-4/jenkins-rhel8 1792044382fixed: vendor fix RHSA-2026:88151
-
Red Hat OpenShift Developer Tools and Services 4.15 ocp-tools-4/jenkins-rhel8 1792044386fixed: vendor fix RHSA-2026:88150
-
Red Hat OpenShift Developer Tools and Services 4.16 ocp-tools-4/jenkins-rhel9 1792040287fixed: vendor fix RHSA-2026:88156
show 16 moreshow fewer
-
Red Hat OpenShift Developer Tools and Services 4.17 ocp-tools-4/jenkins-rhel9 1792040131fixed: vendor fix RHSA-2026:88159
-
Red Hat OpenShift Developer Tools and Services 4.18 ocp-tools-4/jenkins-rhel9 1792041514fixed: vendor fix RHSA-2026:88153
-
Red Hat OpenShift Developer Tools and Services 4.19 ocp-tools-4/jenkins-rhel9 1792040733fixed: vendor fix RHSA-2026:88158
-
Red Hat OpenShift Developer Tools and Services 4.20 ocp-tools-4/jenkins-rhel9 1792040081fixed: vendor fix RHSA-2026:88157
-
Red Hat OpenShift Developer Tools and Services 4.21 ocp-tools-4/jenkins-rhel9 1792040096fixed: vendor fix RHSA-2026:88155
-
Red Hat OpenShift Developer Tools and Services 4.22 ocp-tools-4/jenkins-rhel9 1792040428fixed: vendor fix RHSA-2026:88154
-
Red Hat Build of Apache Camel 3.33.3.SP2 zstd-jni 1.5.7.16-rhel8-redhat-00001fixed: vendor fix RHSA-2026:70257
-
Red Hat build of Apache Camel 4.18.4 for Spring Boot 3.5.16fixed: vendor fix RHSA-2026:71675
-
Red Hat build of Quarkus 3.27.5.SP2fixed: vendor fix RHSA-2026:69470
-
Red Hat build of Quarkus 3.33.3.SP2fixed: vendor fix RHSA-2026:69440
-
Red Hat JBoss Enterprise Application Platform 8.1fixed: vendor fix RHSA-2026:95221
-
Red Hat OpenShift AI 3.4 rhoai/odh-th06-cpu-torch210-py312-rhel9 1791874335, rhoai/odh-th06-rocm64-torch291-py312-rhel9 1791872119, rhoai/odh-th06-cuda130-torch210-py312-rhel9 1791961113fixed: vendor fix RHSA-2026:84734
-
Red Hat OpenShift Developer Tools and Services 4.12 ocp-tools-4/jenkins-agent-base-rhel8 1792044376 Red Hat OpenShift Developer Tools and Services 4.13 ocp-tools-4/jenkins-agent-base-rhel8 1792044361 Red Hat OpenShift Developer Tools and Services 4.14 ocp-tools-4/jenkins-agent-base-rhel8 1792044402 Red Hat OpenShift Developer Tools and Services 4.15 ocp-tools-4/jenkins-agent-base-rhel8 1792044379 Red Hat OpenShift Developer Tools and Services 4.16 ocp-tools-4/jenkins-agent-base-rhel9 1792040156 Red Hat OpenShift Developer Tools and Services 4.17 ocp-tools-4/jenkins-agent-base-rhel9 1792040149not affected: vulnerable code not present
+6 more productsfewer
Red Hat OpenShift Developer Tools and Services 4.18 ocp-tools-4/jenkins-agent-base-rhel9 1792041201 Red Hat OpenShift Developer Tools and Services 4.19 ocp-tools-4/jenkins-agent-base-rhel9 1792040114 Red Hat OpenShift Developer Tools and Services 4.20 ocp-tools-4/jenkins-agent-base-rhel9 1792040274 Red Hat OpenShift Developer Tools and Services 4.21 ocp-tools-4/jenkins-agent-base-rhel9 1792039948 Red Hat OpenShift Developer Tools and Services 4.22 ocp-tools-4/jenkins-agent-base-rhel9 1792040297 Red Hat Build of Apache Camel 3.33.3.SP2 jimfs 1.1, jna 5.8.0, bcel 6.7.0, gax 2.74.1, icu4j 78.2, joni 2.2.6, +1616 more -
Red Hat Enterprise Linux 8 apache-commons-compress, apache-commons-compress-javadocnot affected: component not present
-
Red Hat Fuse 7 zstd-jni 1.5.7-7not affected: vulnerable code not in execute path
-
Red Hat Hardened Images maven3.9 3.9.16-0.2.hum1not affected: component not present
3 more not affected in the full advisory
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- partial
- Assessed
- last mo.
Exploit prediction
0.21% chance of exploitation in the next 30 days, higher than 11% of all scored CVEs (FIRST EPSS, 2026-11-11).
Exploits and checks
- github.com https://github.com/luben/zstd-jni/security/advisories/GHSA-947w-pxjj-c7m9 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 7.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 |
| CNA | 3.1 | 7.7 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H |
| CNA | 4.0 | 7.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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
Affected products
- luben zstd-jni
Classification
- Weakness
-
- CWE-416 Use After Free
References
-
github.com
/luben/zstd-jni/commit/393d7311766abbc285b149302c0fe1f94b16d555
patch
-
github.com
/luben/zstd-jni/commit/a560131d7834598afd9cea6b7c107bc88e915936
patch
-
github.com
/luben/zstd-jni/commit/0827ed02551bbd8d6f8e4bbff99d83bf50f91938
technical-description, patch
-
github.com
/luben/zstd-jni/security/advisories/GHSA-947w-pxjj-c7m9
vendor-advisory, exploit, advisory
-
github.com
/luben/zstd-jni/blob/v1.5.7-13/src/main/java/com/github/luben/zstd/ZstdInputStreamNoFinalizer.java
technical-description
-
github.com
/luben/zstd-jni/blob/v1.5.7-13/src/main/java/com/github/luben/zstd/BaseZstdBufferDecompressingStreamNoFinalize
technical-description
-
github.com
/luben/zstd-jni/releases/tag/v1.5.7-14
release-notes
-
github.com
/luben/zstd-jni
product
-
vulncheck.com
/advisories/zstd-jni-1.3.8-4-through-1.5.7-13-use-after-free-of-compression-and-decompression-dictionaries
third-party-advisory
Sources
- CVE List CVE-2026-87825
- NVD CVE-2026-87825
- Maintainer advisory GHSA-947w-pxjj-c7m9
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
The maintainers of luben/zstd-jni published their own advisory on GitHub. Reviewed sources take precedence over it.