All vulnerabilities

Maven

CVE-2026-93451

snappy-java: Heap buffer overflow in Snappy.uncompress*Array typed-array methods

Severity
High 7.5
Published
27 Oct 2026
Last changed
27 Oct 2026
Added to UpHeron
23 Nov 2026
Fixed in
1.1.10.9
Exploit chance
0.3% in the next 30 daysHigher than 22% of CVEs. EPSS by FIRST, 24 Nov 2026
Weakness
CWE-193Out-of-bounds write (CWE-787)
Attack
Over the network · No login needed · No user action needed
Attacker can
Take it down
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Also known as
GHSA-gwq9-9ffj-mvrv
Sources
OSV.dev and GitHub

Description

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.

From the GitHub Advisory Database, CC BY 4.0.

Workarounds

Check that Snappy.uncompressedLength(input) is a multiple of the element size before calling these methods.

Workarounds as given by the GitHub Advisory Database, CC BY 4.0.

Affected software

SoftwareAffected versions
org.xerial.snappy:snappy-javaMaven · osv:Maven:org.xerial.snappy:snappy-java
  • Every version before 1.1.10.9

About org.xerial.snappy:snappy-java

Vulnerabilities in org.xerial.snappy:snappy-java

In our list
3
Published in the last 12 months
3
Critical, last 12 months
0
High, last 12 months
2
Known exploited
0
Search the list for org.xerial.snappy:snappy-java

References