Skip to content

CVE-2026-54251 netty-incubator-codec-ohttp: [OHttpServerCodec] Native Direct-Memory Leak on AEAD Decryption Failure Leads to Gateway Denial of Service

HighCVSS 8.7 EPSS 0.51%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: yes · technical impact: partial

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.

Upgrade path

3 packages: 1 fixed.

PackageAffectedFixed inStatus
io.netty.incubator netty-incubator-codec-ohttp(Maven) < 0.0.23.Final; = 0.0.1.Final; = 0.0.2.Final; = 0.0.3.Final +19 more 0.0.23.Final Fixed
io.netty.incubator netty-incubator-codec-ohttp = < 0.0.23.Final No fix listed Versions listed
netty-incubator-codec-ohttp = < 0.0.23.Final No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
netty-incubator-codec-ohttp = < 0.0.23.Final No fix listed
io.netty.incubator netty-incubator-codec-ohttp = < 0.0.23.Final No fix listed
io.netty.incubator netty-incubator-codec-ohttp(Maven) < 0.0.23.Final 0.0.23.Final
io.netty.incubator netty-incubator-codec-ohttp(Maven) = 0.0.1.Final No fix listed
io.netty.incubator netty-incubator-codec-ohttp(Maven) = 0.0.10.Final No fix listed
io.netty.incubator netty-incubator-codec-ohttp(Maven) = 0.0.11.Final No fix listed
io.netty.incubator netty-incubator-codec-ohttp(Maven) = 0.0.12.Final No fix listed
io.netty.incubator netty-incubator-codec-ohttp(Maven) = 0.0.13.Final No fix listed
io.netty.incubator netty-incubator-codec-ohttp(Maven) = 0.0.14.Final No fix listed
io.netty.incubator netty-incubator-codec-ohttp(Maven) = 0.0.15.Final No fix listed
io.netty.incubator netty-incubator-codec-ohttp(Maven) = 0.0.16.Final No fix listed
io.netty.incubator netty-incubator-codec-ohttp(Maven) = 0.0.17.Final No fix listed
io.netty.incubator netty-incubator-codec-ohttp(Maven) = 0.0.18.Final No fix listed
io.netty.incubator netty-incubator-codec-ohttp(Maven) = 0.0.19.Final No fix listed
io.netty.incubator netty-incubator-codec-ohttp(Maven) = 0.0.2.Final No fix listed
io.netty.incubator netty-incubator-codec-ohttp(Maven) = 0.0.20.Final No fix listed
io.netty.incubator netty-incubator-codec-ohttp(Maven) = 0.0.21.Final No fix listed
io.netty.incubator netty-incubator-codec-ohttp(Maven) = 0.0.22.Final No fix listed
io.netty.incubator netty-incubator-codec-ohttp(Maven) = 0.0.3.Final No fix listed
io.netty.incubator netty-incubator-codec-ohttp(Maven) = 0.0.4.Final No fix listed
io.netty.incubator netty-incubator-codec-ohttp(Maven) = 0.0.5.Final No fix listed
io.netty.incubator netty-incubator-codec-ohttp(Maven) = 0.0.6.Final No fix listed
io.netty.incubator netty-incubator-codec-ohttp(Maven) = 0.0.7.Final No fix listed
io.netty.incubator netty-incubator-codec-ohttp(Maven) = 0.0.8.Final No fix listed
io.netty.incubator netty-incubator-codec-ohttp(Maven) = 0.0.9.Final No fix listed

References