Infinite loop in Netty OHTTP Binary HTTP parser enables denial of service
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-400.
Summary
Netty incubator codec-ohttp before 0.0.23.Final, including the io.netty.incubator:netty-incubator-codec-bhttp Maven package from 0 before 0.0.23.Final, contains an infinite loop in BinaryHttpParser.readFieldSection that is caused by a missing exit condition (CWE-835). A corrupt or truncated field line can leave the parser's remaining length unchanged or drive it negative, so the loop never ends. An unauthenticated Oblivious HTTP peer can send such encrypted Binary HTTP content to the gateway, pinning a Netty event-loop thread at full CPU, and repeated requests can exhaust the event-loop group until restart.
Written with Claude Haiku 5.5 from the sources below · 2026-11-20
Description from the CNA
netty-incubator-codec-ohttp implements Oblivious HTTP (OHTTP) gateway and client functionality using Netty. Prior to 0.0.23.Final, BinaryHttpParser.readFieldSection in codec-bhttp/src/main/java/io/netty/incubator/codec/bhttp/BinaryHttpParser.java loops while fieldSectionLength is nonzero and relies on disabled-by-default assertions to require BinaryHttpParser.readFieldLine to return a value and consume bytes. A corrupt field line can consume more bytes than its understated declared section length and drive the counter negative, or a truncated field line can return without consuming data and leave the parser in the same state. An unauthenticated OHTTP peer can encrypt such Binary HTTP content under the gateway public configuration, reach OHttpRequestResponseContext.ContentDecoder.decodeChunk, and permanently pin a Netty event-loop thread at full CPU before application business logic. Multiple requests can exhaust the event-loop group and deny service until restart. This issue is fixed in version 0.0.23.Final.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| netty | netty-incubator-codec-ohttp | before 0.0.23.Final | 0.0.23.Final | Patch available | CNA |
| — | io.netty.incubator:netty-incubator-codec-bhttp (Maven) | before 0.0.23.Final | 0.0.23.Final | Patch available | GHSA-4899-mpch-38p3 |
- netty-incubator-codec-ohttp Vendornetty Affected before 0.0.23.Final Fixed in 0.0.23.Final Patch available CNA
- io.netty.incubator:netty-incubator-codec-bhttp (Maven) Vendor— Affected before 0.0.23.Final Fixed in 0.0.23.Final Patch available GHSA-4899-mpch-38p3
Remediation
Upgrade netty-incubator-codec-ohttp to 0.0.23.Final, and io.netty.incubator:netty-incubator-codec-bhttp to 0.0.23.Final. The sources list no fixed version for other releases.
Written with Claude Haiku 5.5 from the sources below · 2026-11-20
- Fix · CNA netty-incubator-codec-ohttp (netty) Fixed in 0.0.23.Final
- Fix · GHSA-4899-mpch-38p3 io.netty.incubator:netty-incubator-codec-bhttp (Maven) Fixed in 0.0.23.Final Advisory →
Timeline
- 2026-11-19 Threatist record created from CVE-2026-63202
- 2026-11-20 CISA SSVC decision points changed
References
Other 4
- https://github.com/netty/netty-incubator-codec-ohttp/security/advisories/GHSA-4899-mpch-38p3
- https://github.com/netty/netty-incubator-codec-ohttp/commit/89d6cfc67e034a92e6eef9ccb9829b6e358a91ea
- https://github.com/netty/netty-incubator-codec-ohttp/releases/tag/netty-incubator-codec-parent-ohttp-0.0.23.Final
- https://github.com/netty/netty-incubator-codec-ohttp
More netty vulnerabilities
- TI-2023-23979 HTTP/2 request cancellation lets attackers exhaust server resources KEVCVSS 3.1HIGH 7.5
- TI-2026-30861 Netty: HTTP/1.0 TE+CL Coexistence Bypasses Smuggling Sanitization CVSS 3.1CRITICAL 9.8
- TI-2026-30864 Netty: HttpClientCodec response desynchronization CVSS 3.1CRITICAL 9.1
- TI-2026-30859 Netty: DNS Codec Input Validation Bypass in Netty (Encoder + Decoder) CVSS 3.1CRITICAL 9.1
- TI-2026-64821 Netty 4.2.11 through 4.2.17 QUIC Hostname Verification Bypass CVSS 4.0HIGH 8.7
- TI-2026-64818 Netty HTTP/3 QPACK encoder-stream unbounded memory exhaustion DoS CVSS 4.0HIGH 8.7
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences