cve.bz

CVE-2026-87824 luben zstd-jni: Out-of-bounds Read

8.7 highEPSS 0.4%

High (8.7) in luben zstd-jni. EPSS 0.4% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 4.0

8.7 high
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

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
0.4% (unchanged from 0.4% a week ago; 0.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 34th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2026-09-20. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-125 Out-of-bounds Read
Published
Modified
NVD analysis
Awaiting analysis
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-87824 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-87824?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-87824?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-87824 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
luben zstd-jnifrom 1.3.3-1 before 1.5.7-14

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13zstd-jni-javano fix listedDEBIAN-CVE-2026-87824
Debian14zstd-jni-java1.5.7-23+ds-1DEBIAN-CVE-2026-87824
Ubuntu24.04:LTS, 26.04:LTS, 26.10zstd-jni-javano fix listedUBUNTU-CVE-2026-87824
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0zstd-jni1.5.7.16-160000.1.1SUSE-SU-2026:23858-1 SUSE-SU-2026:23868-1
openSUSELeap 16.0zstd-jni1.5.7.16-160000.1.1openSUSE-SU-2026:21902-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE.

Red Hat

Red Hat rates this Important.

Red Hat's statement

Red Hat has determined that CVE-2026-87824 affects Red Hat products that include the zstd-jni library in a vulnerable version. The vulnerability can allow a remote attacker to terminate the Java Virtual Machine by supplying crafted sample lengths to the dictionary-training function.

Red Hat's mitigation

No complete workaround is currently available. As a temporary measure, applications using Zstd.trainFromBufferDirect() should validate that all sample lengths are non-negative and that their total does not exceed the capacity of the samples buffer before calling the function. Avoid passing attacker-controlled sample length arrays to this function until an update is available. Upgrade to a Red Hat product release containing zstd-jni 1.5.7-14 or later when available.

ProductPackageStateAdvisory
Red Hat Build of Apache Camel 3.33.3.SP2com.github.luben/zstd-jni:1.5.7.16-rhel8-redhat-00001Fixed 2026-09-22RHSA-2026:70257
Red Hat build of Apache Camel 4.18.4 for Spring Boot 3.5.16zstd-jniFixed 2026-09-24RHSA-2026:71675
Red Hat build of Quarkus 3.27.5.SP2zstd-jniFixed 2026-09-21RHSA-2026:69470
Red Hat build of Quarkus 3.33.3.SP2zstd-jniFixed 2026-09-21RHSA-2026:69440
Red Hat JBoss Enterprise Application Platform 8.1zstd-jniFixed 2026-11-04RHSA-2026:95221
OpenShift Developer Tools and Services 4.12ocp-tools-4/jenkins-rhel8:1792044326Fixed 2026-10-22RHSA-2026:88152
OpenShift Developer Tools and Services 4.13ocp-tools-4/jenkins-rhel8:1792044327Fixed 2026-10-22RHSA-2026:88149
OpenShift Developer Tools and Services 4.14ocp-tools-4/jenkins-rhel8:1792044382Fixed 2026-10-22RHSA-2026:88151
OpenShift Developer Tools and Services 4.15ocp-tools-4/jenkins-rhel8:1792044386Fixed 2026-10-22RHSA-2026:88150
OpenShift Developer Tools and Services 4.16ocp-tools-4/jenkins-rhel9:1792040287Fixed 2026-10-22RHSA-2026:88156
Exploit Intelligenceexploit-intelligence/agent-client-rhel9Affected
OpenShift Developer Tools and Servicesjenkins-2-pluginsAffected
Red Hat build of Apache Camel 4 for Quarkus 3zstd-jniAffected
Red Hat build of Apicurio Registry 3zstd-jniAffected
Red Hat build of Debezium 3zstd-jniAffected
Red Hat Ceph Storage 9libarrowFix deferred
Red Hat Ceph Storage 9liborcFix deferred
Red Hat Enterprise Linux 8javapackages-tools:201801/apache-commons-compressNot affected
Red Hat Enterprise Linux 9jmcAffected
Red Hat Fuse 7zstd-jniNot affected
18 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-87824.

Attack patterns (CAPEC)

  • CAPEC-540 Overread Buffers Likelihood: Low · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON