Vulnerability · Published Dec 12, 2025 · Assigned by GitHub_M
CVE-2025-67721Aircompressor's Snappy and LZ4 Java-based decompressor implementation can leak information from reused output buffer
Medium 6.3
In plain English
A medium-severity out-of-bounds read in aircompressor from airlift. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 45% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
Aircompressor is a library with ports of the Snappy, LZO, LZ4, and Zstandard compression algorithms to Java. In versions 3.3 and below, incorrect handling of malformed data in Java-based decompressor implementations for Snappy and LZ4 allow remote attackers to read previous buffer contents via crafted compressed input. With certain crafted compressed inputs, elements from the output buffer can end up in the uncompressed output, potentially leaking sensitive data. 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. There is similar vulnerability in GHSA-cmp6-m4wj-q63q. This issue is fixed in version 3.4.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Maven | io.airlift:aircompressor | 2.0.3 | GHSA-vx9q-rhv9-3jvg |
| Maven | io.airlift:aircompressor-v3 | 3.4 | GHSA-vx9q-rhv9-3jvg |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| airlift | aircompressor | < 3.4 |
Weakness: CWE-201, CWE-125 · Vector: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
References
- https://github.com/airlift/aircompressor/security/advisories/GHSA-vx9q-rhv9-3jvg x_refsource_CONFIRM
- https://github.com/airlift/aircompressor/commit/f2b489b398779b40c1ee29ddb11d7edef54ddc15 x_refsource_MISC
- https://github.com/airlift/aircompressor/commit/ff12c4d5757c9d6d1de3d39a10402f1f84f9b765 x_refsource_MISC