{"id":"UBUNTU-CVE-2025-66566","details":"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.","modified":"2026-11-24T14:53:25.588748931Z","published":"2025-12-05T18:15:00Z","upstream":["CVE-2025-66566"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2025-66566"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2025-66566"},{"type":"REPORT","url":"https://github.com/yawkat/lz4-java/security/advisories/GHSA-cmp6-m4wj-q63q"},{"type":"REPORT","url":"https://github.com/yawkat/lz4-java/commit/33d180cb70c4d93c80fb0dc3ab3002f457e93840"}],"affected":[{"package":{"name":"lz4-java","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/lz4-java?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.5.1-2"],"ecosystem_specific":{"binaries":[{"binary_name":"liblz4-java","binary_version":"1.5.1-2"},{"binary_name":"liblz4-jni","binary_version":"1.5.1-2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-66566.json"}},{"package":{"name":"lz4-java","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/lz4-java?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.5.1-3build1"],"ecosystem_specific":{"binaries":[{"binary_name":"liblz4-java","binary_version":"1.5.1-3build1"},{"binary_name":"liblz4-jni","binary_version":"1.5.1-3build1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-66566.json"}},{"package":{"name":"lz4-java","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/lz4-java?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.8.0-3","1.8.0-4","1.8.0-4build1"],"ecosystem_specific":{"binaries":[{"binary_version":"1.8.0-4build1","binary_name":"liblz4-java"},{"binary_version":"1.8.0-4build1","binary_name":"liblz4-jni"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-66566.json"}},{"package":{"name":"lz4-java","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/lz4-java?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.8.0-4build1"],"ecosystem_specific":{"binaries":[{"binary_name":"liblz4-java","binary_version":"1.8.0-4build1"},{"binary_version":"1.8.0-4build1","binary_name":"liblz4-jni"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-66566.json"}},{"package":{"name":"lz4-java","ecosystem":"Ubuntu:26.10","purl":"pkg:deb/ubuntu/lz4-java?arch=source&distro=stonking"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.8.0-4build2"],"ecosystem_specific":{"binaries":[{"binary_name":"liblz4-java","binary_version":"1.8.0-4build2"},{"binary_version":"1.8.0-4build2","binary_name":"liblz4-jni"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-66566.json"}},{"package":{"name":"lz4-java","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/lz4-java?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.8.0-4build1","1.8.0-4build2"],"ecosystem_specific":{"binaries":[{"binary_name":"liblz4-java","binary_version":"1.8.0-4build2"},{"binary_name":"liblz4-jni","binary_version":"1.8.0-4build2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-66566.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N","source":"CNA"},{"type":"Ubuntu","score":"medium","source":"SELF"}]}