CVE-2026-90852
Received Received - Intake

Use After Free in zstd-jni Library

Vulnerability report for CVE-2026-90852, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-09-15

Last updated on: 2026-09-15

Assigner: VulDB

Description

A vulnerability has been found in luben zstd-jni up to 1.5.7-13. This vulnerability affects the function ZstdCompressCtx.loadDict of the file ZstdCompressCtx.java of the component Dictionary Sharing. Such manipulation leads to use after free. The attack can be executed remotely. The exploit has been disclosed to the public and may be used. Upgrading to version 1.5.7-14 is able to resolve this issue. The name of the patch is a560131d7834598afd9cea6b7c107bc88e915936. The affected component should be upgraded. The vendor was contacted early, responded in a very professional manner and quickly released a fixed version of the affected product.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-09-15
Last Modified
2026-09-15
Generated
2026-09-15
AI Q&A
2026-09-15
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 2 associated CPEs
Vendor Product Version / Range
luben zstd-jni to 1.5.7-14 (exc)
luben zstd-jni 1.5.7-14

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-416 The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory "belongs" to the code that operates on the new pointer.
CWE-119 The product performs operations on a memory buffer, but it reads from or writes to a memory location outside the buffer's intended boundary. This may result in read or write operations on unexpected memory locations that could be linked to other variables, data structures, or internal program data.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

CVE-2026-90852 is a use-after-free vulnerability in the zstd-jni library affecting versions up to 1.5.7-13. It occurs in the ZstdCompressCtx.loadDict method where a compression context retains a dangling pointer to a dictionary after it has been closed. This happens because the dictionary's lifetime is not properly tracked, allowing the memory to be freed while the context still references it. Subsequent operations can then crash the application.

Detection Guidance

Detecting this vulnerability requires checking the version of zstd-jni in use. Run: java -jar your-application.jar | grep zstd-jni. If the version is 1.5.7-13 or earlier, the system is vulnerable. Additionally, monitor for crashes in applications using zstd-jni, particularly during dictionary operations.

Impact Analysis

This vulnerability can cause application crashes due to memory corruption. If exploited, it may lead to denial-of-service conditions or potentially arbitrary code execution. Systems using zstd-jni for compression with shared dictionaries across multiple contexts are particularly at risk.

Mitigation Strategies

Upgrade zstd-jni to version 1.5.7-14 or later immediately. Replace the vulnerable library in your project dependencies. If upgrading is not possible, avoid sharing dictionaries across multiple compression contexts and ensure dictionaries are not closed while in use.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-90852. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart