CVE-2026-61827: netty-incubator-codec-ohttp Remote Code Execution Vulnerability

HIGH
Advisory Identifier: GHSA-hmq9-67w8-j5pw
CWE-400 CWE-770
Published
Advisory Summary

CVE-2026-61827 is a HIGH remote code execution vulnerability (CWE-400: Uncontrolled Resource Consumption) affecting netty-incubator-codec-ohttp libraries in the Maven ecosystem. The issue involves binaryhttpparser should enforce limits for variable lengths fields. Remediation is available by upgrading affected packages to version 0.0.23.Final.

CVE-2026-61827 at a Glance

CVE Identifier CVE-2026-61827
GHSA Identifier GHSA-hmq9-67w8-j5pw
Severity HIGH
CVSS v3.1 Base Score N/A
CWE Classification CWE-400: Uncontrolled Resource Consumption
Affected Product netty-incubator-codec-ohttp
Package Ecosystem Maven
Published Date
Last Updated

How to Fix CVE-2026-61827

To remediate this vulnerability, upgrade all affected netty-incubator-codec-ohttp dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

io.netty.incubator:netty-incubator-codec-bhttp fixed: 0.0.23.Final
<dependency>
    <groupId>io.netty.incubator</groupId>
    <artifactId>netty-incubator-codec-bhttp</artifactId>
    <version>0.0.23.Final</version>
</dependency>
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

mvn dependency:tree -Dincludes=io.netty.incubator

How to Check if You Are Affected

To determine whether your Java application is affected by CVE-2026-61827, inspect your build dependencies using the Maven Dependency Plugin:

mvn dependency:tree -Dincludes=io.netty.incubator

Analyze the terminal output to locate any version of netty-incubator-codec-ohttp in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.0.23.Final), your application is affected.

Note: The mvn dependency:tree -Dincludes=io.netty.incubator 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-400: Uncontrolled Resource Consumption, where the product does not properly control the allocation and maintenance of a limited resource. In netty-incubator-codec-ohttp, 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

We don't enforce any limits for the encoded variable lengths that are used for fields. As the remote peer controls these it's easy for the remote peer to have us buffer data forever and so ultimately OOM.

CVE-2026-61827 Affected netty-incubator-codec-ohttp Versions

1 component(s)
Fixed Versions:
0.0.23.Final
Product / Package Ecosystem Affected Versions Fixed Version
io.netty.incubator:netty-incubator-codec-bhttp
Maven
< 0.0.23.Final
0.0.23.Final

References

Frequently Asked Questions

What is CVE-2026-61827?
CVE-2026-61827 is a security vulnerability in netty-incubator-codec-ohttp involving BinaryHttpParser should enforce limits for variable lengths fields under CWE-400: Uncontrolled Resource Consumption.
Which netty-incubator-codec-ohttp versions are affected?
Affected versions include releases prior to 0.0.23.Final across affected packages: io.netty.incubator:netty-incubator-codec-bhttp.
What version fixes CVE-2026-61827?
Upgrading to 0.0.23.Final (or the latest patched release for your respective branch) resolves the vulnerability.
Is netty-incubator-codec-bhttp affected?
Yes, io.netty.incubator:netty-incubator-codec-bhttp is affected in releases prior to 0.0.23.Final. Upgrade your dependency to 0.0.23.Final or later.
What CWE is associated with CVE-2026-61827?
CVE-2026-61827 is classified under CWE-400: Uncontrolled Resource Consumption (The product does not properly control the allocation and maintenance of a limited resource.).
How can I check Maven dependencies for CVE-2026-61827?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=io.netty.incubator'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-hmq9-67w8-j5pw",
  "modified" : "2026-08-20T18:43:28Z",
  "published" : "2026-08-20T18:43:28Z",
  "aliases" : [ "CVE-2026-61827" ],
  "summary" : "netty-incubator-codec-ohttp: BinaryHttpParser should enforce limits for variable lengths fields",
  "details" : "We don't enforce any limits for the encoded variable lengths that are used for fields. As the remote peer controls these it's easy for the remote peer to have us buffer data forever and so ultimately OOM.",
  "severity" : [ {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "io.netty.incubator:netty-incubator-codec-bhttp"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "0.0.23.Final"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 0.0.22.Final"
    }
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/netty/netty-incubator-codec-ohttp/security/advisories/GHSA-hmq9-67w8-j5pw"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/netty/netty-incubator-codec-ohttp"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/netty/netty-incubator-codec-ohttp/releases/tag/netty-incubator-codec-parent-ohttp-0.0.23.Final"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-400", "CWE-770" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-08-20T18:43:28Z",
    "nvd_published_at" : null
  }
}