CVE-2025-12183 Details
Description
Out-of-bounds memory operations in org.lz4:lz4-java 1.8.0 and earlier allow remote attackers to cause denial of service and read adjacent memory via untrusted compressed input.
A vulnerability exists in the LZ4 Java library, specifically in versions through 1.8.0, due to out-of-bounds memory operations in the JNI-based and Unsafe-based compression and decompression implementations. This flaw allows remote attackers to cause denial-of-service conditions and read adjacent memory by sending untrusted compressed input. The issue arises because the 'fast' decompressor in the JNI implementation and all Java-based implementations using sun.misc.Unsafe lack proper bounds checks, leaving them vulnerable to exploitation.
Users can upgrade to LZ4 Java version 1.8.1, which is available as a community-maintained fork, to address this vulnerability. This version replaces the vulnerable JNI-based fast decompressor with a safe Java implementation and updates the Unsafe-based compressors and decompressors to their safe counterparts. Applications can also temporarily switch to the safe implementation until they are ready to upgrade.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Nov 28, 2025CISA-ADP
Assessed Nov 28, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/yawkat/lz4-java/releases/tag/v1.8.1 | Sonatype | Release NotesVendor |
| https://www.sonatype.com/security-advisories/cve-2025-12183 | Sonatype | |
| http://www.openwall.com/lists/oss-security/2025/12/01/5 | CVE |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-125 | Out-of-bounds Read | Sonatype |
Affected Products
| Product | Versions |
|---|---|
| org.lz4:lz4-java | <= 1.8.0 (semver) |
CPE
Remediation
| |
| org.lz4:lz4-pure-java | All versions |
CPE
Remediation
| |
| net.jpountz.lz4 | All versions |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Nov 4, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | Sonatype |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Dec 29, 2025 | CVE Modified | Sonatype |
| Dec 1, 2025 | CVE Modified | CVE |
| Nov 28, 2025 | New CVE Received | Sonatype |
Volerion