CVE-2025-67721: Aircompressor v3 Aircompressor Snappy And LZ4 Java-based Vulnerability
HIGHCVE-2025-67721 is a HIGH aircompressor snappy and lz4 java-based vulnerability (CWE-125: Out-of-bounds Read) affecting Aircompressor v3 libraries in the Maven ecosystem. The issue involves aircompressor snappy and lz4 java-based decompressor implementation can leak information from reused output buffer. Remediation is available by upgrading affected packages to version 3.4, 2.0.3.
CVE-2025-67721 at a Glance
How to Fix CVE-2025-67721
To remediate this vulnerability, upgrade all affected Aircompressor v3 dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
<dependency>
<groupId>io.airlift</groupId>
<artifactId>aircompressor-v3</artifactId>
<version>3.4</version>
</dependency>
<dependency>
<groupId>io.airlift</groupId>
<artifactId>aircompressor</artifactId>
<version>2.0.3</version>
</dependency>
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
mvn dependency:tree -Dincludes=io.airlift
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2025-67721, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=io.airlift
Analyze the terminal output to locate any version of Aircompressor v3 in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 3.4), your application is affected.
Note: The mvn dependency:tree -Dincludes=io.airlift command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-125: Out-of-bounds Read, where the product reads data past the end, or before the beginning, of the intended buffer. In Aircompressor v3, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2025-67721 Affected Aircompressor v3 Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
io.airlift:aircompressor-v3
|
Maven |
< 3.4
|
3.4
|
|
io.airlift:aircompressor
|
Maven |
< 2.0.3
|
2.0.3
|
References
Frequently Asked Questions
What is CVE-2025-67721?
Which Aircompressor v3 versions are affected?
What version fixes CVE-2025-67721?
Is aircompressor-v3 affected?
Is aircompressor affected?
What CWE is associated with CVE-2025-67721?
How can I check Maven dependencies for CVE-2025-67721?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-vx9q-rhv9-3jvg",
"modified" : "2026-02-25T15:32:27Z",
"published" : "2025-12-12T22:12:22Z",
"aliases" : [ "CVE-2025-67721" ],
"summary" : "aircompressor Snappy and LZ4 Java-based decompressor implementation can leak information from reused output buffer",
"details" : "### Summary\nIncorrect 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.\n\n### Details\nWith 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](https://github.com/yawkat/lz4-java/security/advisories/GHSA-cmp6-m4wj-q63q).\n\n### Impact\nApplications using aircompressor as described above may leak sensitive information to external unauthorized attackers.\n\n### Mitigation\n\nThe vulnerability is fixed in release 3.4 and 2.0.3. However, it can be mitigated by either:\n* Avoiding reuse of the decompression buffer across calls\n* Clearing the decompression buffer before a call to decompress data",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "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"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "io.airlift:aircompressor-v3"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "3.4"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "io.airlift:aircompressor"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "2.0.3"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/airlift/aircompressor/security/advisories/GHSA-vx9q-rhv9-3jvg"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-67721"
}, {
"type" : "WEB",
"url" : "https://github.com/airlift/aircompressor/pull/309"
}, {
"type" : "WEB",
"url" : "https://github.com/airlift/aircompressor/commit/f2b489b398779b40c1ee29ddb11d7edef54ddc15"
}, {
"type" : "WEB",
"url" : "https://github.com/airlift/aircompressor/commit/ff12c4d5757c9d6d1de3d39a10402f1f84f9b765"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/airlift/aircompressor"
}, {
"type" : "WEB",
"url" : "https://github.com/airlift/aircompressor/releases/tag/2.0.3"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-125", "CWE-201" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2025-12-12T22:12:22Z",
"nvd_published_at" : "2025-12-12T23:15:42Z"
}
}