CVE-2025-12183: LZ4 Java Compression has Out-of-bounds memory operations which can cause DoS
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. This 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.
Published Nov 28, 2025 · Updated Dec 31, 2025
Affected packages
at.yawk.lz4:lz4-java
- Ecosystem
- Maven
- Affected
- < 1.8.1
- Fixed in
- 1.8.1
- Check
mvn dependency:tree -Dincludes=at.yawk.lz4:lz4-java
org.lz4:lz4-java
- Ecosystem
- Maven
- Affected
- < 1.8.1
- Fixed in
- 1.8.1
- Check
mvn dependency:tree -Dincludes=org.lz4:lz4-java
org.lz4:lz4-pure-java
- Ecosystem
- Maven
- Affected
- <= 1.8.0
- Fixed in
- No patched version yet
- Check
mvn dependency:tree -Dincludes=org.lz4:lz4-pure-java
net.jpountz.lz4:lz4
- Ecosystem
- Maven
- Affected
- <= 1.3.0
- Fixed in
- No patched version yet
- Check
mvn dependency:tree -Dincludes=net.jpountz.lz4:lz4
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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.
This 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.
Credited to Marcono1234, pjfanning.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Maven vulnerabilities
All Maven entriesCVE-2026-106449
yawkat LZ4 Java: LZ4BlockInputStream with stopOnEmptyBlock=false recurses once per empty block, causing StackOverflowError
low3.7No fixOct 7, 2026CVE-2026-106450
yawkat LZ4 Java: LZ4FrameInputStream reallocates block buffers for every frame, allowing CPU and GC amplification from small inputs
medium5.3No fixOct 7, 2026CVE-2026-106451
yawkat LZ4 Java: Native library extraction to a shared temporary directory is vulnerable to file replacement by another local user
high7.3No fixOct 7, 2026CVE-2026-106452
yawkat LZ4 Java: LZ4BlockInputStream allocates an unvalidated compressed length from the stream header
medium5.3No fixOct 7, 2026CVE-2026-106453
yawkat LZ4 Java: LZ4DecompressorWithLength allocates the unvalidated size from the 4-byte length header, so a 5-byte input triggers a 1 GiB allocation and OutOfMemoryError
medium5.3No fixOct 7, 2026CVE-2026-59949
LZ4 Java: Native XXHash implementations can crash the JVM when passed invalid byte array ranges
medium6.5No fixJul 24, 2026
