Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

redhat логотип

CVE-2026-59949

Опубликовано: 24 июл. 2026
Источник: redhat
EPSS Низкий

Описание

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.

A flaw was found in lz4-java. Insufficient validation of byte array arguments in its Java Native Interface (JNI)-based XXHash implementations allows an attacker to crash the Java Virtual Machine (JVM) by providing invalid input. This can lead to a denial of service, making the affected application unavailable. In some cases, this flaw could also lead to the exposure of in-process data due to out-of-bounds memory reads.

Отчет

A flaw was found in the lz4-java library's JNI-backed XXHash implementations. The native XXHash methods (hash32, hash64, streamingHash32, streamingHash64) obtained via XXHashFactory.nativeInstance() do not properly validate byte array arguments, offsets, and lengths before passing them to native code. An attacker able to control these parameters can pass null arrays or out-of-bounds ranges, causing a fatal JVM crash (denial of service) and potentially reading process memory beyond array bounds. The Java-based implementations obtained via XXHashFactory.safeInstance() or XXHashFactory.fastestJavaInstance() are not affected.

Меры по смягчению последствий

Use XXHashFactory.safeInstance() or XXHashFactory.fastestJavaInstance() instead of XXHashFactory.nativeInstance() to avoid the JNI boundary. Alternatively, validate that arrays are non-null and that offset and length parameters describe a range fully contained in the array before calling native XXHash methods.

Затронутые пакеты

ПлатформаПакетСостояниеРекомендацияРелиз
OpenShift Developer Tools and Servicesjenkins-2-pluginsUnder investigation
OpenShift Developer Tools and Servicesocp-tools-4/jenkins-rhel8Under investigation
OpenShift Developer Tools and Servicesocp-tools-4/jenkins-rhel9Under investigation
Red Hat build of Apache Camel 4 for Quarkus 3lz4-javaUnder investigation
Red Hat build of Apache Camel for Spring Boot 4liblz4-java.soUnder investigation
Red Hat build of Apache Camel for Spring Boot 4lz4-javaUnder investigation
Red Hat build of Apicurio Registry 3lz4-javaUnder investigation
Red Hat build of Debezium 3lz4-javaUnder investigation
Red Hat build of Quarkuslz4-javaAffected
Red Hat Enterprise Linux 8jmc:rhel8/lz4-javaUnder investigation

Показывать по

Дополнительная информация

Статус:

Moderate
Дефект:
CWE-125
https://bugzilla.redhat.com/show_bug.cgi?id=2510733lz4-java: lz4-java: Denial of Service via insufficient validation in XXHash JNI implementations

EPSS

Процентиль: 38%
0.00453
Низкий

Связанные уязвимости

CVSS3: 6.5
nvd
около 1 месяца назад

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.

CVSS3: 6.5
debian
около 1 месяца назад

yawkat LZ4 Java provides LZ4 compression for Java. Prior to 1.11.1, JN ...

CVSS3: 6.5
github
около 2 месяцев назад

LZ4 Java: Native XXHash implementations can crash the JVM when passed invalid byte array ranges

EPSS

Процентиль: 38%
0.00453
Низкий