MediumGHSA-xqrx-qh46-34m7CVE-2026-116590

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

Published 27 Oct 2026 · Updated 27 Oct 2026

Is your project on an affected org.xerial.snappy:snappy-java?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Java apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Affected package

Affected
<1.1.10.9
Fixed in
1.1.10.9
Update to the fixed version for your release line, for example:mvn versions:use-dep-version -Dincludes=org.xerial.snappy:snappy-java -DdepVersion=1.1.10.9 -DforceVersion=true

Details

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.

Is GHSA-xqrx-qh46-34m7 in any of your client repos?

Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected org.xerial.snappy:snappy-java, and gives you the command that fixes it.

More advisories for org.xerial.snappy:snappy-java

  • HighCVE-2026-93451snappy-java: Heap buffer overflow in Snappy.uncompress*Array typed-array methods · 27 Oct 2026
  • HighCVE-2026-108106snappy-java: Unbounded memory allocation from attacker-declared uncompressed lengtha · 27 Oct 2026
  • HighCVE-2023-43642snappy-java's missing upper bound check on chunk length can lead to Denial of Service (DoS) impact · 25 Sept 2023
  • HighCVE-2023-34455snappy-java's unchecked chunk length leads to DoS · 15 Jun 2023
  • MediumCVE-2023-34454snappy-java's Integer Overflow vulnerability in compress leads to DoS · 15 Jun 2023
  • MediumCVE-2023-34453snappy-java's Integer Overflow vulnerability in shuffle leads to DoS · 15 Jun 2023
org.xerial.snappy:snappy-java security overview

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.