CVE-2025-67721
Maven vulnerability
### 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. 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
Affected products
Maven. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Maven runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/airlift/aircompressor/security/advisories/GHSA-vx9q-rhv9-3jvg
- github.com/airlift/aircompressor/commit/f2b489b398779b40c1ee29ddb11d7edef54ddc15
- github.com/airlift/aircompressor/commit/ff12c4d5757c9d6d1de3d39a10402f1f84f9b765
- nvd.nist.gov/vuln/detail/CVE-2025-67721
- github.com/airlift/aircompressor/pull/309
- github.com/advisories/GHSA-vx9q-rhv9-3jvg
- github.com/airlift/aircompressor/releases/tag/2.0.3
- nvd.nist.gov/vuln/detail/CVE-2025-67721
- cve.org/CVERecord?id=CVE-2025-67721
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.