CVE-2024-36124
Java vulnerability analysis and mitigation

Overview

iq80 Snappy, a compression/decompression library, contains a vulnerability where it attempts to read outside the bounds of given byte arrays during decompression operations. The vulnerability was discovered and disclosed on June 3, 2024, affecting all versions prior to 0.5. This security issue impacts systems using the iq80 Snappy library for data compression and decompression operations (GitHub Advisory, NVD).

Technical details

The vulnerability stems from the library's use of the JDK class sun.misc.Unsafe to optimize memory access. When processing certain decompression operations, the library attempts to access memory outside the bounds of the given byte arrays. Due to the use of sun.misc.Unsafe, no additional bounds checks are performed, resulting in behavior similar to out-of-bounds access in C or C++. The issue has been assigned a CVSS v3.1 base score of 5.3 (Medium) with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L and is classified as CWE-125 (Out-of-bounds Read) (NVD).

Impact

When processing decompression data from untrusted sources, this vulnerability can be exploited to cause non-deterministic behavior or crash the JVM, effectively enabling denial-of-service attacks. The out-of-bounds read access can lead to system instability and service disruption (GitHub Advisory).

Mitigation and workarounds

Users are advised to upgrade to version 0.5 of iq80 Snappy as an immediate mitigation. However, since the library is no longer actively maintained, the recommended long-term solution is to migrate to the Snappy implementation in aircompressor (version 0.27 or newer) (GitHub Advisory).

Additional resources


SourceThis report was generated using AI

Related Java vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-30001HIGH7.3
  • JavaJava
  • org.apache.streampark:streampark
NoNoOct 10, 2025
CVE-2025-37727MEDIUM5.7
  • JavaJava
  • cpe:2.3:a:elasticsearch:elasticsearch
NoYesOct 10, 2025
CVE-2025-62238MEDIUM4.8
  • JavaJava
  • cpe:2.3:a:liferay:liferay_portal
NoYesOct 10, 2025
CVE-2025-62237MEDIUM4.8
  • JavaJava
  • cpe:2.3:a:liferay:liferay_portal
NoYesOct 10, 2025
CVE-2025-62239MEDIUM4.6
  • JavaJava
  • com.liferay:com.liferay.portal.workflow.kaleo.designer.web
NoYesOct 10, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management