snappy-java: Heap buffer overflow in Snappy.uncompress*Array typed-array methods
CVE-2026-93451 · GHSA-gwq9-9ffj-mvrv · published 27 Oct 2026
How serious is it
- Severity: high, CVSS score 7.5 out of 10.
- No exploit prediction (EPSS) score yet.
- Not on the CISA list of exploited vulnerabilities.
- No public exploit in Exploit-DB.
Is your app affected by CVE-2026-93451?
Paste this prompt into Claude Code, Cursor or any AI coding tool: it runs a free Shippable scan of your project and fixes what it finds. Built with Lovable, Bolt or v0? Scan your live app. Or upload your package file.
Who is affected
org.xerial.snappy:snappy-java(Maven) <= 1.1.10.8
How to check
- Look for
org.xerial.snappy:snappy-javain your lockfile and compare its version with the range above. - Or paste your lockfile into the checker: it lists every package with a known vulnerability, this one included.
How to fix
Copies a prompt for Claude Code, Cursor or Codex: it checks your lockfiles for this and upgrades it.
- Upgrade
org.xerial.snappy:snappy-javato 1.1.10.9 or later, commit the lockfile and redeploy. - If a vulnerable version was live, check your logs and rotate the secrets that server could read.
The advisory
### Impact
`Snappy.uncompressCharArray`, `uncompressShortArray`, `uncompressIntArray`, `uncompressLongArray`, `uncompressFloatArray` and `uncompressDoubleArray` sized the result array by dividing the declared uncompressed byte length by the element size, but native code wrote the full byte length. If the declared length is not a multiple of the element size, up to 7 bytes are written past the end of the Java array, corrupting the heap.
### Patches
Fixed in 1.1.10.9 ([#739](https://github.com/xerial/snappy-java/pull/739)). These methods now reject uncompressed lengths that are not a multiple of the element size with `SnappyIOException`.
### Workarounds
Check that `Snappy.uncompressedLength(input)` is a multiple of the element size before calling these methods.
Check your whole app
Dependencies are only half of it. Free and read-only: before you push, run npx shippable-dev scan localhost:3000 in your project folder, no account needed. For your live app, you prove it's yours with a one-line tag first.
References
- github.com/xerial/snappy-java/security/advisories/GHSA-gwq9-9ffj-mvrv
- nvd.nist.gov/vuln/detail/CVE-2026-93451
- github.com/xerial/snappy-java/issues/729
- github.com/xerial/snappy-java/pull/739
- github.com/xerial/snappy-java/commit/943c6043a292568575e8347af4507d015e802c75
- github.com/xerial/snappy-java/blob/v1.1.10.8/src/main/java/org/xerial/snappy/Snappy.java#L802
- github.com/xerial/snappy-java/releases/tag/v1.1.10.9
- www.vulncheck.com/advisories/snappy-java-through-1.1.10.8-buffer-overflow-via-typed-uncompress-methods
- github.com/advisories/GHSA-gwq9-9ffj-mvrv
- github.com/xerial/snappy-java
Merged from GitHub Advisory Database, OSV. Last updated 28 Oct 2026. All vulnerabilities · RSS · JSON