{"answers":{"affected":"","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-87825 exists.","fix":"Upgrade to a fixed version.","what":"CVE-2026-87825 is a high-severity use after free vulnerability in luben zstd-jni, published on 9 Sep 2026. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-87825 and fix it if it is affected.\n\nWhat it is: CVE-2026-87825 is a high-severity use after free vulnerability in luben zstd-jni, published on 9 Sep 2026. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-87825 exists.\n\nAffected product: luben zstd-jni. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-87825/ (Markdown: https://insights.sbomify.com/CVE-2026-87825/index.md)","id":"CVE-2026-87825","markdown":"https://insights.sbomify.com/CVE-2026-87825/index.md","name":"CVE-2026-87825","record":{"aliases":["CLEANSTART-2026-BS35742","CLEANSTART-2026-II74708","CLEANSTART-2026-MU11707","CLEANSTART-2026-QC84579","CLEANSTART-2026-RT42031","CLEANSTART-2026-YX63078","DEBIAN-CVE-2026-87825","GHSA-947w-pxjj-c7m9","GHSA-9p7w-x2w6-p34j","UBUNTU-CVE-2026-87825"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service","data_read"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Java zstd compression library","requires_auth":"none","summary":"Attackers can trigger use-after-free in zstd-jni by closing dictionaries prematurely, causing JVM crashes or data corruption.","user_interaction":"not_required","vuln_class":"use_after_free"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"VulnCheck","cpe":[],"cvss":{"score":7,"severity":"high","source":"cna","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-416","name":"Use After Free"}],"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.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"zstd-jni 1.3.8-4 through 1.5.7-13 Use-After-Free of Compression and Decompression Dictionaries","id":"CVE-2026-87825","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"use_after_free","year":"2026"},"n_packages":0,"n_references":9,"next":{"headline":"KGUARD DVR unauthenticated remote command execution vulnerability","id":"CVE-2026-87827"},"packages":[],"prev":{"headline":"zstd-jni 1.3.3-1 through 1.5.7-13 Out-of-Bounds Read via Zstd.trainFromBufferDirect","id":"CVE-2026-87824"},"products":["zstd-jni"],"published":"2026-09-09","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-09-14","vendors":["luben"]},"summary":"Attackers can trigger use-after-free in zstd-jni by closing dictionaries prematurely, causing JVM crashes or data corruption.","url":"https://insights.sbomify.com/CVE-2026-87825/"}