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.

Severity (CVSS 4.0)6.3Medium
Exploit odds (30 days)0.5%top 55.2% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

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

EcosystemPackageFixed inAdvisory
Mavenio.airlift:aircompressor2.0.3GHSA-vx9q-rhv9-3jvg
Mavenio.airlift:aircompressor-v33.4GHSA-vx9q-rhv9-3jvg

Affected products (as reported)

VendorProductVersions
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