NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · Maven

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

highCVSS 4.0 8.2GHSA-vx9q-rhv9-3jvg

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.

Published Dec 12, 2025 · Updated Feb 25, 2026

Affected packages

io.airlift:aircompressor-v3

Ecosystem
Maven
Affected
< 3.4
Fixed in
3.4
Check
mvn dependency:tree -Dincludes=io.airlift:aircompressor-v3

io.airlift:aircompressor

Ecosystem
Maven
Affected
< 2.0.3
Fixed in
2.0.3
Check
mvn dependency:tree -Dincludes=io.airlift:aircompressor

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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

Credited to kyakdan, philippe-granet, lhotari.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More Maven vulnerabilities

All Maven entries