Out-of-bounds Read in Luben Zstd-Jni
CVE-2026-87824
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.
Vulnerability class: Buffer Overflow
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
Affected products
Weakness classification (CWE)
References
- disclosure@vulncheck.com (vendor-advisory)
- disclosure@vulncheck.com (patch)
- disclosure@vulncheck.com (technical-description)
- disclosure@vulncheck.com (technical-description)
- disclosure@vulncheck.com (release-notes)
- disclosure@vulncheck.com (technical-description, patch)
- disclosure@vulncheck.com (product)
- disclosure@vulncheck.com (third-party-advisory)
Frequently asked questions
- What is CVE-2026-87824?
- CVE-2026-87824 is a high-severity vulnerability in Luben Zstd-Jni, classified under Out-of-bounds Read. CVSS score: 7.5/10. Published 2026-09-09.
- How severe is CVE-2026-87824?
- High severity. CVSS v3 base score is 7.5 out of 10.