CVE-2026-116590: snappy-java: JVM crash from unchecked ranges in Snappy.arrayCopy and SnappyOutputStream.rawWrite

Published Oct 26, 2026
·
Updated

Impact Snappy.arrayCopy(Object src, int offset, int byteLength, Object dest, int destOffset) called a native memcpy without validating the ranges. A negative or oversized byteLength or offset read or wrote outside the arrays and crashed the JVM. SnappyOutputStream.rawWrite and SnappyInputStream.rawRead, and therefore the typed-array write/read methods, pass caller-supplied ranges to this method.

Patches Fixed in 1.1.10.9 (#741). Snappy.arrayCopy checks both ranges before copying. The stream read/write methods validate offsets and lengths, and reject typed-array ranges whose byte size overflows int.

Workarounds Validate offsets and lengths before calling these methods.

Other sources

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.

— MITRE

Affected Software

14 affected componentsFixes available
maven/org.xerial/snappy-java<1.1.10.9
maven/org.xerial.snappy:snappy-java<=1.1.10.8
1.1.10.9
ubuntu/snappy-java*
ubuntu/snappy-java*
ubuntu/snappy-java*
ubuntu/snappy-java*
ubuntu/snappy-java*
ubuntu/snappy-java*
ubuntu/snappy-java*
ubuntu/snappy-java*
debian/snappy-java*
debian/snappy-java*
debian/snappy-java*
debian/snappy-java<=1.1.8.3-1, <=1.1.10.7-1, <=1.1.10.12-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade maven/org.xerial.snappy:snappy-java to a version that resolves this vulnerability.

    Fixed in 1.1.10.9
  2. Upgrade

    Upgrade snappy-java to a version that resolves this vulnerability.

    Fixed in 1.1.10.9
  3. Compensating control

    Validate offsets and lengths before calling Snappy.arrayCopy, SnappyOutputStream.rawWrite, or SnappyInputStream.rawRead, including typed-array read/write methods.

Event History

Oct 26, 2026
CVE Published
via MITRE·09:48 PM
Data Sourced
via MITRE·09:48 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·10:16 PM
DescriptionSeverityWeakness
Oct 27, 2026
Advisory Published
via GitHub·03:33 PM
Data Sourced
via GitHub·03:33 PM
DescriptionSeverityWeaknessAffected Software
Oct 28, 2026
Data Sourced
via OSV·08:17 PM
Affected Software

Frequently Asked Questions

1

What conditions are required to trigger the JVM crash?

An attacker or untrusted caller must be able to supply range arguments reaching Snappy.arrayCopy, SnappyOutputStream.rawWrite, SnappyInputStream.rawRead, or their typed-array read/write methods. Exploitation relies on negative or oversized offsets or byte lengths, or on integer overflow in typed-array byte-size calculations.

2

Are applications using the affected APIs exposed by default?

Exposure depends on whether attacker-controlled input can influence the array ranges passed to these APIs. The vulnerability does not require authentication or user interaction, but the attack complexity is high.

3

What is the impact if exploitation succeeds?

Unchecked ranges are passed to native memcpy, allowing reads or writes outside Java array bounds and causing the JVM to crash. The stated impact is availability only; no confidentiality or integrity impact is listed.

4

How can I remediate this issue?

Upgrade snappy-java to version 1.1.10.9, which fixes the issue. If an immediate upgrade is not possible, prevent untrusted values from controlling offsets and lengths and validate that ranges are non-negative and remain within the relevant array bounds.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203