Skip to main content

snappy-java CVE-2026-90559

| EUVDEUVD-2026-76904 HIGH
Out-of-bounds Write (CWE-787)
2026-09-12 VulnCheck GHSA-mrhq-xxpp-qf7j
8.7
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft valid Snappy payload with oversized uncompressed-length header
  2. Delivery
    deliver to network-accessible application endpoint
  3. Exploit
    application calls Snappy.uncompress(ByteBuffer, ByteBuffer) with undersized destination
  4. Execution
    native JNI decompressor writes past buffer boundary in off-heap memory
  5. Impact
    JVM fatal crash terminates service process

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, write limits
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Privilege Escalation

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires that the target application calls the specific Snappy.uncompress(ByteBuffer, ByteBuffer) two-argument overload with a caller-provided destination ByteBuffer whose capacity is smaller than the payload's declared or actual decompressed size, and that the attacker controls the compressed input supplied to that code path. Applications that exclusively use the single-argument uncompress variants - which auto-allocate output buffers - are not affected. The attack requires no authentication (PR:N per CVSS), no user interaction (UI:N), and the malicious payload is structurally valid Snappy-compressed data that passes any upstream format validation. The principal limiting factor is code-path exposure: only applications that directly exercise the two-argument ByteBuffer overload on network-sourced or otherwise attacker-controlled compressed data are vulnerable. Internal or trusted-only compression pipelines that never accept externally supplied compressed bytes are not at risk.

Impact

The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N/VA:H) scores 8.7 and accurately characterises a network-reachable, zero-interaction, unauthenticated denial-of-service condition. Attack complexity is genuinely low: Snappy's compressed format includes a plaintext uncompressed-length prefix, so constructing a payload whose declared decompressed size exceeds any plausible fixed-size destination buffer requires only basic knowledge of the Snappy specification, not exploitation expertise. EPSS data is absent from the provided input, and there is no CISA KEV listing, so exploitation probability is inferred from attack-vector characteristics rather than observed telemetry. No public POC has been released. Despite the lack of confirmed exploitation, the vulnerability's technical simplicity means it should be treated as practically exploitable wherever the affected overload is called on untrusted input. The confidentiality and integrity impact is correctly assessed as none - this is a pure availability flaw. However, for applications using snappy-java for streaming or RPC decompression in Kafka, Cassandra, or Hadoop deployments, a single malicious frame terminates the JVM process, making this a meaningful operational risk in those ecosystems. No fix version is confirmed in the available data.

Exploit ScenarioDerived

An attacker submits a crafted Snappy-compressed frame - structurally valid per the format specification but embedding an uncompressed-length header of, for example, 256 MB - to an application endpoint that allocates a fixed-size 64 KB destination ByteBuffer and calls Snappy.uncompress(ByteBuffer, ByteBuffer). The native decompressor begins writing output past the destination buffer's allocated native memory region, triggering a fatal memory access violation inside the JVM and immediately terminating the process. No public POC has been released, but the attack is straightforwardly constructible from the Snappy wire-format specification alone.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Sep 12, 2026

Out-of-bounds write in snappy-java through 1.1.10.8 allows unauthenticated remote attackers to crash the JVM by supplying valid compressed data whose decompressed size exceeds the caller-provided destination ByteBuffer capacity. The Snappy.uncompress(ByteBuffer, ByteBuffer) method passes the destination buffer directly to the native Snappy decompressor via JNI without first asserting that its capacity can accommodate the full decompressed output, causing native-layer writes past the buffer boundary and abrupt JVM process termination. No public exploit code or active exploitation has been identified at time of analysis, but the attack is trivially constructible by any attacker familiar with the Snappy wire format against applications that process untrusted compressed input through this specific API overload.

RemediationAI

No vendor-released patch has been identified at time of analysis. Monitor the upstream GitHub issue at https://github.com/xerial/snappy-java/issues/728 for a fix release. As a primary compensating control, avoid calling the two-argument Snappy.uncompress(ByteBuffer, ByteBuffer) overload with a caller-allocated destination buffer against any untrusted input; substitute the single-argument Snappy.uncompress(byte[]) or Snappy.uncompress(ByteBuffer) variants, which internally allocate a fresh output buffer sized to the declared decompressed length and are not subject to this truncation. If the two-argument form is retained for zero-copy performance reasons, pre-validate the destination capacity by calling Snappy.uncompressedLength(src) before invoking uncompress, and reject or re-allocate when the declared decompressed size exceeds an application-defined maximum - noting that this adds a second parse of the compressed header and may affect latency-sensitive paths. As a resilience measure, deploy JVM process supervision (e.g., systemd restart policies, Kubernetes liveness probes) to minimise downtime from successful exploitation, though this does not prevent the crash itself.

Affected VersionsENISA

snappy-java 0 ≤1.1.10.8

Affected Packages

euvd snappy_java no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

snappy-java (CPE: cpe:2.3:a:xerial:snappy-java) is Xerial's Java binding for Google's Snappy compression algorithm, implemented via JNI to invoke native compiled Snappy routines for performance-sensitive workloads. The vulnerability (CWE-787: Out-of-Bounds Write) is located in the two-argument Snappy.uncompress(ByteBuffer, ByteBuffer) overload, pinpointed at Snappy.java line 561 in the v1.1.10.8 source tree. When the caller supplies a pre-allocated destination ByteBuffer - typically a direct (off-heap) buffer - the method forwards it to the native decompressor without asserting that dst.capacity() >= uncompressedLength. The Snappy wire format embeds an uncompressed-length varint header, meaning the decompressor knows the target size before writing, but that value is never cross-checked against the Java-side buffer's capacity. The resulting native write beyond the allocated region violates JVM memory safety, triggering a fatal crash. Because the native heap is involved (direct ByteBuffers map to off-heap memory), Java's normal array-bounds checks do not apply, and the JVM cannot recover gracefully.

Know when Java gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 8.7 HIGH
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
vuln.today AI 7.5 HIGH

Network-reachable with no privileges or interaction required; sole impact is availability (JVM crash), no confidentiality or integrity effect.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Red Hat 7.5 HIGH

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

snappy-java through 1.1.10.8 contains an out-of-bounds write vulnerability in Snappy.uncompress(ByteBuffer, ByteBuffer) because destination buffer capacity is never validated against decompressed size. Attackers can supply valid compressed data that decompresses larger than the destination buffer, causing writes past buffer boundaries and JVM termination.

Executive ViewAI

Why It Matters

snappy-java versions through 1.1.10.8 contain an out-of-bounds write vulnerability allowing unauthenticated remote attackers to crash the Java Virtual Machine by supplying crafted compressed data, resulting in immediate denial of service to dependent applications. Organizations using this library to process untrusted or externally-sourced compressed content face significant risk of service unavailability in production environments.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: (1) Implement application-level input validation; reject compressed data from untrusted sources and enforce strict limits on decompressed output size before processing; (2) Switch to snappy-java's byte-array API (Snappy.uncompress(byte[])) with pre-allocated buffers of known capacity instead of the vulnerable ByteBuffer overload; (3) Configure process-level resource limits (JVM heap ceiling, ulimits) to contain JVM crash blast radius and enable automatic restart on unhandled crashes; (4) Deploy affected services behind load balancers with connection timeouts and circuit-breaker logic to prevent cascading failures; (5) Implement continuous monitoring of JVM process restart rates and alert on unusual patterns indicative of exploitation attempts.

Threat Intelligence Overview

EPSS Score
0.4%
Top 72% exploitable
Prevalence
High
widely embedded in Kafka, Hadoop, Cassandra, and Spark ecosystems
Social Media
1
Sightings
Data Quality
8 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor CIRCL GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.4%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

Memory corruption occurs when a program writes data beyond the boundaries of allocated memory regions or accesses memory in unintended ways, violating the integrity of the process's address space.

More in Java

View all
CVE-2012-4681 CRITICAL POC
9.8 Aug 28

Oracle Java SE 7 Update 6 and earlier contains multiple sandbox bypass vulnerabilities via the ClassFinder and forName m

CVE-2015-7450 CRITICAL POC
9.8 Jan 02

Remote code execution in IBM Sterling B2B Integrator, Sterling Integrator, and Tivoli Common Reporting allows unauthenti

CVE-2013-2465 CRITICAL POC
9.8 Jun 18

Java Runtime Environment sandbox bypass via incorrect image channel verification in 2D component allows remote unauthent

CVE-2011-3544 CRITICAL POC
9.8 Oct 19

Oracle Java SE JDK/JRE 7 and 6 Update 27 and earlier allows remote code execution with complete system compromise throug

CVE-2010-1871 HIGH POC
8.8 Aug 05

JBoss Seam 2 in Red Hat JBoss EAP 4.3.0 fails to sanitize JBoss Expression Language inputs, allowing remote attackers to

CVE-2012-1723 CRITICAL POC
9.8 Jun 16

Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 update 4 and earlier, 6 up

CVE-2013-0422 CRITICAL POC
9.8 Jan 10

Multiple vulnerabilities in Oracle Java 7 before Update 11 allow remote attackers to execute arbitrary code by (1) using

CVE-2012-0507 CRITICAL POC
9.8 Jun 07

Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 2 and earlier, 6 Up

CVE-2015-4852 CRITICAL POC
9.8 Nov 18

The WLS Security component in Oracle WebLogic Server 10.3.6.0, 12.1.2.0, 12.1.3.0, and 12.2.1.0 allows remote attackers

CVE-2012-5076 CRITICAL POC
9.8 Oct 16

Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 7 and earlier allow

CVE-2017-3066 CRITICAL POC
9.8 Apr 27

Remote unauthenticated attackers can execute arbitrary code on Adobe ColdFusion servers through Java deserialization fla

CVE-2012-0391 CRITICAL POC
9.8 Jan 08

The ExceptionDelegator component in Apache Struts before 2.2.3.1 interprets parameter values as OGNL expressions during

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy