# CVE-2026-59949: yawkat LZ4 Java: JVM Crash via Null Byte Array in lz4-java Streaming XXHash JNI (StreamingXXHash32JNI / StreamingXXHash64JNI)

- Severity: Medium 6.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.48%, higher than 43% of CVEs (2026-12-01)
- Published: 2026-07-24T16:13:41.000Z
- Modified: 2026-10-22T22:10:00.250Z
- Also known as: GHSA-xx22-p4ch-683r
- Weaknesses: CWE-125, CWE-476
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

yawkat LZ4 Java provides LZ4 compression for Java. Prior to 1.11.1, JNI-backed XXHash implementations fail to validate the byte array object and the off and len arguments in XXHashFactory.nativeInstance().hash32().hash(), XXHashFactory.nativeInstance().hash64().hash(), XXHashFactory.nativeInstance().newStreamingHash32().update(), and XXHashFactory.nativeInstance().newStreamingHash64().update(), allowing null arrays or oversized ranges to reach native code, read outside the Java array, and fatally terminate the JVM. This issue is fixed in version 1.11.1.

(As written by CVE List.)

## Affected

- yawkat lz4-java: < 1.11.1
- at.yawk.lz4:lz4-java (Maven): before 1.11.1
- org.lz4:lz4-java (Maven): up to 1.8.1

## Every score

- GitHub_M: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:H`
- GitHub: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:H`

## References

- <https://github.com/yawkat/lz4-java/security/advisories/GHSA-xx22-p4ch-683r> (web)
- <https://github.com/yawkat/lz4-java/commit/dbd86d04b8dd716e1c2bc626be54189997d910da> (web)
- <https://github.com/yawkat/lz4-java/releases/tag/v1.11.1> (web)
- <https://github.com/yawkat/lz4-java> (package)

## Sources

- CVE List: [CVE-2026-59949](https://www.cve.org/CVERecord?id=CVE-2026-59949), CVE Terms of Use, modified 2026-08-18
- GitHub Advisory Database: [GHSA-xx22-p4ch-683r](https://github.com/advisories/GHSA-xx22-p4ch-683r), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-59949](https://nvd.nist.gov/vuln/detail/CVE-2026-59949), Public domain, modified 2026-10-22

---

Page: https://cve.day/CVE-2026-59949 · Whole record: https://cve.day/CVE-2026-59949.json · Rebuilt by cve.day 2026-11-25T22:59:33.476Z
