Skip to main content
← All vulnerabilities
CVE-2026-85721GHSA-7GRG-JCF7-RPMX

AsyncHttpClient: Unbounded HTTP/1.1 response decompression enables a decompression-bomb denial of service

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.16.1, 3.0.12
1 proof of concept on GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: partial

Summary

The AsyncHttpClient (AHC) library allows Java applications to easily execute HTTP requests and asynchronously process HTTP responses. From 2.0.0 until 2.16.1 and 3.0.12, automatic response decompression on the HTTP/1.1 path uses ChannelManager.newHttpContentDecompressor() to install Http1ContentDecompressor without a cumulative output-size limit. A hostile or compromised server, or an attacker who can alter a response in transit, can send a small gzip, deflate, or snappy response that expands across chunks until the client exhausts its heap and raises OutOfMemoryError; brotli and zstd are also affected when their optional codecs are present. In versions 3.0.8 through 3.0.10, the HTTP/2 decompressor is also unbounded, so switching protocols does not mitigate the issue on those releases. A limit applied to each decode call is insufficient because the response can be delivered as many small chunks, so the fixed implementation tracks total decompressed bytes for the whole response. This issue is fixed in versions 2.16.1 and 3.0.12.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • AsyncHttpClient async-http-client

    From 2.0.0 · fixed in 2.16.1; From 3.0.0 · fixed in 3.0.12

  • org.asynchttpclient:async-http-clientMaven

    From 3.0.0 · fixed in 3.0.12

  • org.asynchttpclient:async-http-clientMaven

    From 2.0.0 · fixed in 2.16.1

References 6

GitHub · AsyncHttpClient/async-http-client

GitHub · xiaoqiMikko/async-http-client-check