Description
Xerial snappy-java from 1.1.7.4 before 1.1.10.10 contains a double release vulnerability in SnappyFramedInputStream that returns pooled buffers twice when replacement allocation fails. Attackers can supply framed data with a large declared chunk length to trigger OutOfMemoryError, causing shared backing arrays that expose or overwrite other streams' decompressed data.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| xerial | snappy-java | 1.1.7.4 – < 1.1.10.10 | 1.1.10.10 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | snappy-java | No fix yet | — |
| Debian 13 | snappy-java | No fix yet | — |
| Debian 12 | snappy-java | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | snappy-java | No fix yet | — |
| Ubuntu 26.04 LTS | snappy-java | No fix yet | — |
| Ubuntu 24.04 LTS | snappy-java | No fix yet | — |
| Ubuntu 22.04 LTS | snappy-java | No fix yet | — |
| Ubuntu 20.04 LTS | snappy-java | No fix yet | — |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | snappy-java | No fix yet | — |
| Ubuntu 16.04 LTS | snappy-java | No fix yet | — |
| Ubuntu 14.04 LTS | snappy-java | No fix yet | — |
References
- GitHub Security Advisory (GHSA-c73m-r934-8qvg) vendor-advisory
- Patch Commit patch
- snappy-java v1.1.10.10 Release Notes release-notes
- https://github.com/xerial/snappy-java/blob/v1.1.10.9/src/main/java/org/xerial/snappy/SnappyFramedInputStream.java#L243 technical-description
- https://github.com/xerial/snappy-java product
- VulnCheck Advisory: Xerial snappy-java 1.1.7.4 before 1.1.10.10 Double Release of Pooled Buffers in SnappyFramedInputStream third-party-advisory