Out-of-bounds Read Affecting com.ning:compress-lzf package, versions [0.9.0,1.2.0)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.4% (34th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JAVA-COMNING-21280278
  • published20 Oct 2026
  • disclosed20 Oct 2026
  • creditUnknown

Introduced: 20 Oct 2026

NewCVE-2026-109395  (opens in a new tab)
CWE-125  (opens in a new tab)

How to fix?

Upgrade com.ning:compress-lzf to version 1.2.0 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-bounds Read in the decodeChunk method of UnsafeChunkDecoder, which resolves back references and copies literal runs through sun.misc.Unsafe without confirming that a back reference lands at or after the start of the output region, or that a literal run near the end of the input lies within the input array. An attacker can read memory outside both arrays into the decompressed result, and crash the JVM, by supplying LZF data whose back reference offset points before the first byte written or whose trailing literal run extends past the end of the compressed input, since Unsafe accesses carry no bounds checking. This requires the application to decompress LZF data from a source it does not control and the Unsafe based decoder to be the one in use.

CVSS Base Scores

version 4.0
version 3.1