Improper Resource Shutdown or Release Affecting org.asynchttpclient:async-http-client package, versions [3.0.8,3.0.12)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.53% (43rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JAVA-ORGASYNCHTTPCLIENT-19963950
  • published20 Sept 2026
  • disclosed17 Sept 2026
  • credithyperxpro

Introduced: 17 Sep 2026

NewCVE-2026-85718  (opens in a new tab)
CWE-404  (opens in a new tab)

How to fix?

Upgrade org.asynchttpclient:async-http-client to version 3.0.12 or higher.

Overview

org.asynchttpclient:async-http-client is a maven plugin for the Async Http Client (AHC) classes.

Affected versions of this package are vulnerable to Improper Resource Shutdown or Release due to NettyConnectListener.onSuccess() in the Netty connect path. An attacker can exhaust maxConnections or maxConnectionsPerHost by repeatedly triggering TLS handshake failures before completion, causing each failed attempt to orphan a permit. When the limit is per-host, repeated failed handshakes against one host permanently lock the client out of that host; with a global limit, failures against one reachable host drain the shared pool and prevent new connections to other hosts.

Workarounds

  • Leave maxConnections and maxConnectionsPerHost at their default unlimited values; this avoids the permit-leak condition entirely because no connection semaphore is enforced.
  • Avoid connecting to untrusted hosts that can deliberately or repeatedly fail the TLS handshake; this prevents an attacker from exhausting the connection permit pool and locking the client out of a host or all hosts.

CVSS Base Scores

version 4.0
version 3.1