CVE-2026-87824 json
zstd-jni 1.3.3-1 through 1.5.7-13 Out-of-Bounds Read via Zstd.trainFromBufferDirect
published 2mo ago modified last mo. also EUVD-2026-75022 , GHSA-257p-3h6w-pg7h
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.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.4%
- EPSS 0.4% chance of exploitation in 30 days, percentile 33%
- public exploits
- 0
- none known
Summary
zstd-jni before 1.5.7-14 fails to validate the samples buffer capacity in Zstd.trainFromBufferDirect, allowing attackers to read past buffer boundaries by supplying oversized per-sample lengths. Attackers can trigger out-of-bounds memory access by providing crafted sample length arrays that cause the native implementation to walk past the buffer allocation, resulting in JVM termination.
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-87824
- 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
opensuse advisories openSUSE-SU-2026:21902-1
Is CVE-2026-87824 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-87824 updated cvss 7.5
com.github.luben/zstd-jni: zstd-jni: Denial of Service (DoS) via out-of-bounds read in Zstd.trainFromBufferDirect
-
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 liborc, liborc2, 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
- none
- Automatable
- yes
- Technical impact
- partial
- Assessed
- last mo.
Exploit prediction
0.39% chance of exploitation in the next 30 days, higher than 33% of all scored CVEs (FIRST EPSS, 2026-11-11).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 8.7 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N |
| CNA | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| CNA | 4.0 | 8.7 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/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-125 Out-of-bounds Read
References
-
github.com
/luben/zstd-jni/commit/bba6cfca2c0897f1fa004f4193247479f10da853
patch
-
github.com
/luben/zstd-jni/commit/53d3c6342883f7d6717b2477a7f9c1b4a4a56980
technical-description, patch
-
github.com
/luben/zstd-jni/security/advisories/GHSA-257p-3h6w-pg7h
vendor-advisory, advisory
-
github.com
/luben/zstd-jni/blob/v1.5.7-13/src/main/native/jni_zdict.c
technical-description
-
github.com
/luben/zstd-jni/blob/v1.5.7-13/src/main/java/com/github/luben/zstd/Zstd.java
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.3-1-through-1.5.7-13-out-of-bounds-read-via-zstd-trainfrombufferdirect
third-party-advisory
Sources
- CVE List CVE-2026-87824
- NVD CVE-2026-87824
- Maintainer advisory GHSA-257p-3h6w-pg7h
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.