Vulnerabilities in pkg:maven/net.jpountz.lz4/lz4
PACKAGECVE-2025-12183 is a HIGH denial of service vulnerability (CWE-125: Out-of-bounds Read) affecting Lz4 java libraries in the Maven ecosystem. The issue involves lz4 java compression has out-of-bounds memory operations which can cause dos. Remediation is available by upgrading affected packages to version 1.8.1.
pkg:maven/net.jpountz.lz4/lz4
Vulnerability advisories affecting package pkg:maven/net.jpountz.lz4/lz4. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-vqf4-7m7x-wgfc | CVE-2025-12183 | HIGH | LZ4 Java Compression has Out-of-bounds memory operations which can cause DoS |
| GHSA-cmp6-m4wj-q63q | CVE-2025-66566 | HIGH | yawkat LZ4 Java has a possible information leak in Java safe decompressor |
CVE-2025-12183 at a Glance
How to Fix CVE-2025-12183
To remediate this vulnerability, upgrade all affected Lz4 java dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
<dependency>
<groupId>at.yawk.lz4</groupId>
<artifactId>lz4-java</artifactId>
<version>1.8.1</version>
</dependency>
<dependency>
<groupId>org.lz4</groupId>
<artifactId>lz4-java</artifactId>
<version>1.8.1</version>
</dependency>
<dependency>
<groupId>org.lz4</groupId>
<artifactId>lz4-pure-java</artifactId>
<version>Latest secure release</version>
</dependency>
<dependency>
<groupId>net.jpountz.lz4</groupId>
<artifactId>lz4</artifactId>
<version>Latest secure release</version>
</dependency>
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
mvn dependency:tree -Dincludes=at.yawk.lz4
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2025-12183, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=at.yawk.lz4
Analyze the terminal output to locate any version of Lz4 java in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.8.1), your application is affected.
Note: The mvn dependency:tree -Dincludes=at.yawk.lz4 command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-125: Out-of-bounds Read, where the product reads data past the end, or before the beginning, of the intended buffer. In Lz4 java, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2025-12183 Affected Lz4 java Versions
4 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
at.yawk.lz4:lz4-java
|
Maven |
< 1.8.1
|
1.8.1
|
|
org.lz4:lz4-java
|
Maven |
< 1.8.1
|
1.8.1
|
|
org.lz4:lz4-pure-java
|
Maven |
≤ 1.8.0
|
|
|
net.jpountz.lz4:lz4
|
Maven |
≤ 1.3.0
|
|
References
Frequently Asked Questions
What is CVE-2025-12183?
Which Lz4 java versions are affected?
What version fixes CVE-2025-12183?
Is lz4-java affected?
Is lz4-pure-java affected?
What CWE is associated with CVE-2025-12183?
How can I check Maven dependencies for CVE-2025-12183?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-vqf4-7m7x-wgfc",
"modified" : "2025-12-31T22:00:12Z",
"published" : "2025-11-28T18:30:23Z",
"aliases" : [ "CVE-2025-12183" ],
"summary" : "LZ4 Java Compression has Out-of-bounds memory operations which can cause DoS",
"details" : "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.\n\nThis is fixed in a forked release: at.yawk.lz4:lz4-java version 1.8.1. The original project has been archived: https://github.com/lz4/lz4-java, and Sonatype has added a redirect from org.lz4:lz4-java:1.8.1 to the new group ID.",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:H/SC:N/SI:N/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "at.yawk.lz4:lz4-java"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.8.1"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.lz4:lz4-java"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.8.1"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.lz4:lz4-pure-java"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"last_affected" : "1.8.0"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "net.jpountz.lz4:lz4"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"last_affected" : "1.3.0"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-12183"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/yawkat/lz4-java"
}, {
"type" : "WEB",
"url" : "https://github.com/yawkat/lz4-java/releases/tag/v1.8.1"
}, {
"type" : "WEB",
"url" : "https://sites.google.com/sonatype.com/vulnerabilities/cve-2025-12183"
}, {
"type" : "WEB",
"url" : "https://www.sonatype.com/security-advisories/cve-2025-12183"
}, {
"type" : "WEB",
"url" : "http://www.openwall.com/lists/oss-security/2025/12/01/5"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-125" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2025-12-03T14:00:28Z",
"nvd_published_at" : "2025-11-28T16:15:51Z"
}
}