CVE-2026-61799: 
Java vulnerability analysis and mitigation

Overview

CVE-2026-61799 is an integer overflow vulnerability in the io.netty.incubator:netty-incubator-codec-bhttp library (part of the netty-incubator-codec-ohttp project) that allows a remote unauthenticated attacker to crash the Binary HTTP decoder via a tiny malformed payload. The flaw affects all versions up to and including 0.0.22.Final, and was patched in 0.0.23.Final. It was originally published by maintainer normanmaurer on July 12, 2026, and added to the GitHub Advisory Database on August 20, 2026. The vulnerability carries a CVSS v3.1 base score of 5.3 (Medium) (GitHub Advisory).

Technical details

The root cause is an integer overflow/type narrowing bug (CWE-190, CWE-681) combined with an uncaught exception (CWE-248) in BinaryHttpParser.java. The parser reads Binary HTTP variable-length integers (varints) as long values but accumulates them into int sumBytes fields using compound assignment (int += long). In Java, this operation silently narrows the result back to int, so a varint encoding of 2^31 (e.g., 0xc000000080000000) wraps sumBytes to a large negative value. This negative offset bypasses the readable-bytes guard check and is subsequently used as a buffer index, triggering an unchecked ArrayIndexOutOfBoundsException. The same pattern exists in readRequestHead() (line 386–402), readFieldLine() (lines 659–680), and getIndeterminateLength() (lines 544–553). A public proof-of-concept using a 15-byte payload is included in the advisory (GitHub Advisory, Netty Security Advisory).

Impact

Successful exploitation causes an uncaught ArrayIndexOutOfBoundsException or IndexOutOfBoundsException in the Netty pipeline, which typically closes or fails the affected channel. Repeated submission of the 15-byte malformed payload can cause sustained denial of service for any application exposing BinaryHttpParser or BinaryHttpDecoder to untrusted network input. No memory corruption, confidentiality loss, or integrity impact was observed, as the failure is contained within Java/Netty bounds-checking mechanisms (GitHub Advisory).

Exploitability

A public proof-of-concept payload is included in the GitHub Security Advisory, making exploitation straightforward for any attacker with network access to an affected BHTTP endpoint. No authentication or user interaction is required. There is no evidence of in-the-wild exploitation or threat actor attribution at this time, and the CVE is not listed in the CISA KEV catalog. The EPSS score is not yet published for this CVE (GitHub Advisory).

Exploitation steps

  1. Identify target: Locate applications using io.netty.incubator:netty-incubator-codec-bhttp version <= 0.0.22.Final that expose a Binary HTTP (BHTTP) endpoint to untrusted network traffic.
  2. Craft malformed payload: Construct a 15-byte BHTTP payload: 0x00, 0xc0, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00, 0x47, 0x45, 0x54, 0x58, 0x58, 0x58. The first byte (0x00) signals a known-length request frame; bytes 2–9 encode a valid 8-byte varint for 0x80000000 (2^31) as the method length; the remaining bytes are dummy data to advance the parser.
  3. Send payload: Transmit the crafted payload to the target's BHTTP endpoint over the network (no authentication required).
  4. Trigger crash: The parser reads methodLength = 2^31 as a long, adds it to int sumBytes, causing integer wraparound to a large negative value. The subsequent buffer index computation produces a negative index, throwing an uncaught ArrayIndexOutOfBoundsException.
  5. Achieve DoS: The Netty channel is closed or failed. Repeat the payload to sustain denial of service against the endpoint (GitHub Advisory, Netty Security Advisory).

Indicators of compromise

  • Logs: Java stack traces containing java.lang.ArrayIndexOutOfBoundsException or java.lang.IndexOutOfBoundsException with negative index values (e.g., Index -2147483639 out of bounds) originating from io.netty.incubator.codec.bhttp.BinaryHttpParser.
  • Logs: Repeated Netty channel closure or failure events logged at the application level, particularly for BHTTP-handling pipelines.
  • Network: Repeated short (~15-byte) inbound connections or requests to BHTTP endpoints from the same or rotating source IPs, especially with no legitimate follow-up traffic.
  • Process: Sudden drops in active connection counts or increased channel error rates in application metrics for services using BinaryHttpParser / BinaryHttpDecoder (GitHub Advisory).

Mitigation and workarounds

Upgrade io.netty.incubator:netty-incubator-codec-bhttp to version 0.0.23.Final, which is available as part of the netty-incubator-codec-parent-ohttp-0.0.23.Final release. No configuration-based workaround is available; the fix requires updating the library. If immediate upgrade is not possible, consider placing a network-layer filter or WAF rule to block anomalously short or malformed BHTTP requests to exposed endpoints (GitHub Advisory, Netty Release).

Community reactions

The vulnerability was reported by Thai Son Dinh from VinSOC Labs (R&D) and published by Netty maintainer normanmaurer. No significant broader media coverage or notable community commentary beyond the official advisory has been identified at this time (Netty Security Advisory).

Additional resources


Source: This report was generated using AI

Related Java vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-61827HIGH8.7
  • Java logoJava
  • io.netty.incubator:netty-incubator-codec-bhttp
NoYesNov 19, 2026
CVE-2026-63202HIGH7.5
  • Java logoJava
  • io.netty.incubator:netty-incubator-codec-bhttp
NoYesNov 19, 2026
CVE-2026-63124HIGH7.5
  • Java logoJava
  • io.netty.incubator:netty-incubator-codec-bhttp
NoYesNov 19, 2026
CVE-2026-69133MEDIUM5.3
  • Java logoJava
  • io.netty.incubator:netty-incubator-codec-ohttp
NoYesNov 19, 2026
CVE-2026-61799MEDIUM5.3
  • Java logoJava
  • io.netty.incubator:netty-incubator-codec-bhttp
NoYesNov 19, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Additional Wiz resources

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management