{
  "id": "CVE-2026-87824",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-87824",
  "published_at": "2026-09-09T14:32:44.099Z",
  "title": "zstd-jni 1.3.3-1 through 1.5.7-13 Out-of-Bounds Read via Zstd.trainFromBufferDirect",
  "vendor": "luben",
  "product": "zstd-jni",
  "cvss": {
    "score": 8.7,
    "source": "cna",
    "vector": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "zstd-jni before 1.5.7-14 fails to validate the samples buffer capacity in Zstd.trainFromBufferDirect, allowing attackers to read past buffer boundaries by supplying oversized per-sample lengths. Attackers can trigger out-of-bounds memory access by providing crafted sample length arrays that cause the native implementation to walk past the buffer allocation, resulting in JVM termination.",
  "cwe": "CWE-125",
  "cvss_by_source": {
    "cna": 8.7
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "luben",
        "product": "zstd-jni",
        "ranges": [
          "\u003e= 1.3.3-1, \u003c 1.5.7-14"
        ],
        "fixed_in": [
          "1.5.7-14"
        ]
      }
    ],
    "upgrade": [
      "Upgrade zstd-jni to 1.5.7-14 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/luben/zstd-jni/security/advisories/GHSA-257p-3h6w-pg7h"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/luben/zstd-jni/commit/bba6cfca2c0897f1fa004f4193247479f10da853"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/luben/zstd-jni/releases/tag/v1.5.7-14"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/luben/zstd-jni/commit/53d3c6342883f7d6717b2477a7f9c1b4a4a56980"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
