Integer wraparound in Netty OHTTP Binary HTTP parser causes decoder crash
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · Low
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-248.
Summary
Netty incubator codec-ohttp and the io.netty.incubator:netty-incubator-codec-bhttp Maven package before 0.0.23.Final are affected. BinaryHttpParser accumulates attacker-controlled Binary HTTP variable-length integers into an int offset, so long lengths wrap around (CWE-190). A remote peer can send a small malformed message that triggers an unchecked bounds exception, which closes the channel and allows repeated denial of service. Java and Netty bounds checks prevent memory corruption, and no information disclosure was observed.
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 in codec-bhttp/src/main/java/io/netty/incubator/codec/bhttp/BinaryHttpParser.java accumulates attacker-controlled Binary HTTP variable-length integers into the int offset sumBytes. BinaryHttpParser.readRequestHead, BinaryHttpParser.readFieldLine, and BinaryHttpParser.getIndeterminateLength can narrow long lengths into that offset, causing integer wraparound before buffer indices are calculated. A remote peer that supplies a valid large encoded length to BinaryHttpParser or BinaryHttpDecoder can trigger an unchecked bounds exception from a small malformed message, fail or close the channel, and repeatedly cause denial of service. Java and Netty bounds checks prevent memory corruption, and no information disclosure was observed. 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-pgrf-4654-3gq8 |
- 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-pgrf-4654-3gq8
Remediation
Upgrade netty-incubator-codec-ohttp and io.netty.incubator:netty-incubator-codec-bhttp to 0.0.23.Final.
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-pgrf-4654-3gq8 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-61799
- 2026-11-20 CISA SSVC decision points changed
References
Other 4
- https://github.com/netty/netty-incubator-codec-ohttp/security/advisories/GHSA-pgrf-4654-3gq8
- https://github.com/netty/netty-incubator-codec-ohttp/commit/a8d4909d3ecbf3101dcaa3d7136e2508ce0cde6e
- 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