---
id: CVE-2026-107227
title: >-
  The AsyncHttpClient (AHC) library allows Java applications to easily execute
  HTTP requests and asynchronously process HTTP responses
summary: >-
  The AsyncHttpClient (AHC) library allows Java applications to easily execute
  HTTP requests and asynchronously process HTTP responses. From 2.2.0 until
  3.0.14, WebSocket permessage-deflate decompression is unbounded when
  compression is en…
severity: high
cvss: 7.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'
cwe:
  - CWE-400
  - CWE-409
vendor: AsyncHttpClient
product: async-http-client
affected:
  - 'async-http-client >= 3.0.0, < 3.0.14'
  - 'async-http-client >= 2.2.0, <= 2.16.1'
published: '2026-10-07'
updated: '2026-10-07'
sourceUpdated: '2026-10-07T21:17:14.283'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-107227'
references:
  - url: >-
      https://github.com/AsyncHttpClient/async-http-client/commit/b61637f30327f314b7693418f12ce141ac6b2b30
    label: security-advisories@github.com
  - url: >-
      https://github.com/AsyncHttpClient/async-http-client/releases/tag/async-http-client-project-3.0.14
    label: security-advisories@github.com
  - url: >-
      https://github.com/AsyncHttpClient/async-http-client/security/advisories/GHSA-x8v2-478q-2hvg
    label: security-advisories@github.com
tags:
  - nvd
  - cve.org
ingestedAt: '2026-10-07T21:54:15.091Z'
---

## Overview

The AsyncHttpClient (AHC) library allows Java applications to easily execute HTTP requests and asynchronously process HTTP responses. From 2.2.0 until 3.0.14, WebSocket permessage-deflate decompression is unbounded when compression is enabled. The inbound pipeline aggregates compressed frames before WebSocketClientCompressionHandler inflates them, so webSocketMaxFrameSize and webSocketMaxBufferSize do not bound decompressed output. A malicious WebSocket peer can send a small compressed message that expands to a very large Netty buffer and exhausts JVM heap. This issue is fixed in version 3.0.14.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
