CVE catalog

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. Attac

[CVE catalog]

Severity
High · CVSS 8.7CVSS: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
Published
Updated
Source
[NVD] · [CVE record]
EPSS
0.39% · Oct 25, 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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianzstd-jni-javasid1.5.7-23+ds-2fixed
Debianzstd-jni-javaforky1.5.7-23+ds-2fixed
Debianzstd-jni-javatrixie1.5.2-5+ds-7vulnerable
Debianzstd-jni-javabookworm1.5.2-5+ds-3vulnerable

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianzstd-jni-javasourcesid1.5.7-23+ds-1not yet assignedNot reported[1147397]
Debianzstd-jni-javasourceforky1.5.7-23+ds-1not yet assignedNot reported[1147397]
Debianzstd-jni-javasourcetrixie(unfixed)not yet assignedNot reported[1147397]
Debianzstd-jni-javasourcebookworm(unfixed)not yet assignedNot reported[1147397]

[Debian bug #1147397]

Notes

[trixie] zstd-jni-java: Minor issue [bookworm] zstd-jni-java: Minor issue

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [libzstd-jni1]Affected

    Source package: [zstd-jni-java]

    Details (2)
    • 1.5.2-5+ds-3 · amd64 · bookworm

      Affected

      nvd · zstd-jni-java · debian · bookworm; nvd · zstd-jni-java · debian · 12

    • 1.5.2-5+ds-3 · arm64 · bookworm

      Affected

      nvd · zstd-jni-java · debian · bookworm; nvd · zstd-jni-java · debian · 12

  • Source package: [zstd-jni-java]

    Details (2)
    • 1.5.2-5+ds-3 · all · bookworm

      Affected

      nvd · zstd-jni-java · debian · bookworm; nvd · zstd-jni-java · debian · 12

    • 1.5.2-5+ds-3 · all · bookworm

      Affected

      nvd · zstd-jni-java · debian · bookworm; nvd · zstd-jni-java · debian · 12

[Debian 13 (Trixie)]

  • [libzstd-jni1]Affected

    Source package: [zstd-jni-java]

    Details (2)
    • 1.5.2-5+ds-7 · amd64 · trixie

      Affected

      nvd · zstd-jni-java · debian · 13

    • 1.5.2-5+ds-7 · arm64 · trixie

      Affected

      nvd · zstd-jni-java · debian · 13

  • Source package: [zstd-jni-java]

    Details (2)
    • 1.5.2-5+ds-7 · all · trixie

      Affected

      nvd · zstd-jni-java · debian · 13

    • 1.5.2-5+ds-7 · all · trixie

      Affected

      nvd · zstd-jni-java · debian · 13

Observed:

References