GHSA-vx9q-rhv9-3jvg: Maven/io.airlift:aircompressor-v3 vulnerability

Published Dec 12, 2025
·
Updated

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.

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

Other sources

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.

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

— GitHub

Affected Software

2 affected componentsFixes available
maven/io.airlift:aircompressor-v3<3.4
3.4
maven/io.airlift:aircompressor<2.0.3
2.0.3

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade maven/io.airlift:aircompressor-v3 to a version that resolves this vulnerability.

    Fixed in 3.4
  2. Upgrade

    Upgrade maven/io.airlift:aircompressor to a version that resolves this vulnerability.

    Fixed in 2.0.3
  3. Upgrade

    Upgrade aircompressor to a version that resolves this vulnerability.

    Fixed in 3.4
  4. Upgrade

    Upgrade lz4-java to a version that resolves this vulnerability.

    Fixed in 2.0.3
  5. Compensating control

    Avoid reusing the decompression/output buffer across calls, or clear the buffer before each decompression call.

Event History

Dec 12, 2025
Advisory Published
via GitHub·10:12 PM
Data Sourced
via GitHub·10:12 PM
DescriptionWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of GHSA-vx9q-rhv9-3jvg?

GHSA-vx9q-rhv9-3jvg is classified as a vulnerability that may lead to information disclosure due to improper handling of malformed data.

2

How do I fix GHSA-vx9q-rhv9-3jvg?

To fix GHSA-vx9q-rhv9-3jvg, you should upgrade to version 3.4 or later of the io.airlift:aircompressor-v3 package.

3

Which applications are affected by GHSA-vx9q-rhv9-3jvg?

Applications that use the Java-based decompressor implementations for Snappy and LZ4 are affected by GHSA-vx9q-rhv9-3jvg.

4

Can GHSA-vx9q-rhv9-3jvg lead to remote attacks?

Yes, GHSA-vx9q-rhv9-3jvg allows remote attackers to read previous buffer contents through crafted compressed input.

5

What are the potential risks of GHSA-vx9q-rhv9-3jvg?

The potential risks include sensitive data exposure if the output buffer is reused without being cleared.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203