Skip to content
Heist/ feed
Back to feed
High

async-http-client — security advisory

Type: advisorySources: OSVAdvisory ID: UBUNTU-CVE-2026-85721

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.

Products
async-http-client
Affected versions
1.6.5-1, 1.6.5-2, 1.6.5-2ubuntu0.1~esm1, 1.6.5-4, 1.6.5-5, 2.12.2-1, 2.12.3-1, 2.12.3-1ubuntu0.22.04.1, 2.12.3-1ubuntu0.24.04.1, 2.12.3-1ubuntu1, 2.12.3-1ubuntu1.1, 2.6.0-1, 2.6.0-1ubuntu0.1~esm1
Fixed versions
Not specified
CVEs
CVE-2026-85721
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 03:24 UTC · Revision 1

Source evidence

UBUNTU-CVE-2026-85721

core-osv · Original source

Published 17 Sept 2026, 16:18 UTC

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.

osv:UBUNTU-CVE-2026-85721

async-http-client

Fixed versions: Not specified

async-http-client

Fixed versions: Not specified

async-http-client

Fixed versions: Not specified

async-http-client

Fixed versions: Not specified

async-http-client

Fixed versions: Not specified

async-http-client

Fixed versions: Not specified

async-http-client

Fixed versions: Not specified

async-http-client

Fixed versions: Not specified

Complete source record
{
  "id": "85287b8b224ae3f02da698b1d926684ad5c5f10087b37872fcfffc74614d488b",
  "url": "https://osv.dev/vulnerability/UBUNTU-CVE-2026-85721",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "UBUNTU-CVE-2026-85721",
    "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.",
    "evidence": "osv:UBUNTU-CVE-2026-85721",
    "products": [
      {
        "name": {
          "value": "async-http-client",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.6.5-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.6.5-2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.6.5-2ubuntu0.1~esm1",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "async-http-client",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.6.5-4",
            "evidence": "/affected/1/versions"
          }
        ]
      },
      {
        "name": {
          "value": "async-http-client",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.6.5-4",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "1.6.5-5",
            "evidence": "/affected/2/versions"
          }
        ]
      },
      {
        "name": {
          "value": "async-http-client",
          "evidence": "/affected/3/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "2.6.0-1",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "2.6.0-1ubuntu0.1~esm1",
            "evidence": "/affected/3/versions"
          }
        ]
      },
      {
        "name": {
          "value": "async-http-client",
          "evidence": "/affected/4/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "2.12.2-1",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "2.12.3-1",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "2.12.3-1ubuntu0.22.04.1",
            "evidence": "/affected/4/versions"
          }
        ]
      },
      {
        "name": {
          "value": "async-http-client",
          "evidence": "/affected/5/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "2.12.3-1",
            "evidence": "/affected/5/versions"
          },
          {
            "value": "2.12.3-1ubuntu0.24.04.1",
            "evidence": "/affected/5/versions"
          }
        ]
      },
      {
        "name": {
          "value": "async-http-client",
          "evidence": "/affected/6/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "2.12.3-1ubuntu1",
            "evidence": "/affected/6/versions"
          }
        ]
      },
      {
        "name": {
          "value": "async-http-client",
          "evidence": "/affected/7/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "2.12.3-1",
            "evidence": "/affected/7/versions"
          },
          {
            "value": "2.12.3-1ubuntu1",
            "evidence": "/affected/7/versions"
          },
          {
            "value": "2.12.3-1ubuntu1.1",
            "evidence": "/affected/7/versions"
          }
        ]
      }
    ],
    "severity": "high",
    "structured": {
      "id": "UBUNTU-CVE-2026-85721",
      "aliases": [
        "UBUNTU-CVE-2026-85721"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
        },
        {
          "type": "Ubuntu",
          "score": "medium"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "async-http-client",
            "purl": "pkg:deb/ubuntu/async-http-client?arch=source&distro=esm-infra-legacy%2Ftrusty",
            "ecosystem": "Ubuntu:Pro:14.04:LTS"
          },
          "versions": [
            "1.6.5-1",
            "1.6.5-2",
            "1.6.5-2ubuntu0.1~esm1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-85721.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libasync-http-client-java",
                "binary_version": "1.6.5-2ubuntu0.1~esm1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "async-http-client",
            "purl": "pkg:deb/ubuntu/async-http-client?arch=source&distro=xenial",
            "ecosystem": "Ubuntu:16.04:LTS"
          },
          "versions": [
            "1.6.5-4"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-85721.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libasync-http-client-java",
                "binary_version": "1.6.5-4"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "async-http-client",
            "purl": "pkg:deb/ubuntu/async-http-client?arch=source&distro=bionic",
            "ecosystem": "Ubuntu:18.04:LTS"
          },
          "versions": [
            "1.6.5-4",
            "1.6.5-5"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-85721.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libasync-http-client-java",
                "binary_version": "1.6.5-5"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "async-http-client",
            "purl": "pkg:deb/ubuntu/async-http-client?arch=source&distro=esm-apps%2Ffocal",
            "ecosystem": "Ubuntu:Pro:20.04:LTS"
          },
          "versions": [
            "2.6.0-1",
            "2.6.0-1ubuntu0.1~esm1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-85721.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libasync-http-client-java",
                "binary_version": "2.6.0-1ubuntu0.1~esm1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "async-http-client",
            "purl": "pkg:deb/ubuntu/async-http-client?arch=source&distro=jammy",
            "ecosystem": "Ubuntu:22.04:LTS"
          },
          "versions": [
            "2.12.2-1",
            "2.12.3-1",
            "2.12.3-1ubuntu0.22.04.1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-85721.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libasync-http-client-java",
                "binary_version": "2.12.3-1ubuntu0.22.04.1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "async-http-client",
            "purl": "pkg:deb/ubuntu/async-http-client?arch=source&distro=noble",
            "ecosystem": "Ubuntu:24.04:LTS"
          },
          "versions": [
            "2.12.3-1",
            "2.12.3-1ubuntu0.24.04.1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-85721.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libasync-http-client-java",
                "binary_version": "2.12.3-1ubuntu0.24.04.1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "async-http-client",
            "purl": "pkg:deb/ubuntu/async-http-client?arch=source&distro=stonking",
            "ecosystem": "Ubuntu:26.10"
          },
          "versions": [
            "2.12.3-1ubuntu1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-85721.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libasync-http-client-java",
                "binary_version": "2.12.3-1ubuntu1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "async-http-client",
            "purl": "pkg:deb/ubuntu/async-http-client?arch=source&distro=resolute",
            "ecosystem": "Ubuntu:26.04:LTS"
          },
          "versions": [
            "2.12.3-1",
            "2.12.3-1ubuntu1",
            "2.12.3-1ubuntu1.1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-85721.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libasync-http-client-java",
                "binary_version": "2.12.3-1ubuntu1.1"
              }
            ]
          }
        }
      ],
      "modified": "2026-10-17T13:01:14.198442443Z",
      "provider": "osv",
      "upstream": [
        "CVE-2026-85721"
      ],
      "references": [
        "https://ubuntu.com/security/CVE-2026-85721",
        "https://www.cve.org/CVERecord?id=CVE-2026-85721",
        "https://github.com/AsyncHttpClient/async-http-client/security/advisories/GHSA-7grg-jcf7-rpmx",
        "https://github.com/AsyncHttpClient/async-http-client/commit/5ee2841cbf268bba4a200578be3938ccfc6cc6d6",
        "https://github.com/AsyncHttpClient/async-http-client/commit/663a1a91757904b22cfe37e2e6049f1f8ea6ae59",
        "https://github.com/AsyncHttpClient/async-http-client/commit/e1871a19972fb496be1b8ac6be11d79e22ff2162",
        "https://github.com/AsyncHttpClient/async-http-client/commit/e9f2f7423e0f6503f529656f2955a1317e56ba14"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2026-85721",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 361337,
  "published_at": "2026-09-17T16:18:00+00:00"
}