{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "1.5.5-6"
              },
              {
                "fixed": "1.5.7-14"
              }
            ],
            "source": "AFFECTED_FIELD"
          },
          "events": [
            {
              "introduced": "92e7862b74112036a14359e184509875f310b32c"
            },
            {
              "fixed": "3216860eea289fbbae0b191c0a4fd8b72dad949c"
            }
          ],
          "repo": "https://github.com/luben/zstd-jni",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-rm53-6wf5-f34m"
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-125"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/89xxx/CVE-2026-89046.json"
  },
  "details": "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.",
  "id": "CVE-2026-89046",
  "modified": "2026-09-12T03:30:26.470362777Z",
  "published": "2026-09-10T17:39:35.519Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://repo1.maven.org/maven2/com/github/luben/zstd-jni/"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/89xxx/CVE-2026-89046.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/luben/zstd-jni/releases/tag/v1.5.7-14"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/luben/zstd-jni/security/advisories/GHSA-rm53-6wf5-f34m"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-89046"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/zstd-jni-1.5.5-6-through-1.5.7-13-out-of-bounds-read-via-negative-offset"
    },
    {
      "type": "FIX",
      "url": "https://github.com/luben/zstd-jni/commit/dd08685ef913a32e76fb27f43470035c06758646"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/luben/zstd-jni"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/luben/zstd-jni/blob/v1.5.7-13/src/main/java/com/github/luben/zstd/Zstd.java#L730"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/luben/zstd-jni/blob/v1.5.7-13/src/main/native/jni_zstd.c#L87"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "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",
      "type": "CVSS_V4"
    }
  ],
  "summary": "zstd-jni 1.5.5-6 through 1.5.7-13 Out-of-Bounds Read via Negative Offset"
}