snappy-java through 1.1.10.8 contains a buffer overflow vulnerability in typed Snappy.uncompress*Array methods that allocate output arrays by dividing uncompressed length by element size but pass the undivided length to native code. Attackers controlling compressed input can cause misaligned length values to write past array bounds with attacker-controlled bytes, corrupting heap memory.
https://github.com/xerial/snappy-java/security/advisories/GHSA-gwq9-9ffj-mvrv
https://github.com/xerial/snappy-java/releases/tag/v1.1.10.9
https://github.com/xerial/snappy-java/pull/739
https://github.com/xerial/snappy-java/issues/729
https://github.com/xerial/snappy-java/commit/943c6043a292568575e8347af4507d015e802c75
Published: 2026-09-18
Updated: 2026-10-08
Named Vulnerability: GHSA-wm36-87w8-wg22Named Vulnerability: GHSA-gwq9-9ffj-mvrv
Base Score: 7.8
Vector: CVSS2#AV:N/AC:L/Au:N/C:N/I:N/A:C
Severity: High
Base Score: 6.5
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L
Severity: Medium
Base Score: 6.9
Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N
Severity: Medium
EPSS: 0.00296