Description
snappy-java through 1.1.10.8 contains a buffer overflow vulnerability in Snappy.compress(ByteBuffer, ByteBuffer) that writes past the end of the destination buffer. Attackers can supply incompressible data that exceeds the destination buffer's remaining capacity, corrupting off-heap memory and causing JVM termination.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| xerial | snappy-java | ≤ 1.1.10.8 | — |
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.
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 Issue #732 issue-tracking
- https://github.com/xerial/snappy-java/blob/v1.1.10.8/src/main/java/org/xerial/snappy/Snappy.java#L137 technical-description
- https://github.com/xerial/snappy-java product
- VulnCheck Advisory: snappy-java through 1.1.10.8 Buffer Overflow in Snappy.compress third-party-advisory