Luben zstd-jni
zstd-jni 1.3.8-4 through 1.5.7-13 Use-After-Free of Compression and Decompression Dictionaries
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.
First public PoC
None yetno public PoC found
Public PoCs00 on GitHub
CVSS7.7high · scored by CNA · CWE-416
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
luben zstd-jni
- >= 1.3.8-4, < 1.5.7-14
Fixed in 1.5.7-14
Mitigation
Upgrade zstd-jni to 1.5.7-14 or later.
References
- Vendor advisory github.com/luben/zstd-jni/security/advisories/…
- Patch github.com/luben/zstd-jni/commit/393d7311766ab…
- Patch github.com/luben/zstd-jni/commit/a560131d78345…
2 more
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.