CVE-2026-61827: netty-incubator-codec-ohttp Remote Code Execution Vulnerability
HIGHCVE-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
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.
<dependency>
<groupId>io.netty.incubator</groupId>
<artifactId>netty-incubator-codec-bhttp</artifactId>
<version>0.0.23.Final</version>
</dependency>
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
CVE-2026-61827 Affected netty-incubator-codec-ohttp Versions
1 component(s)| 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?
Which netty-incubator-codec-ohttp versions are affected?
What version fixes CVE-2026-61827?
Is netty-incubator-codec-bhttp affected?
What CWE is associated with CVE-2026-61827?
How can I check Maven dependencies for CVE-2026-61827?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"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
}
}