Every CVE Search/ Get API key

CVE-2025-66566

yawkat LZ4 Java has a possible information leak in Java safe decompressor

8.2 HighFix available

yawkat LZ4 Java provides LZ4 compression for Java. Insufficient clearing of the output buffer in Java-based decompressor implementations in lz4-java 1.10.0 and earlier allows remote attackers to read previous buffer contents via crafted compressed input. In applications where the output buffer is reused without being cleared, this may lead to disclosure of sensitive data. JNI-based implementations are not affected. This vulnerability is fixed in 1.10.1.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
High
Integrity
None
Availability
None

Exploit likelihood

0.65%Up 0.5 points since Dec 6, 2025
90%50%10%1%

What each source reports

CVE List Score used 8.2

yawkat LZ4 Java has a possible information leak in Java safe decompressor

yawkat LZ4 Java provides LZ4 compression for Java. Insufficient clearing of the output buffer in Java-based decompressor implementations in lz4-java 1.10.0 and earlier allows remote attackers to read previous buffer contents via crafted compressed input. In applications where the output buffer is reused without being cleared, this may lead to disclosure of sensitive data. JNI-based implementations are not affected. This vulnerability is fixed in 1.10.1.

Record
CVE-2025-66566
CVSS 4.0
8.2 HighCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
Weakness
CWE-201
Updated
2026-11-02
EUVDEUVD-2025-201456 8.2

yawkat LZ4 Java provides LZ4 compression for Java. Insufficient clearing of the output buffer in Java-based decompressor implementations in lz4-java 1.10.0 and earlier allows remote attackers to read previous buffer contents via crafted compressed input. In applications where the output buffer is reused without being cleared, this may lead to disclosure of sensitive data. JNI-based implementations are not affected. This vulnerability is fixed in 1.10.1.

Record
EUVD-2025-201456
CVSS 4.0
8.2 HighCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
Updated
2026-11-02
GitHub AdvisoriesGHSA-cmp6-m4wj-q63q 8.2

yawkat LZ4 Java has a possible information leak in Java safe decompressor

Summary

Insufficient clearing of the output buffer in Java-based decompressor implementations in lz4-java 1.10.0 and earlier allows remote attackers to read previous buffer contents via crafted compressed input. In applications where the output buffer is reused without being cleared, this may lead to disclosure of sensitive data.

JNI-based implementations are not affected.

Details

During the decompression process, the lz4 algorithm may have to repeat data that was previously decompressed in the same input frame. In the Java implementation, this is implemented by copy operations within the output buffer.

With a crafted input, an attacker may induce the Java implementation to copy from a region in the output buffer that does not contain decompressed data yet. If that region contains sensitive information because the output buffer was not cleared prior to decompression, that data will then be copied to the decompressed output.

  • LZ4Factory.nativeInstance().safeDecompressor() is not affected.
  • LZ4Factory.nativeInstance().fastDecompressor() is affected because it actually uses safeInstance() since 1.8.1. In 1.8.0 and earlier versions, this implementation is instead vulnerable to the more severe CVE‐2025‐12183, so downgrading is not a solution.
  • Both decompressors of LZ4Factory.safeInstance(), LZ4Factory.unsafeInstance() and LZ4Factory.fastestJavaInstance() are affected.
  • LZ4Factory.fastestInstance() uses the nativeInstance or fastestJavaInstance depending on platform. LZ4Factory.fastestInstance().fastDecompressor() is always affected, while LZ4Factory.fastestInstance().safeDecompressor() is affected only when JNI cannot be used (e.g. on unsupported platforms).

Independent of this vulnerability, it is recommended that users migrate from fastDecompressor to safeDecompressor, as the latter is more performant (despite the name).

The impact of this vulnerability depends on how user code interacts with the decompression API. Users that allocate a new destination buffer each time, or use only zeroed buffers, are not impacted. When the buffer is reused, however, the confidentiality impact can be severe. This vulnerability is marked as VC:H out of caution.

Mitigation

lz4-java 1.10.1 fixes this issue without requiring changes in user code.

If you cannot upgrade to 1.10.1, you can mitigate this vulnerability by zeroing the output buffer before passing it to the decompression function.

Relation to CVE‐2025‐12183

This CVE is a different attack than CVE‐2025‐12183, affecting different implementations with different impact. This new vulnerability was discovered by CodeIntelligence during research that followed up on CVE‐2025‐12183. Users are recommended to upgrade to 1.10.1 to fix both vulnerabilities.

Record
GHSA-cmp6-m4wj-q63q
CVSS 4.0
8.2 HighCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
Weakness
CWE-201
Updated
2026-11-02
NVD 8.2

yawkat LZ4 Java provides LZ4 compression for Java. Insufficient clearing of the output buffer in Java-based decompressor implementations in lz4-java 1.10.0 and earlier allows remote attackers to read previous buffer contents via crafted compressed input. In applications where the output buffer is reused without being cleared, this may lead to disclosure of sensitive data. JNI-based implementations are not affected. This vulnerability is fixed in 1.10.1.

Record
CVE-2025-66566
CVSS 4.0
8.2 HighCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Weakness
CWE-201
Updated
2026-11-02
OSV 8.2

yawkat LZ4 Java has a possible information leak in Java safe decompressor

yawkat LZ4 Java provides LZ4 compression for Java. Insufficient clearing of the output buffer in Java-based decompressor implementations in lz4-java 1.10.0 and earlier allows remote attackers to read previous buffer contents via crafted compressed input. In applications where the output buffer is reused without being cleared, this may lead to disclosure of sensitive data. JNI-based implementations are not affected. This vulnerability is fixed in 1.10.1.

Record
CVE-2025-66566
CVSS 4.0
8.2 HighCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
Weakness
CWE-201
Updated
2026-11-02
OSVDEBIAN-CVE-2025-66566 8.2

yawkat LZ4 Java provides LZ4 compression for Java. Insufficient clearing of the output buffer in Java-based decompressor implementations in lz4-java 1.10.0 and earlier allows remote attackers to read previous buffer contents via crafted compressed input. In applications where the output buffer is reused without being cleared, this may lead to disclosure of sensitive data. JNI-based implementations are not affected. This vulnerability is fixed in 1.10.1.

Record
DEBIAN-CVE-2025-66566
CVSS 4.0
8.2 HighCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Updated
2026-11-02
Show 15 moreShow less
OSVGHSA-cmp6-m4wj-q63q 8.2

yawkat LZ4 Java has a possible information leak in Java safe decompressor

Summary

Insufficient clearing of the output buffer in Java-based decompressor implementations in lz4-java 1.10.0 and earlier allows remote attackers to read previous buffer contents via crafted compressed input. In applications where the output buffer is reused without being cleared, this may lead to disclosure of sensitive data.

JNI-based implementations are not affected.

Details

During the decompression process, the lz4 algorithm may have to repeat data that was previously decompressed in the same input frame. In the Java implementation, this is implemented by copy operations within the output buffer.

With a crafted input, an attacker may induce the Java implementation to copy from a region in the output buffer that does not contain decompressed data yet. If that region contains sensitive information because the output buffer was not cleared prior to decompression, that data will then be copied to the decompressed output.

  • LZ4Factory.nativeInstance().safeDecompressor() is not affected.
  • LZ4Factory.nativeInstance().fastDecompressor() is affected because it actually uses safeInstance() since 1.8.1. In 1.8.0 and earlier versions, this implementation is instead vulnerable to the more severe CVE‐2025‐12183, so downgrading is not a solution.
  • Both decompressors of LZ4Factory.safeInstance(), LZ4Factory.unsafeInstance() and LZ4Factory.fastestJavaInstance() are affected.
  • LZ4Factory.fastestInstance() uses the nativeInstance or fastestJavaInstance depending on platform. LZ4Factory.fastestInstance().fastDecompressor() is always affected, while LZ4Factory.fastestInstance().safeDecompressor() is affected only when JNI cannot be used (e.g. on unsupported platforms).

Independent of this vulnerability, it is recommended that users migrate from fastDecompressor to safeDecompressor, as the latter is more performant (despite the name).

The impact of this vulnerability depends on how user code interacts with the decompression API. Users that allocate a new destination buffer each time, or use only zeroed buffers, are not impacted. When the buffer is reused, however, the confidentiality impact can be severe. This vulnerability is marked as VC:H out of caution.

Mitigation

lz4-java 1.10.1 fixes this issue without requiring changes in user code.

If you cannot upgrade to 1.10.1, you can mitigate this vulnerability by zeroing the output buffer before passing it to the decompression function.

Relation to CVE‐2025‐12183

This CVE is a different attack than CVE‐2025‐12183, affecting different implementations with different impact. This new vulnerability was discovered by CodeIntelligence during research that followed up on CVE‐2025‐12183. Users are recommended to upgrade to 1.10.1 to fix both vulnerabilities.

Record
GHSA-cmp6-m4wj-q63q
CVSS 4.0
8.2 HighCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
Weakness
CWE-201
Updated
2026-11-02
OSVRHSA-2026:0751 7.5

Red Hat Security Advisory: jmc security update

Record
RHSA-2026:0751
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Updated
2026-11-02
OSVRHSA-2026:0752 7.5

Red Hat Security Advisory: jmc security update

Record
RHSA-2026:0752
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Updated
2026-11-02
OSVRHSA-2026:1823 7.5

Red Hat Security Advisory: JMC bug fix and enhancement update

Record
RHSA-2026:1823
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Updated
2026-11-02
OSVRHSA-2026:1870 7.5

Red Hat Security Advisory: Red Hat JBoss Enterprise Application Platform 8.1.4 security update

Record
RHSA-2026:1870
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Updated
2026-11-02
OSVRHSA-2026:1871 7.5

Red Hat Security Advisory: Red Hat JBoss Enterprise Application Platform 8.1.4 security update

Record
RHSA-2026:1871
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Updated
2026-11-02
OSVRHSA-2026:20568 7.5

Red Hat Security Advisory: jmc security update

Record
RHSA-2026:20568
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Updated
2026-11-02
OSVRLSA-2026:0752 7.5

Important: jmc security update

JDK Mission Control is a powerful profiler for HotSpot JVMs and has an advanced set of tools that enables efficient and detailed analysis of the extensive data collected by JDK Flight Recorder. The tool chain enables developers and administrators to collect and analyze data from Java applications running locally or deployed in production environments.

Security Fix(es):

  • lz4-java: lz4-java: Information Disclosure via Insufficient Output Buffer Clearing (CVE-2025-66566)

For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

Record
RLSA-2026:0752
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Updated
2026-11-02
OSVRLSA-2026:20568 7.5

Important: jmc security update

JDK Mission Control is a powerful profiler for HotSpot JVMs and has an advanced set of tools that enables efficient and detailed analysis of the extensive data collected by JDK Flight Recorder. The tool chain enables developers and administrators to collect and analyze data from Java applications running locally or deployed in production environments.

Security Fix(es):

  • lz4-java: lz4-java: Information Disclosure via Insufficient Output Buffer Clearing (CVE-2025-66566)

  • org.eclipse.jetty/jetty-http: HTTP request smuggling via chunked extension quoted-string parsing (CVE-2026-2332)

For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

Record
RLSA-2026:20568
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Updated
2026-11-02
OSVUBUNTU-CVE-2025-66566 8.2

yawkat LZ4 Java provides LZ4 compression for Java. Insufficient clearing of the output buffer in Java-based decompressor implementations in lz4-java 1.10.0 and earlier allows remote attackers to read previous buffer contents via crafted compressed input. In applications where the output buffer is reused without being cleared, this may lead to disclosure of sensitive data. JNI-based implementations are not affected. This vulnerability is fixed in 1.10.1.

Record
UBUNTU-CVE-2025-66566
CVSS 4.0
8.2 HighCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
Updated
2026-11-02
OSVALSA-2026:0752 No score

Important: jmc security update

JDK Mission Control is a powerful profiler for HotSpot JVMs and has an advanced set of tools that enables efficient and detailed analysis of the extensive data collected by JDK Flight Recorder. The tool chain enables developers and administrators to collect and analyze data from Java applications running locally or deployed in production environments.

Security Fix(es):

  • lz4-java: lz4-java: Information Disclosure via Insufficient Output Buffer Clearing (CVE-2025-66566)

For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

Record
ALSA-2026:0752
Updated
2026-11-02
OSVALSA-2026:20568 No score

Important: jmc security update

JDK Mission Control is a powerful profiler for HotSpot JVMs and has an advanced set of tools that enables efficient and detailed analysis of the extensive data collected by JDK Flight Recorder. The tool chain enables developers and administrators to collect and analyze data from Java applications running locally or deployed in production environments.

Security Fix(es):

  • lz4-java: lz4-java: Information Disclosure via Insufficient Output Buffer Clearing (CVE-2025-66566)
  • org.eclipse.jetty/jetty-http: HTTP request smuggling via chunked extension quoted-string parsing (CVE-2026-2332)

For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

Record
ALSA-2026:20568
Updated
2026-11-02
OSVCLSA-2026-1770768563 No score

TuxCare security update for 2 packages (1 CVE)

TuxCare rebuilt 2 packages to address 1 CVE. Fixed in 1.8.1-tuxcare.1.

Record
CLSA-2026-1770768563
Updated
2026-11-02
OSVCLSA-2026-1786627215 No score

TuxCare security update for org.lz4 (2 CVEs)

TuxCare rebuilt 2 org.lz4 packages to address 2 CVEs. Fixed in 1.8.0-tuxcare.1.

Record
CLSA-2026-1786627215
Updated
2026-11-02
OSVROOT-APP-MAVEN-CVE-2025-66566 No score

CVE-2025-66566 in io.root.org.lz4:lz4-java - Patched by Root

Root has patched CVE-2025-66566 in the io.root.org.lz4:lz4-java package for Root:Maven. Multiple fixed versions available.

Record
ROOT-APP-MAVEN-CVE-2025-66566
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
at.yawk.lz4:lz4-java
Maven
through 1.10.0
1.10.1
org.lz4:lz4-java
Maven
through 1.8.1 None known
org.lz4:lz4-pure-java
Maven
through 1.8.1 None known
net.jpountz.lz4:lz4
Maven
through 1.8.1 None known
jmc
AlmaLinux:9
before 8.2.0-18.el9_7.2
8.2.0-18.el9_7.2
jmc
AlmaLinux:9
From an advisory covering 2 CVEs
before 8.2.0-19.el9_8.2
8.2.0-19.el9_8.2
at.yawk.lz4:lz4-java
TuxCare:Maven
1.8.1 up to 1.8.1-tuxcare.1
1.8.1-tuxcare.1
org.lz4:lz4-java
TuxCare:Maven
1.8.1 up to 1.8.1-tuxcare.1
1.8.1-tuxcare.1
org.lz4:lz4-java
TuxCare:Maven
From an advisory covering 2 CVEs
1.8.0 up to 1.8.0-tuxcare.1
1.8.0-tuxcare.1
org.lz4:lz4-pure-java
TuxCare:Maven
From an advisory covering 2 CVEs
1.8.0 up to 1.8.0-tuxcare.1
1.8.0-tuxcare.1
Show 31 moreShow less
Affected packages
PackageAffectedFixed
lz4-java
Debian:12
All versions, plus listed versions
1.11.2+ds1-11.11.2+ds1-21.11.2+ds1-31.8.0-31.8.0-4
None known
lz4-java
Debian:13
All versions, plus listed versions
1.11.2+ds1-11.11.2+ds1-21.11.2+ds1-31.8.0-4
None known
lz4-java
Debian:14
before 1.11.2+ds1-1, plus listed versions
1.8.0-4
1.11.2+ds1-1
at.yawk.lz4:lz4-java
Maven
before 1.10.1, plus listed versions
1.10.01.8.11.9.0
1.10.1
org.lz4:lz4-java
Maven
through 1.8.1, plus listed versions
1.41.4.01.4.11.5.01.5.1
Show 4 moreShow less
1.6.01.7.01.7.11.8.0
None known
org.lz4:lz4-pure-java
Maven
through 1.8.1, plus listed versions
1.7.01.8.0
None known
net.jpountz.lz4:lz4
Maven
through 1.8.1, plus listed versions
1.0.01.1.01.1.11.1.21.2.01.31.3.0
None known
jmc
Red Hat:rhel_eus:9.6::crb
before 0:8.2.0-18.el9_6.2
0:8.2.0-18.el9_6.2
jmc
Red Hat:enterprise_linux:9::crb
before 0:8.2.0-18.el9_7.2
0:8.2.0-18.el9_7.2
jmc
Red Hat:rhel_eus:9.4::crb
before 0:8.2.0-17.el9_4.2
0:8.2.0-17.el9_4.2
eap8-wildfly
Red Hat:jboss_enterprise_application_platform:8.1::el8
From an advisory covering 2 CVEs
before 0:8.1.4-2.GA_redhat_00005.1.el8eap
0:8.1.4-2.GA_redhat_00005.1.el8eap
eap8-wildfly-java-jdk17
Red Hat:jboss_enterprise_application_platform:8.1::el8
From an advisory covering 2 CVEs
before 0:8.1.4-2.GA_redhat_00005.1.el8eap
0:8.1.4-2.GA_redhat_00005.1.el8eap
eap8-wildfly-java-jdk21
Red Hat:jboss_enterprise_application_platform:8.1::el8
From an advisory covering 2 CVEs
before 0:8.1.4-2.GA_redhat_00005.1.el8eap
0:8.1.4-2.GA_redhat_00005.1.el8eap
eap8-wildfly-modules
Red Hat:jboss_enterprise_application_platform:8.1::el8
From an advisory covering 2 CVEs
before 0:8.1.4-2.GA_redhat_00005.1.el8eap
0:8.1.4-2.GA_redhat_00005.1.el8eap
eap8-wildfly
Red Hat:jboss_enterprise_application_platform:8.1::el9
From an advisory covering 2 CVEs
before 0:8.1.4-2.GA_redhat_00005.1.el9eap
0:8.1.4-2.GA_redhat_00005.1.el9eap
eap8-wildfly-java-jdk17
Red Hat:jboss_enterprise_application_platform:8.1::el9
From an advisory covering 2 CVEs
before 0:8.1.4-2.GA_redhat_00005.1.el9eap
0:8.1.4-2.GA_redhat_00005.1.el9eap
eap8-wildfly-java-jdk21
Red Hat:jboss_enterprise_application_platform:8.1::el9
From an advisory covering 2 CVEs
before 0:8.1.4-2.GA_redhat_00005.1.el9eap
0:8.1.4-2.GA_redhat_00005.1.el9eap
eap8-wildfly-modules
Red Hat:jboss_enterprise_application_platform:8.1::el9
From an advisory covering 2 CVEs
before 0:8.1.4-2.GA_redhat_00005.1.el9eap
0:8.1.4-2.GA_redhat_00005.1.el9eap
jmc
Red Hat:enterprise_linux:9::crb
From an advisory covering 2 CVEs
before 0:8.2.0-19.el9_8.2
0:8.2.0-19.el9_8.2
jmc
Rocky Linux:9
before 0:8.2.0-18.el9_7.2
0:8.2.0-18.el9_7.2
jmc
Rocky Linux:9
From an advisory covering 2 CVEs
before 0:8.2.0-19.el9_8.2
0:8.2.0-19.el9_8.2
io.root.org.lz4:lz4-java
Root:Maven
before 1.8.0-root.io.2
1.8.0-root.io.21.8.0-root.io.41.8.0-root.io.51.8.0-root.io.61.8.0-root.io.71.8.1-root.io.11.8.1-root.io.21.8.0-root.io.81.8.0-root.io.9
io.root.net.jpountz.lz4:lz4
Root:Maven
before 1.3.0-root.io.1
1.3.0-root.io.11.3.0-root.io.21.3.0-root.io.31.3.0-root.io.4
net.jpountz.lz4:lz4
Root:Maven
before 1.3.0-aikido.4
1.3.0-aikido.4
org.lz4:lz4-java
Root:Maven
before 1.8.0-aikido.9
1.8.0-aikido.9
lz4-java
Ubuntu:20.04:LTS
All versions, plus listed versions
1.5.1-2
None known
lz4-java
Ubuntu:22.04:LTS
All versions, plus listed versions
1.5.1-3build1
None known
lz4-java
Ubuntu:24.04:LTS
All versions, plus listed versions
1.8.0-31.8.0-41.8.0-4build1
None known
lz4-java
Ubuntu:25.10
All versions, plus listed versions
1.8.0-4build1
None known
lz4-java
Ubuntu:26.10
All versions, plus listed versions
1.8.0-4build2
None known
lz4-java
Ubuntu:26.04:LTS
All versions, plus listed versions
1.8.0-4build11.8.0-4build2
None known

History

History
RecordedChangedSources
affected, facts
first indexedCVE List, EUVD, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2025-66566 is a high vulnerability (CVSS 8.2) in Yawkat Lz4-java, published December 5, 2025. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.65%, the 51st percentile. Fixed in at.yawk.lz4:lz4-java 1.10.1.

References

Show 58 moreShow less
MoveEnter Open