CVE-2026-87824 PUBLISHED

zstd-jni 1.3.3-1 through 1.5.7-13 Out-of-Bounds Read via Zstd.trainFromBufferDirect

Assigner: VulnCheck
Reserved: 09.09.2026 Published: 09.09.2026 Updated: 09.09.2026

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.

Metrics

CVSS Vector: 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 Score: 8.7

Product Status

Vendor luben
Product zstd-jni
Versions Default: unaffected
  • affected from 1.3.3-1 to 1.5.7-14 (excl.)

Credits

  • Yu Bao, PayPal Cyber Security Team finder

References

Problem Types

  • Out-of-bounds Read CWE