{
  "id": "CVE-2026-87825",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-87825",
  "published_at": "2026-09-09T14:32:44.795Z",
  "title": "zstd-jni 1.3.8-4 through 1.5.7-13 Use-After-Free of Compression and Decompression Dictionaries",
  "vendor": "luben",
  "product": "zstd-jni",
  "cvss": {
    "score": 7.7,
    "source": "cna",
    "vector": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H"
  },
  "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 contains a use-after-free vulnerability where streams and contexts hold a dictionary's shared lock only during the load call, allowing the dictionary to be closed while still referenced. Attackers can close a dictionary after associating it with a stream or context, causing subsequent read or write operations to access freed native memory, resulting in silent data corruption or JVM crashes.",
  "cwe": "CWE-416",
  "cvss_by_source": {
    "cna": 7.7
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "luben",
        "product": "zstd-jni",
        "ranges": [
          "\u003e= 1.3.8-4, \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-947w-pxjj-c7m9"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/luben/zstd-jni/commit/393d7311766abbc285b149302c0fe1f94b16d555"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/luben/zstd-jni/commit/a560131d7834598afd9cea6b7c107bc88e915936"
      },
      {
        "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/0827ed02551bbd8d6f8e4bbff99d83bf50f91938"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
