Skip to main content

CVE-2026-54251: CWE-664: Improper Control of a Resource Through its Lifetime in netty netty-incubator-codec-ohttp

0
High
VulnerabilityCVE-2026-54251cvecve-2026-54251cwe-664
Published: 09/15/2026 (09/15/2026, 17:13:13 UTC)
Source: CVE Database V5
Vendor/Project: netty
Product: netty-incubator-codec-ohttp

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.

CVSS v4.0

Score 8.7high

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
None
Vuln. Integrity
None
Vuln. Availability
High
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Affected software

netty

netty-incubator-codec-ohttp

Affected versions
<0.0.23.Final

io.netty.incubator

netty-incubator-codec-ohttp

Affected versions
<0.0.23.Final
io.netty/netty-incubator-codec-ohttp
pkg:maven/io.netty/netty-incubator-codec-ohttp
Affected versions
<0.0.23.Final

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/15/2026, 17:46:47 UTC

Technical Analysis

The vulnerability in netty-incubator-codec-ohttp versions before 0.0.23.Final occurs in the OHTTP gateway decryption path. When decrypting encrypted requests, the code allocates a pooled direct ByteBuf for decrypted plaintext before verifying the AEAD tag. If the tag is invalid, decryptChunk() throws a CryptoException, but the allocated ByteBuf is not released because the allocation is not protected by a try/finally block. Repeated invalid encrypted requests cause native off-heap memory to leak, eventually exhausting memory and causing the gateway to fail to serve requests. The flaw is addressed in version 0.0.23.Final by ensuring proper resource release.

Potential Impact

An attacker can cause the OHTTP gateway to leak native off-heap memory by sending repeated invalid encrypted requests. This memory leak can exhaust the gateway's resources, leading to denial of service by preventing it from processing legitimate requests. There is no indication of privilege escalation or data disclosure from this vulnerability.

Mitigation Recommendations

Upgrade netty-incubator-codec-ohttp to version 0.0.23.Final or later, where the issue is fixed. No other mitigation is indicated or required.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-06-12T16:25:43.085Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 6aa9812f55bf5e2cf527c2d0

Added to database: 09/15/2026, 17:32:31 UTC

Last enriched: 09/15/2026, 17:46:47 UTC

Last updated: 09/15/2026, 17:48:26 UTC

Views: 5

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses