Luben zstd-jni
zstd-jni 1.3.8-4 through 1.5.7-13 Use-After-Free via Setters Called After close()
zstd-jni versions before 1.5.7-14 fail to validate closed state in setDict, setLongMax, setLevel and setRefMultipleDDicts methods of stream classes. Attackers can call these methods on closed streams to write through freed native pointers, corrupting unrelated objects or crashing the JVM.
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/f38f9a1563113…
- Patch github.com/luben/zstd-jni/commit/393d7311766ab…
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.