CVE catalog

CVE-2026-87877

zstd-jni versions before 1.5.7-14 fail to validate closed state in setDict, setLongMax, setLevel and setRefMultipleDDicts methods of stream classes. Attackers can call these methods on closed streams

[CVE catalog]

Severity
High · CVSS 7.7CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
Published
Updated
Source
[NVD] · [CVE record]
EPSS
0.22% · Oct 25, 2026

zstd-jni versions before 1.5.7-14 fail to validate closed state in setDict, setLongMax, setLevel and setRefMultipleDDicts methods of stream classes. Attackers can call these methods on closed streams to write through freed native pointers, corrupting unrelated objects or crashing the JVM.

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