
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
- Severity
- High · CVSS 7.7
CVSS: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.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | zstd-jni-java | sid | 1.5.7-23+ds-2 | fixed |
| Debian | zstd-jni-java | forky | 1.5.7-23+ds-2 | fixed |
| Debian | zstd-jni-java | trixie | 1.5.2-5+ds-7 | vulnerable |
| Debian | zstd-jni-java | bookworm | 1.5.2-5+ds-3 | vulnerable |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | zstd-jni-java | source | sid | 1.5.7-23+ds-1 | not yet assigned | Not reported | [1147397] |
| Debian | zstd-jni-java | source | forky | 1.5.7-23+ds-1 | not yet assigned | Not reported | [1147397] |
| Debian | zstd-jni-java | source | trixie | (unfixed) | not yet assigned | Not reported | [1147397] |
| Debian | zstd-jni-java | source | bookworm | (unfixed) | not yet assigned | Not reported | [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 · bookwormAffected
nvd · zstd-jni-java · debian · bookworm; nvd · zstd-jni-java · debian · 12
1.5.2-5+ds-3· arm64 · bookwormAffected
nvd · zstd-jni-java · debian · bookworm; nvd · zstd-jni-java · debian · 12
- [libzstd-jni-java]Affected
Source package: [zstd-jni-java]
Details (2)
1.5.2-5+ds-3· all · bookwormAffected
nvd · zstd-jni-java · debian · bookworm; nvd · zstd-jni-java · debian · 12
1.5.2-5+ds-3· all · bookwormAffected
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 · trixieAffected
nvd · zstd-jni-java · debian · 13
1.5.2-5+ds-7· arm64 · trixieAffected
nvd · zstd-jni-java · debian · 13
- [libzstd-jni-java]Affected
Source package: [zstd-jni-java]
Details (2)
1.5.2-5+ds-7· all · trixieAffected
nvd · zstd-jni-java · debian · 13
1.5.2-5+ds-7· all · trixieAffected
nvd · zstd-jni-java · debian · 13
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/suse-su-2026_23858-1.json]
- [https://nvd.nist.gov/vuln/detail/CVE-2026-87877]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-87877]
- [https://security-tracker.debian.org/tracker/CVE-2026-87877]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-87877.json]
- [https://wid.cert-bund.de/.well-known/csaf/white/2026/wid-sec-w-2026-3791.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]