Description
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.
Published: 2026-10-26
Score: 5.9 Medium
EPSS: n/a
KEV: No
Impact: Denial of Service (JVM crash)
Action: Apply Patch
AI Analysis

Impact

snappy-java contains a flaw in Snappy.arrayCopy where caller supplied ranges are passed directly to native memcpy without validating array bounds. The flaw allows negative or oversized byteLength and offset values to read or write outside array bounds, causing a JVM crash. The crash leads to denial of service for any application that uses the affected Snappy functions, potentially impacting server availability.

Affected Systems

The vulnerability affects the xerial snappy-java library for all Java applications using versions prior to 1.1.10.9. The specific functions impacted are Snappy.arrayCopy(Object, int, int, Object, int), SnappyOutputStream.rawWrite, and SnappyInputStream.rawRead and their typed-array variants. The remedy applies to any environment that has the library installed; no hardware or OS specific constraints are listed.

Risk and Exploitability

The CVSS score of 5.9 indicates a medium severity and the EPSS score is not reported, so the likelihood of exploitation is unknown. The vulnerability is not listed in CISA KEV, suggesting no known public exploitation at the time. The flaw can be triggered by any caller that provides suspicious ranges, so any code that constructs Snappy compression or decompression data may be able to cause a crash. Attack vectors are likely local exploitation where the library is used with untrusted input, or remote if the application exposes the library to external data.

Generated by OpenCVE AI on October 27, 2026 at 08:15 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade xerial snappy-java to version 1.1.10.9 or later where the bounds check has been added.
  • Audit all uses of Snappy.arrayCopy, SnappyOutputStream.rawWrite, and SnappyInputStream.rawRead in the codebase and add defensive checks for valid ranges before calling these methods.
  • Monitor application logs for JVM crashes or abnormal termination, and implement application-level watchdog or graceful restart mechanisms to mitigate downtime if an upgrade is delayed.

Generated by OpenCVE AI on October 27, 2026 at 08:15 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 27 Oct 2026 07:00:00 +0000

Type Values Removed Values Added
First Time appeared Xerial
Xerial snappy-java
Vendors & Products Xerial
Xerial snappy-java

Tue, 27 Oct 2026 04:30:00 +0000

Type Values Removed Values Added
Description 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.
Title snappy-java: JVM crash from unchecked ranges in Snappy.arrayCopy and SnappyOutputStream.rawWrite
Weaknesses CWE-129
CWE-787
References
Metrics cvssV3_1

{'score': 5.9, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H'}


Subscriptions

Xerial Snappy-java
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-10-26T21:48:15.468Z

Reserved: 2026-10-26T15:03:39.036Z

Link: CVE-2026-116590

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-26T22:16:55.637

Modified: 2026-10-26T22:16:55.637

Link: CVE-2026-116590

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-27T08:30:13Z

Weaknesses
  • CWE-129

    Improper Validation of Array Index

  • CWE-787

    Out-of-bounds Write