Vulnerabilities in pkg:maven/io.airlift/aircompressor-v3

PACKAGE
Advisory Identifier: GHSA-vx9q-rhv9-3jvg
Advisory Summary

CVE-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.

1 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:maven/io.airlift/aircompressor-v3

1 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:maven/io.airlift/aircompressor-v3. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-vx9q-rhv9-3jvg CVE-2025-67721 HIGH aircompressor Snappy and LZ4 Java-based decompressor implementation can leak information from reused output buffer

CVE-2025-67721 at a Glance

CVE Identifier CVE-2025-67721
GHSA Identifier GHSA-vx9q-rhv9-3jvg
Severity HIGH
CVSS v3.1 Base Score N/A
CWE Classification CWE-125: Out-of-bounds Read
Affected Product Aircompressor v3
Package Ecosystem Maven
Published Date
Last Updated

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.

io.airlift:aircompressor-v3 fixed: 3.4
<dependency>
    <groupId>io.airlift</groupId>
    <artifactId>aircompressor-v3</artifactId>
    <version>3.4</version>
</dependency>
io.airlift:aircompressor fixed: 2.0.3
<dependency>
    <groupId>io.airlift</groupId>
    <artifactId>aircompressor</artifactId>
    <version>2.0.3</version>
</dependency>
Verify Direct and Transitive Dependencies

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

### 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](https://github.com/yawkat/lz4-java/security/advisories/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

CVE-2025-67721 Affected Aircompressor v3 Versions

2 component(s)
Fixed Versions:
3.42.0.3
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?
CVE-2025-67721 is a security vulnerability in Aircompressor v3 involving aircompressor Snappy and LZ4 Java-based decompressor implementation can leak information from reused output buffer under CWE-125: Out-of-bounds Read.
Which Aircompressor v3 versions are affected?
Affected versions include releases prior to 3.4, 2.0.3 across affected packages: io.airlift:aircompressor-v3, io.airlift:aircompressor.
What version fixes CVE-2025-67721?
Upgrading to 3.4, 2.0.3 (or the latest patched release for your respective branch) resolves the vulnerability.
Is aircompressor-v3 affected?
Yes, io.airlift:aircompressor-v3 is affected in releases prior to 3.4. Upgrade your dependency to 3.4 or later.
Is aircompressor affected?
Yes, io.airlift:aircompressor is affected in releases prior to 2.0.3. Upgrade your dependency to 2.0.3 or later.
What CWE is associated with CVE-2025-67721?
CVE-2025-67721 is classified under CWE-125: Out-of-bounds Read (The product reads data past the end, or before the beginning, of the intended buffer.).
How can I check Maven dependencies for CVE-2025-67721?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=io.airlift'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "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"
  }
}