---
id: CVE-2026-87823
title: >-
  zstd-jni before 1.5.7-14 performs 32-bit signed bounds checks on three
  direct-ByteBuffer frame-size native methods, allowing out-of-bounds memory
  reads via negative or overflowing offsets
summary: >-
  zstd-jni before 1.5.7-14 performs 32-bit signed bounds checks on three
  direct-ByteBuffer frame-size native methods, allowing out-of-bounds memory
  reads via negative or overflowing offsets. Attackers can supply negative
  offset values near…
severity: high
cvss: 8.2
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H'
cwe:
  - CWE-190
  - CWE-125
vendor: luben
product: zstd-jni
affected:
  - zstd-jni >= 1.1.1 < 1.5.7-14
published: '2026-09-09'
updated: '2026-09-09'
sourceUpdated: '2026-09-09T20:16:54.383'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-87823'
references:
  - url: 'https://github.com/luben/zstd-jni'
    label: disclosure@vulncheck.com
  - url: >-
      https://github.com/luben/zstd-jni/blob/v1.5.7-13/src/main/java/com/github/luben/zstd/Zstd.java
    label: disclosure@vulncheck.com
  - url: >-
      https://github.com/luben/zstd-jni/blob/v1.5.7-13/src/main/native/jni_zstd.c
    label: disclosure@vulncheck.com
  - url: >-
      https://github.com/luben/zstd-jni/commit/46dcb2a54c8b8f2ce2cad7187a7513f509c533ac
    label: disclosure@vulncheck.com
  - url: >-
      https://github.com/luben/zstd-jni/commit/d7a1c99322d5e1fc71932e722c0b5bb2fc525d3f
    label: disclosure@vulncheck.com
  - url: 'https://github.com/luben/zstd-jni/releases/tag/v1.5.7-14'
    label: disclosure@vulncheck.com
  - url: 'https://github.com/luben/zstd-jni/security/advisories/GHSA-jfr6-9xqw-2g2q'
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/zstd-jni-1.1.1-through-1.5.7-13-out-of-bounds-read-via-direct-bytebuffer-frame-size-methods
    label: disclosure@vulncheck.com
  - url: 'https://github.com/luben/zstd-jni/security/advisories/GHSA-jfr6-9xqw-2g2q'
    label: 134c704f-9b21-4f2e-91b3-4a467353bcc0
  - url: >-
      https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-87823.json
  - url: 'https://access.redhat.com/security/cve/CVE-2026-87823'
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2531004'
  - url: 'https://www.cve.org/CVERecord?id=CVE-2026-87823'
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-87823'
tags:
  - nvd
  - cve.org
  - exploit-available
  - csaf
  - vex
  - red-hat
exploitAvailable: true
ssvc:
  exploitation: poc
  automatable: 'yes'
  technicalImpact: partial
  timestamp: '2026-09-09T16:12:29.082517Z'
ingestedAt: '2026-09-14T08:53:50.871Z'
epss: 0.00633
epssPercentile: 0.48155
---

## Overview

zstd-jni before 1.5.7-14 performs 32-bit signed bounds checks on three direct-ByteBuffer frame-size native methods, allowing out-of-bounds memory reads via negative or overflowing offsets. Attackers can supply negative offset values near Integer.MIN_VALUE to read unmapped memory, causing JVM termination or extracting arbitrary frame size data from unintended memory locations.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.

## Vendor advisories

- **Red Hat VEX** · Important · affected: Red Hat Ceph Storage 9 · no fix planned: Red Hat Ceph Storage 9 · updated 2026-09-21 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-87823.json)
