CVE-2026-41207 netty-incubator-codec-ohttp's HPKEContext operations may produce empty byte[] on failures

Medium 6.9 Published Updated

A flaw in Netty's OHTTP codec allows silent failures to produce all-zero cryptographic keys, enabling attackers to predict AEAD keys and bypass encryption.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2026-41207?

CVE-2026-41207 is a medium-severity vulnerability in netty-incubator-codec-ohttp, published on 4 Jun 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

The netty incubator codec.bhttp is a java language binary http parser. Prior to version 0.0.21.Final, 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. When 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. Version 0.0.21.Final patches the issue.

Weakness: CWE-330

Which versions are affected by CVE-2026-41207?

2 open source packages ship an affected version, including io.netty.incubator:netty-incubator-codec-ohttp. It affects 1 product.

PackageAffectedFixed in
io.netty.incubator:netty-incubator-codec-ohttp MavenAll versions0.0.21.Final
io.netty.incubator:netty-incubator-codec-ohttp MavenAll versions0.0.21.Final

Products include Netty Netty-Incubator-Codec-Ohttp.

How do I fix CVE-2026-41207?

Upgrade io.netty.incubator:netty-incubator-codec-ohttp to 0.0.21.Final or later.

Is CVE-2026-41207 being exploited?

There is no known exploitation of CVE-2026-41207 in the wild and no public exploit code.

Sources

Also known as GHSA-f659-372h-6x3x.

Is CVE-2026-41207 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free