CVE-2026-85721: Async http client Denial of Service Vulnerability
HIGHCVE-2026-85721 is a HIGH (CVSS 7.5) denial of service vulnerability (CWE-409: Improper Handling of Highly Compressed Data (Data Amplification)) affecting Async http client libraries in the Maven ecosystem. The issue involves asynchttpclient's unbounded http/1.1 response decompression enables a decompression-bomb denial of service. Remediation is available by upgrading affected packages to version 3.0.12, 2.16.1.
CVE-2026-85721 at a Glance
Security Impact
CVSS: 7.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H).
How to Fix CVE-2026-85721
To remediate this vulnerability, upgrade all affected Async http client dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
<dependency>
<groupId>org.asynchttpclient</groupId>
<artifactId>async-http-client</artifactId>
<version>3.0.12</version>
</dependency>
<dependency>
<groupId>org.asynchttpclient</groupId>
<artifactId>async-http-client</artifactId>
<version>2.16.1</version>
</dependency>
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
mvn dependency:tree -Dincludes=org.asynchttpclient
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2026-85721, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=org.asynchttpclient
Analyze the terminal output to locate any version of Async http client in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 3.0.12), your application is affected.
Note: The mvn dependency:tree -Dincludes=org.asynchttpclient 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-409: Improper Handling of Highly Compressed Data (Data Amplification), where the product does not handle or incorrectly handles a compressed input with a very high compression ratio that produces a large output. In Async http client, 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
CVE-2026-85721 Affected Async http client Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
org.asynchttpclient:async-http-client
|
Maven |
≥ 3.0.0
< 3.0.12
|
3.0.12
|
|
org.asynchttpclient:async-http-client
|
Maven |
≥ 2.0.0
< 2.16.1
|
2.16.1
|
References
Frequently Asked Questions
What is CVE-2026-85721?
Which Async http client versions are affected?
What version fixes CVE-2026-85721?
Is async-http-client affected?
What is the CVSS score of CVE-2026-85721?
What CWE is associated with CVE-2026-85721?
How can I check Maven dependencies for CVE-2026-85721?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-7grg-jcf7-rpmx",
"modified" : "2026-09-17T17:18:56Z",
"published" : "2026-09-17T17:18:56Z",
"aliases" : [ "CVE-2026-85721" ],
"summary" : "AsyncHttpClient's unbounded HTTP/1.1 response decompression enables a decompression-bomb denial of service",
"details" : "### Impact\nWith automatic response decompression enabled (the default), the HTTP/1.1 path decompresses response bodies with no limit on the total output size. A hostile or compromised server, or an attacker who can change a response in transit, can send a small compressed body that inflates without bound in memory, exhausting the client's heap and causing an OutOfMemoryError. gzip, deflate and snappy are always available as vectors; brotli and zstd apply only when those optional codecs are on the classpath.\n\n### Affected versions\n* 3.x: up to and including 3.0.11\n* 2.x: up to and including 2.16.0\n\nThe HTTP/2 path carries its own limit from 3.0.11 onward. On 3.0.8, 3.0.9 and 3.0.10 the HTTP/2 decompressor is also unbounded, so on those versions switching to HTTP/2 is not a mitigation.\n\n### Patches\nFixed in 3.0.12 on the 3.x line and in 2.16.1 on the 2.x line. The fix counts the decompressed bytes produced for each response and fails the response once the configured maximum is exceeded, so the limit applies to the whole body rather than to any single chunk.\n\n### Workarounds\nOn 3.x, disable automatic decompression (setEnableAutomaticDecompression(false)) and decompress manually with your own size limit. The 2.x line has no such setting; the decompressor is installed unconditionally, so the only option there is to remove the inflater handler through httpAdditionalChannelInitializer. On either line, running the client behind a proxy that caps response sizes also works.\n\n### Details\nChannelManager.newHttpContentDecompressor() created Netty's HttpContentDecompressor without any bound, and Netty's own maxAllocation parameter limits a single decode step rather than the accumulated size of a response, so it cannot bound a decompression bomb delivered as many small chunks. The fix tracks the accumulated decompressed size per response instead.\n\nNote that 3.0.12 is itself affected by a separate issue, GHSA-rqf5-2wxv-rjf4, where a Digest challenge the client cannot read downgrades to Basic and sends the password in cleartext. Upgrade to 3.0.13 to pick up both fixes.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "org.asynchttpclient:async-http-client"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "3.0.0"
}, {
"fixed" : "3.0.12"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 3.0.11"
}
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.asynchttpclient:async-http-client"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.0.0"
}, {
"fixed" : "2.16.1"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 2.16.0"
}
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/AsyncHttpClient/async-http-client/security/advisories/GHSA-7grg-jcf7-rpmx"
}, {
"type" : "WEB",
"url" : "https://github.com/AsyncHttpClient/async-http-client/commit/5ee2841cbf268bba4a200578be3938ccfc6cc6d6"
}, {
"type" : "WEB",
"url" : "https://github.com/AsyncHttpClient/async-http-client/commit/663a1a91757904b22cfe37e2e6049f1f8ea6ae59"
}, {
"type" : "WEB",
"url" : "https://github.com/AsyncHttpClient/async-http-client/commit/e1871a19972fb496be1b8ac6be11d79e22ff2162"
}, {
"type" : "WEB",
"url" : "https://github.com/AsyncHttpClient/async-http-client/commit/e9f2f7423e0f6503f529656f2955a1317e56ba14"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/AsyncHttpClient/async-http-client"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-400", "CWE-409" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2026-09-17T17:18:56Z",
"nvd_published_at" : null
}
}