Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.asynchttpclient/async-http-client
  4. ›
  5. CVE-2026-107227

CVE-2026-107227: AsyncHttpClient: Unbounded WebSocket permessage-deflate decompression enables a decompression-bomb denial of service when compression is enabled

October 8, 2026

With WebSocket compression enabled, the client inflates permessage-deflate messages with no limit on the decompressed size. It installed Netty’s shared WebSocketClientCompressionHandler.INSTANCE, whose inflater is unbounded, and webSocketMaxFrameSize and webSocketMaxBufferSize only bound the compressed bytes, because the frame aggregator sits in front of the inflater.

A malicious or compromised WebSocket server, or anyone on the path of a ws:// connection, can therefore send a message of about 2 MiB that inflates to about 2 GiB, the most a Netty buffer can hold. The client then copies the inflated message again to hand it to the listener. That exhausts the heap of a typically sized JVM. Netty catches the resulting OutOfMemoryError and closes that connection, but while the buffer is live any other allocation in the process can fail too, and a server that keeps sending such messages, on one connection or several, keeps the client at heap exhaustion.

References

  • github.com/AsyncHttpClient/async-http-client/commit/b61637f30327f314b7693418f12ce141ac6b2b30
  • github.com/AsyncHttpClient/async-http-client/releases/tag/async-http-client-project-3.0.14
  • github.com/AsyncHttpClient/async-http-client/security/advisories/GHSA-x8v2-478q-2hvg
  • github.com/advisories/GHSA-x8v2-478q-2hvg
  • nvd.nist.gov/vuln/detail/CVE-2026-107227

Code Behaviors & Features

Detect and mitigate CVE-2026-107227 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 2.2.0 up to 2.16.1, all versions starting from 3.0.0 before 3.0.14

Fixed versions

  • 3.0.14

Solution

Upgrade to version 3.0.14 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-400: Uncontrolled Resource Consumption
  • CWE-409: Improper Handling of Highly Compressed Data (Data Amplification)

Source file

maven/org.asynchttpclient/async-http-client/CVE-2026-107227.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:30 +0000.