High

aircompressor Snappy and LZ4 Java-based decompressor implementation can leak information from reused output buffer

  • Disclosed: 12.12.2025
  • Updated: 11.10.2026 13:20

Summary

Incorrect handling of malformed data in Java-based decompressor implementations for Snappy and LZ4 allows remote attackers to read previous buffer contents via crafted compressed input. In applications where the output buffer is reused without being cleared, this may lead to disclosure of sensitive data.

Details

With certain crafted compressed inputs, elements from the output buffer can end up in the uncompressed output. This is relevant for applications that reuse the same output buffer to uncompress multiple inputs. This can be the case of a web server that allocates a fix-sized buffer for performance purposes. This is similar to GHSA-cmp6-m4wj-q63q.

Impact

Applications using aircompressor as described above may leak sensitive information to external unauthorized attackers.

Mitigation

The vulnerability is fixed in release 3.4 and 2.0.3. However, it can be mitigated by either:

  • Avoiding reuse of the decompression buffer across calls
  • Clearing the decompression buffer before a call to decompress data

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Java / Kotlin (Maven) io.airlift:aircompressor < 2.0.3 2.0.3
Java / Kotlin (Maven) io.airlift:aircompressor-v3 < 3.4 3.4

References

CVSS score -
CVSS vector
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
Weakness (CWE)
CWE-125, CWE-201
Platform
Java / Kotlin (Maven)
Package
io.airlift:aircompressor, io.airlift:aircompressor-v3
Disclosed
12.12.2025
Updated
11.10.2026 13:20

Sources and licenses

OSV / GitHub Advisory Database - GHSA-vx9q-rhv9-3jvg - CC BY 4.0

Vulnerability history: io.airlift:aircompressor

All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.

Total entries
2
First → latest
06.2024 12.2025
Without a fix
0
Exploited in attacks
0

Severity breakdown

  • High 2

Disclosures per year

  1. 2024: 1
  2. 2025: 1
  3. 2026: 0
  1. aircompressor Snappy and LZ4 Java-based decompressor implementation can leak information from reused output buffer this entry
    High CVE-2025-67721 < 2.0.3 2.0.3

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.