OESA-2026-4888: snappy-java security update
A Java port of the snappy, a fast compresser/decompresser written in C++. Security Fix(es):
snappy-java is a Java port of the snappy, a fast C++ compresser/decompresser developed by Google. Prior to 1.1.10.9, Snappy.arrayCopy(Object src, int offset, int byteLength, Object dest, int destOffset) passes caller-supplied ranges to native memcpy without validating either array, allowing negative or oversized byteLength and offset values to read or write outside array bounds and crash the JVM. SnappyOutputStream.rawWrite and SnappyInputStream.rawRead, including their typed-array write and read methods, pass caller-controlled ranges through this primitive, and typed-array byte-size calculations can overflow int. This issue is fixed in version 1.1.10.9.(CVE-2026-116590)
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
openeuler/snappy-javato a version that resolves this vulnerability.Fixed in 1.1.2.4-6.oe2403sp3 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 1.1.10.9
Event History
Frequently Asked Questions
Who is exposed to this issue?
Applications using snappy-java before 1.1.10.9 are exposed if untrusted or otherwise caller-controlled range values can reach Snappy.arrayCopy, SnappyOutputStream.rawWrite, SnappyInputStream.rawRead, or their typed-array read and write methods.
What does an attacker need to trigger the vulnerability?
An attacker must be able to supply or influence offsets or byte lengths passed to the affected APIs. Exploitation relies on negative or oversized range values, and typed-array operations may also be affected by integer overflow in byte-size calculations.
What is the impact of successful exploitation?
The affected native memcpy call can read or write outside Java array bounds. The described impact is a JVM crash, resulting in denial of service.
What version fixes the issue?
Upgrade snappy-java to version 1.1.10.9 or later. Versions prior to 1.1.10.9 are described as affected.