# CVE-2025-67721: Aircompressor's Snappy and LZ4 Java-based decompressor implementation can leak information from reused output buffer

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 6.3
- **CVSS:** 6.3 (v4.0, CNA) `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`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Attack requirements: Present; Privileges required: None; User interaction: None; Confidentiality impact: Low; Integrity impact: None; Availability impact: None; Confidentiality impact on other systems: None; Integrity impact on other systems: None; Availability impact on other systems: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 1.02% (percentile 63, 2026-11-26)
- **CWE:** CWE-201, CWE-125
- **Aliases:** GHSA-vx9q-rhv9-3jvg
- **Published:** 2025-12-12T22:11:10.971Z
- **Modified:** 2026-10-07T20:10:01.970Z

## Who should check

- Projects that depend on Maven package io.airlift:aircompressor-v3 (\< 3.4)
- Projects that depend on Maven package io.airlift:aircompressor (\< 2.0.3)
- Anyone running airlift aircompressor \< 3.4

## 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 and fixed versions

- Maven `io.airlift:aircompressor-v3`: affected \< 3.4; fixed 3.4 (osv)
- Maven `io.airlift:aircompressor`: affected \< 2.0.3; fixed 2.0.3 (osv)
- airlift aircompressor: \< 3.4 (cvelist)

## Mitigation

- Upgrade io.airlift:aircompressor-v3 to 3.4 or later.
- Upgrade io.airlift:aircompressor to 2.0.3 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-67721. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-67721.md
Affected: io.airlift:aircompressor-v3 < 3.4; io.airlift:aircompressor < 2.0.3
Fixed in: 3.4, 2.0.3

Steps:
1. Search this machine and project for io.airlift:aircompressor-v3 (Maven), io.airlift:aircompressor (Maven), airlift aircompressor: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-67721 being exploited?

There is no confirmed exploitation: CVE-2025-67721 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 1.02% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2025-67721?

Medium: CVSS 6.3 (v4.0, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2025-67721?

io.airlift:aircompressor-v3 \< 3.4; io.airlift:aircompressor \< 2.0.3.

### Is there a fix for CVE-2025-67721?

Yes. Fixed in 3.4, 2.0.3. Upgrade io.airlift:aircompressor-v3 to 3.4 or later. Upgrade io.airlift:aircompressor to 2.0.3 or later.

### How do I check if I'm affected by CVE-2025-67721?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/airlift/aircompressor/security/advisories/GHSA-vx9q-rhv9-3jvg>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2025-67721>
- patch: <https://github.com/airlift/aircompressor/commit/f2b489b398779b40c1ee29ddb11d7edef54ddc15>
- patch: <https://github.com/airlift/aircompressor/commit/ff12c4d5757c9d6d1de3d39a10402f1f84f9b765>
- patch: <https://github.com/airlift/aircompressor/pull/309>
- other: <https://github.com/airlift/aircompressor>
- other: <https://github.com/airlift/aircompressor/releases/tag/2.0.3>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-67721>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-vx9q-rhv9-3jvg> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2025-67721> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-67721>
