Skip to content
8.7 High

CVE-2026-54251 netty-incubator-codec-ohttp implements Oblivious HTTP (OHTTP) gateway and client functionality using Netty

Description

netty-incubator-codec-ohttp implements Oblivious HTTP (OHTTP) gateway and client functionality using Netty. Prior to 0.0.23.Final, the OHTTP gateway decryption path in codec-ohttp/src/main/java/io/netty/incubator/codec/ohttp/OHttpRequestResponseContext.java allocates a pooled direct ByteBuf for decrypted plaintext before the AEAD tag is verified. When an invalid tag causes decryptChunk() to throw CryptoException, OHttpRequestResponseContext.decodeChunk() does not release the ByteBuf because the allocation is not guarded by try/finally. Repeated invalid encrypted requests can therefore leak native off-heap memory until the gateway is unable to continue serving requests. This issue is fixed in version 0.0.23.Final.

Affected products and versions

Product Affected versions Fixed in
netty-incubator-codec-ohttp 0.0 earliest → < 0.0.23.Final 0.0.23.Final
netty-incubator-codec-ohttp 0.0 earliest → < 0.0.23.Final 0.0.23.Final

References

Timeline

  1. Published
  2. Last modified
The 6 CVEs of netty-incubator-codec-ohttp →
Track this CVE