Luben zstd-jni
zstd-jni 1.2.0 through 1.5.7-13 Out-of-Bounds Read via ZstdDictCompress
zstd-jni versions before 1.5.7-14 fail to validate offset and length parameters in the ZstdDictCompress constructor, allowing out-of-bounds memory reads. Attackers can supply untrusted offset or length values to read native heap memory into the compression dictionary, typically causing JVM crashes.
First public PoC
None yetno public PoC found
Public PoCs00 on GitHub
CVSS8.8high · scored by CNA · CWE-125
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
luben zstd-jni
- >= 1.2.0, < 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/0d64de4dee660…
- Patch github.com/luben/zstd-jni/commit/1c4e5a6c3ce84…
1 more
- Release notes github.com/luben/zstd-jni/releases/tag/v1.5.7-…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.