CVE-2025-66566

Source
https://nvd.nist.gov/vuln/detail/CVE-2025-66566
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-66566.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-66566
Aliases
Downstream
Published
2025-12-05T18:10:16.470Z
Modified
2025-12-05T19:46:35.629493Z
Severity
  • 8.2 (High) CVSS_V4 - 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 CVSS Calculator
Summary
yawkat LZ4 Java has a possible information leak in Java safe decompressor
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.

Database specific
{
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
        "CWE-201"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/66xxx/CVE-2025-66566.json"
}
References

Affected packages

Git / github.com/yawkat/lz4-java

Affected ranges

Type
GIT
Repo
https://github.com/yawkat/lz4-java
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
{
    "versions": [
        {
            "introduced": "0"
        },
        {
            "fixed": "1.10.1"
        }
    ]
}

Affected versions

1.*

1.0.0
1.2.0
1.3.0
1.4.0
1.5.0
1.6.0
1.7.0
1.8.0

v1.*

v1.10.0
v1.8.1
v1.9.0

Database specific

vanir_signatures

[
    {
        "target": {
            "function": "test",
            "file": "src/test/net/jpountz/fuzz/LZ4DecompressorTest.java"
        },
        "signature_version": "v1",
        "digest": {
            "length": 1054.0,
            "function_hash": "120384121219046238735855334859084833993"
        },
        "source": "https://github.com/yawkat/lz4-java/commit/33d180cb70c4d93c80fb0dc3ab3002f457e93840",
        "deprecated": false,
        "signature_type": "Function",
        "id": "CVE-2025-66566-2eaacdb8"
    },
    {
        "target": {
            "file": "src/test/net/jpountz/lz4/OutOfBoundsTest.java"
        },
        "signature_version": "v1",
        "digest": {
            "line_hashes": [
                "173825067963435490388019139306739297557",
                "205859295753560845047735760234676917040",
                "129433699076768723534638852003180333571",
                "115483280490719684606324370993162730465",
                "119083431228384901755875613956702759122",
                "145097236631796874724440903087043942185",
                "289094052972441891433959848234512616124"
            ],
            "threshold": 0.9
        },
        "source": "https://github.com/yawkat/lz4-java/commit/33d180cb70c4d93c80fb0dc3ab3002f457e93840",
        "deprecated": false,
        "signature_type": "Line",
        "id": "CVE-2025-66566-9ce98955"
    },
    {
        "target": {
            "file": "src/java/net/jpountz/lz4/LZ4Utils.java"
        },
        "signature_version": "v1",
        "digest": {
            "line_hashes": [
                "321282337886416545546728696753071870848",
                "262688813786745826503034934910467092125",
                "61565001097904567890239849910750502429",
                "239119494430917890739100298884304333136"
            ],
            "threshold": 0.9
        },
        "source": "https://github.com/yawkat/lz4-java/commit/33d180cb70c4d93c80fb0dc3ab3002f457e93840",
        "deprecated": false,
        "signature_type": "Line",
        "id": "CVE-2025-66566-be74d44a"
    },
    {
        "target": {
            "file": "src/test/net/jpountz/fuzz/LZ4DecompressorTest.java"
        },
        "signature_version": "v1",
        "digest": {
            "line_hashes": [
                "324561787263254538416597954814363140142",
                "206663747815484678767844208055784144265",
                "291580148700922468522697978134992823773",
                "218950254024326757112247601614285221910",
                "442692941646249796446258501666505429",
                "199374037064538922402953234768125243602",
                "21252874995587230678546305811274544612",
                "120081871536598387292825633641255048638",
                "246942864896134681200181027032904561718",
                "340013821707098630171301926714882066494",
                "85584823818731887215139996830683774105",
                "182710299412140130017844510145164732179"
            ],
            "threshold": 0.9
        },
        "source": "https://github.com/yawkat/lz4-java/commit/33d180cb70c4d93c80fb0dc3ab3002f457e93840",
        "deprecated": false,
        "signature_type": "Line",
        "id": "CVE-2025-66566-c241322a"
    }
]