<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:webfeeds="http://webfeeds.org/rss/1.0"><channel><title>Zstd-Jni (&lt; 1.5.7-14) - CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/products/zstd-jni--1.5.7-14/</link><description>Trending threats, MITRE ATT&amp;CK coverage, and detection metadata. Fed continuously.</description><generator>Hugo</generator><language>en</language><managingEditor>hello@craftedsignal.io</managingEditor><webMaster>hello@craftedsignal.io</webMaster><lastBuildDate>Wed, 09 Sep 2026 16:58:46 +0000</lastBuildDate><atom:link href="https://feed.craftedsignal.io/products/zstd-jni--1.5.7-14/feed.xml" rel="self" type="application/rss+xml"/><image><url>https://feed.craftedsignal.io/favicon-32x32.png</url><title>CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/</link><width>32</width><height>32</height></image><webfeeds:icon>https://feed.craftedsignal.io/favicon.svg</webfeeds:icon><item><title>Out-of-Bounds Memory Access in zstd-jni</title><link>https://feed.craftedsignal.io/briefs/2026-09-zstd-jni-oob-read/</link><pubDate>Wed, 09 Sep 2026 16:58:46 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2026-09-zstd-jni-oob-read/</guid><description>The zstd-jni library fails to validate sample buffer capacity in the Zstd.trainFromBufferDirect method, allowing attackers to trigger out-of-bounds memory access and JVM termination via crafted inputs.</description><content:encoded><![CDATA[<p>The zstd-jni library, a Java wrapper for the Zstandard compression algorithm, contains a critical vulnerability in the Zstd.trainFromBufferDirect method. Versions prior to 1.5.7-14 fail to properly validate the capacity of the samples buffer when processing compression dictionary training data. By providing crafted per-sample length arrays, an attacker can force the native Zstandard implementation to access memory addresses beyond the allocated buffer boundaries. This out-of-bounds memory read causes a segmentation fault within the native library, which subsequently results in the abrupt termination of the Java Virtual Machine (JVM). This vulnerability poses a significant denial-of-service risk to any Java application that utilizes zstd-jni to process untrusted compression dictionary training data.</p>
<h2 id="impact">Impact</h2>
<p>The vulnerability results in a high-severity denial-of-service condition due to the crash of the host JVM. Applications that accept user-provided training samples for Zstandard dictionary building are at risk of repeated service interruption or potential instability if the native memory corruption leads to unpredictable process states before the final crash occurs.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Upgrade the zstd-jni dependency to version 1.5.7-14 or later to remediate CVE-2026-87824.</li>
<li>Audit all application entry points that pass user-supplied input to Zstd.trainFromBufferDirect to ensure that input length arrays are validated against expected bounds before processing.</li>
<li>Monitor application logs for sudden JVM process exits accompanied by native crash dumps (hs_err_pid files) that indicate errors within the libzstd-jni native library.</li>
</ul>
]]></content:encoded><category domain="severity">high</category><category domain="type">advisory</category></item><item><title>Out-of-Bounds Memory Read in zstd-jni</title><link>https://feed.craftedsignal.io/briefs/2026-09-cve-2026-87795/</link><pubDate>Wed, 09 Sep 2026 10:50:21 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2026-09-cve-2026-87795/</guid><description>The zstd-jni library versions prior to 1.5.7-14 are vulnerable to an out-of-bounds memory read in the ZstdDictCompress constructor, allowing local or remote attackers to read native heap memory into a compression dictionary.</description><content:encoded><![CDATA[<p>The zstd-jni library, which provides Java bindings for the Zstandard compression algorithm, contains a memory safety vulnerability identified as CVE-2026-87795. The flaw exists within the ZstdDictCompress constructor, where the library fails to properly validate the offset and length parameters provided during dictionary creation.</p>
<p>By supplying specially crafted offset or length values to the constructor, an attacker can trigger an out-of-bounds read within the native heap. This action potentially allows sensitive memory contents to be pulled into the compression dictionary. While the primary documented outcome is a JVM crash due to memory corruption, the underlying primitive provides a mechanism for information disclosure. The vulnerability affects all versions of zstd-jni prior to 1.5.7-14. This is particularly relevant for Java applications that process untrusted data using the ZstdDictCompress functionality, as the lack of parameter validation enables an attacker to manipulate memory access patterns directly.</p>
<h2 id="impact">Impact</h2>
<p>Successful exploitation leads to memory corruption, which most commonly results in a denial-of-service condition via JVM crash. However, the out-of-bounds read capability poses a significant risk of information disclosure, where sensitive data residing in the native heap may be leaked into the application's compression dictionary. Applications that handle high-privilege or sensitive data and utilize zstd-jni for compression tasks are at the highest risk.</p>
<h2 id="recommendation">Recommendation</h2>
<p>Prioritize the update of all Java applications utilizing the zstd-jni library to version 1.5.7-14 or later to resolve the input validation issue in CVE-2026-87795.</p>
<p>Audit application codebases to identify if ZstdDictCompress is invoked with parameters derived from untrusted user input, as this represents the primary attack vector for this vulnerability.</p>
]]></content:encoded><category domain="severity">high</category><category domain="type">advisory</category><category>vulnerability</category><category>memory-safety</category><category>java</category></item></channel></rss>