CVE-2026-41207: Netty incubator codec ohttp Netty-incubator-codec-ohttp's HPKEContext Operations May Produce Vulnerability
MODERATECVE-2026-41207 is a MODERATE netty-incubator-codec-ohttp's hpkecontext operations may produce vulnerability (CWE-330: Use of Insufficiently Random Values) affecting Netty incubator codec ohttp libraries in the Maven ecosystem. The issue involves netty-incubator-codec-ohttp's hpkecontext operations may produce empty byte[] on failures. Remediation is available by upgrading affected packages to version 0.0.21.Final.
CVE-2026-41207 at a Glance
How to Fix CVE-2026-41207
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-ohttp</artifactId>
<version>0.0.21.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-41207, 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.21.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-330: Use of Insufficiently Random Values, where the product uses insufficiently random numbers or values in a security context that depends on unpredictable numbers. 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-41207 Affected Netty incubator codec ohttp Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
io.netty.incubator:netty-incubator-codec-ohttp
|
Maven |
< 0.0.21.Final
|
0.0.21.Final
|
References
Frequently Asked Questions
What is CVE-2026-41207?
Which Netty incubator codec ohttp versions are affected?
What version fixes CVE-2026-41207?
Is netty-incubator-codec-ohttp affected?
What CWE is associated with CVE-2026-41207?
How can I check Maven dependencies for CVE-2026-41207?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-f659-372h-6x3x",
"modified" : "2026-06-09T11:53:42Z",
"published" : "2026-05-26T23:08:26Z",
"aliases" : [ "CVE-2026-41207" ],
"summary" : "netty-incubator-codec-ohttp's HPKEContext operations may produce empty byte[] on failures",
"details" : "HKDF_expand: returns non-NULL on failure. The byte[] is filled with zeros and has no way to distinguish success from failure. Since this output is used as HKDF key material for the response AEAD, a failure silently produces an all-zero key.\n\nWhen EVP_HPKE_CTX_export fails it also returns an empty byte[] array filled with zeros. This byte[] feeds directly into OHttpCrypto.createResponseAEAD(...). A silent all-zero export secret would produce a deterministic, attacker-predictable AEAD key.",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "io.netty.incubator:netty-incubator-codec-ohttp"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.0.21.Final"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/netty/netty-incubator-codec-ohttp/security/advisories/GHSA-f659-372h-6x3x"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-41207"
}, {
"type" : "WEB",
"url" : "https://github.com/netty/netty-incubator-codec-ohttp/commit/3d3b4e527fc82ad0fe3db1af951ffd0ec9a10680"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/netty/netty-incubator-codec-ohttp"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-330" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2026-05-26T23:08:26Z",
"nvd_published_at" : "2026-06-04T18:16:30Z"
}
}