Intel

AIKIDO-2026-814052

snappy-java is vulnerable to Double Free

CVE-2026-108104Published Nov 1, 2026
November 1, 2026

87

CVE Score

High

Double Free

Are you affected? Scan for Free

TL;DR

Before the fix, SnappyFramedInputStream returned its buffers to the shared buffer pool before allocating larger replacements and kept referencing them when the allocation failed, so close() released the same buffers a second time. Anyone who can feed the stream x-snappy-framed data can declare a large uncompressed chunk length to force an OutOfMemoryError; the default CachingBufferPool does not detect duplicates, so another stream can receive the same backing array and read or overwrite a different stream's decompressed data. The risk applies whenever framed data from parties you do not trust is decompressed with the default pooled constructors. The fix clears each buffer field immediately after releasing it, so a failed allocation can no longer cause a second release.

How do I fix this?

Upgrade the org.xerial.snappy:snappy-java package to 1.1.10.10 or later.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and decompress x-snappy-framed data from parties you do not fully trust using SnappyFramedInputStream with its default caching buffer pool.

Versions

1.1.7.4 - 1.1.10.9

Fixed in 1.1.10.10

Background info

snappy-java is vulnerable to Double Free in versions 1.1.7.4 - 1.1.10.9.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea