CVE-2025-12183: Out-of-bounds memory access in lz4-java
CVE-2025-12183 is an out-of-bounds memory access vulnerability affecting org.lz4:lz4-java, org.lz4:lz4-pure-java, and net.jpountz.lz4:lz4 through version 1.8.0. Multiple compression and decompression implementations lack adequate memory-boundary checks, including the JNI-based fast decompressor using LZ4_decompress_fast and Java implementations using sun.misc.Unsafe. Processing attacker-controlled compressed input can cause denial of service or disclose adjacent process memory. Java implementations that do not use sun.misc.Unsafe throw ArrayIndexOutOfBoundsException rather than performing the unsafe memory accesses and are not considered affected by this vulnerability.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation can disrupt or crash an application processing malicious LZ4 data and can expose adjacent process memory, potentially disclosing sensitive application data. The demonstrated impact concerns confidentiality and availability; arbitrary code execution and integrity compromise are not established.
Mitigation
If you can’t patch tonight, do this now.
Until migration is possible, prevent untrusted compressed data from reaching affected implementations. Use safeInstance() or an appropriate safeDecompressor() implementation instead of Unsafe-based implementations or the JNI fast decompressor. Restrict compressed-input sources, enforce input-size limits, and isolate decompression workloads to reduce exposure and the consequences of exploitation. These compensating controls do not replace upgrading.
Remediation
Patch, then assume compromise.
Migrate from the discontinued original library to the maintained at.yawk.lz4:lz4-java fork. Versions 1.8.1 and 1.9.0 include fixes for this vulnerability; prefer a current supported release incorporating subsequent security fixes. The org.lz4:lz4-java:1.8.1 artifact is a relocation POM pointing to at.yawk.lz4:lz4-java:1.8.1, and future releases use the at.yawk.lz4 group ID. Replace affected legacy artifacts and update transitive dependencies. Fixed releases substitute safe implementations by default; do not select explicitly insecure factory methods for untrusted input.
Exploits
No public exploits tracked yet. Mallory keeps watching.
References
Frequently asked questions
- Is CVE-2025-12183 exploited in the wild?
- As of Nov 20, 2026, Mallory has no reports of CVE-2025-12183 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2025-12183?
- As of Nov 20, 2026, Mallory has found no public exploit for CVE-2025-12183.
- Is there a patch for CVE-2025-12183?
- Migrate from the discontinued original library to the maintained at.yawk.lz4:lz4-java fork. Versions 1.8.1 and 1.9.0 include fixes for this vulnerability; prefer a current supported release incorporating subsequent security fixes.
- How severe is CVE-2025-12183?
- CVE-2025-12183 has a CVSS v4 score of 8.8 (High) and an EPSS score of 0.85% (55th percentile) as of Nov 20, 2026.
Recent activity
8 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.