---
id: "GHSA-94x4-5g3f-jjxp"
kind: "vulnerability"
aliases: ["GHSA-94x4-5g3f-jjxp"]
title: "Duplicate Advisory: snappy-java: Unbounded memory allocation from attacker-declared uncompressed lengtha"
severity: "high"
cvss: 7.5
epss: null
exploited: false
status: "withdrawn"
category: "package"
products: [{"name": "org.xerial.snappy:snappy-java", "fixed": [], "affected": "< 1.1.10.9", "ecosystem": "maven"}]
ecosystems: ["maven"]
tags: ["cwe-789", "java", "jvm", "maven", "package", "snappy-java"]
not_affected_if: ["no-untrusted-input"]
published_at: "2026-10-09T15:31:33+00:00"
first_seen_at: "2026-10-27T15:34:04+00:00"
updated_at: "2026-10-27T15:35:38+00:00"
sources: [{"source": "ghsa", "url": "https://github.com/advisories/GHSA-94x4-5g3f-jjxp", "first_seen_at": "2026-10-27T15:34:04+00:00"}]
---

# Duplicate Advisory: snappy-java: Unbounded memory allocation from attacker-declared uncompressed lengtha

snappy-java before 1.1.10.9 trusts an uncompressed length declared inside compressed input and allocates up to 2 GB for it. A few crafted bytes passed to decompression calls can cause OutOfMemoryError and a denial of service.

_Summary, check and fix written by a model from the sources; labelled as such._

## Affected

- maven:org.xerial.snappy:snappy-java affected < 1.1.10.9 fixed ?

## How to check

- Check the snappy-java version in the project's build file or dependency tree, for example `mvn dependency:tree | grep snappy-java`
- Look for calls to `Snappy.uncompress`, `Snappy.uncompressString`, `SnappyInputStream` or `SnappyFramedInputStream` that handle untrusted input

## Fix

- Upgrade `org.xerial.snappy:snappy-java` to `1.1.10.9` or later, as the advisory's fixed version (the advisory itself is withdrawn as a duplicate of GHSA-q233-g92q-qxp6)

## Timeline

- 2026-10-27T15:34:04+00:00 ghsa https://github.com/advisories/GHSA-94x4-5g3f-jjxp

## From the sources

## Duplicate Advisory

This advisory has been withdrawn because it is a duplicate of GHSA-q233-g92q-qxp6. This link is maintained to preserve external references.

## Original Description
Xerial snappy-java before 1.1.10.9 contains an unbounded memory allocation vulnerability that allows attackers to exhaust JVM memory by declaring a large uncompressed length in compressed input. Attackers can supply a few crafted bytes to Snappy.uncompress, uncompressString, SnappyInputStream or SnappyFramedInputStream to force allocations up to 2 GB, causing OutOfMemoryError and denial of service.

---

_Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai_
