Netty BHTTP Codec CVE-2026-61827
HIGHAttack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessConnect as remote BHTTP peer
-
ExploitSend oversized encoded variable field lengths
-
ExecutionParser buffers data without limit
-
ImpactJVM heap exhausted, OOM crash
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V2 - Validation and Business Logic Resource consumption limits
MITRE ATT&CK
1 technique across 1 tactic: Impact The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires an application that uses netty-incubator-codec-bhttp's BinaryHttpParser to parse Binary HTTP messages supplied by an untrusted remote peer; the peer controls the encoded variable-length field values, which are not bounded in versions <= 0.0.22.Final. No authentication, user interaction, or special configuration is needed once the parser is exposed to attacker-controlled input (AV:N/PR:N/UI:N). The main limiting factor is reach: this is an experimental incubator codec, so exposure exists only where an application has actually integrated the BHTTP parser on an attacker-reachable path; updating to 0.0.23.Final is the vendor's fix. |
| Impact | This is a genuine but bounded availability risk, not a top-tier emergency. The supplied CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N) describes remote, unauthenticated, low-complexity reachability, but impact is confined to availability (VC:N/VI:N/VA:H) - there is no confidentiality or integrity exposure, consistent with CWE-400/CWE-770 unbounded resource consumption leading to OOM. The vuln.today Decision label is 'this_week' (prioritize, but not act_now/emergency). No EPSS score was provided and the CVE is NOT in CISA KEV, so there is no evidence of active exploitation; no SSVC automatable/technical-impact fields were supplied either. The strongest mitigating signal is deployment scope: the affected package is an experimental Netty *incubator* OHTTP/BHTTP codec, so real-world exposure is far narrower than the ubiquitous Netty core, which tempers the 8.7 base score. Net: a real, patch-this-week issue for the small set of applications that actually parse BHTTP from untrusted peers, rather than a widespread internet-scale threat. |
| Exploit ScenarioDerived | An application uses netty-incubator-codec-bhttp's BinaryHttpParser to decode Binary HTTP messages received from a remote peer. The attacker, acting as that peer, sends a BHTTP message whose encoded variable-length field values advertise enormous lengths; because no limit is enforced, the parser keeps buffering attacker-supplied data until the JVM exhausts heap memory and the service crashes. No public exploit was identified at time of analysis; the only linked code is the vendor's fix commit, not weaponized exploit code. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv2 – Nov 19, 2026
Unbounded length-prefixed field decoding in the Netty incubator Binary HTTP (BHTTP) parser lets a remote peer make the decoder buffer data indefinitely until the JVM exhausts memory and fails. The flaw affects io.netty.incubator:netty-incubator-codec-bhttp through 0.0.22.Final, where the encoded scheme, authority and path lengths carried in Binary HTTP messages are never bounded; exploitation needs no authentication, user interaction or special configuration once the parser is reachable. This is a bounded availability risk rather than a top-tier emergency: no public exploit code or CISA KEV entry exists, and reach is limited to applications that actually wired this experimental incubator codec onto an attacker-reachable path - the vendor fix is 0.0.23.Final.
Earlier versions of this analysis (1)
Unbounded memory consumption in Netty's Binary HTTP (BHTTP) codec allows any remote peer to trigger out-of-memory (OOM) conditions by sending crafted encoded variable-length field values. The BinaryHttpParser in netty-incubator-codec-bhttp versions up to and including 0.0.22.Final applies no upper-bound enforcement on variable-length integers used for field sizes, meaning a malicious or misbehaving peer can instruct the parser to buffer arbitrarily large amounts of data until the JVM heap is exhausted. No public exploit has been identified at time of analysis, and no KEV listing exists, but the straightforward nature of the trigger makes exploitation trivial for any party with network access to a service using this codec.
RemediationAI
Upgrade io.netty.incubator:netty-incubator-codec-bhttp to 0.0.23.Final (released as netty-incubator-codec-parent-ohttp-0.0.23.Final), which adds maxInitialLineSize with a 256-byte default and enforces it through checkInitialLineSize(), raising TooLongFrameException instead of buffering indefinitely; the fix commit is c5169de8814dbe730280fd793a0428a844e9045c and the advisory is https://github.com/netty/netty-incubator-codec-ohttp/security/advisories/GHSA-hmq9-67w8-j5pw. After upgrading, use the new BinaryHttpParser(int maxInitialLineSize, int maxFieldSectionSize) constructor to tune both limits to the largest legitimate control section your peers send - set them too low and valid requests are rejected with TooLongFrameException, so size them against real traffic. If the upgrade cannot be applied immediately, the only effective compensation is to keep attacker-controlled data away from the unfixed parser: do not expose BHTTP decoding endpoints to untrusted peers, and where that is unavoidable front the service with a proxy or pipeline stage that hard-caps inbound message sizes and terminates oversized connections, accepting that such caps can drop legitimate large messages and that a sufficiently long but individually small stream of frames may still accumulate until connection-level limits bite. Monitor heap growth and GC pressure on services that parse BHTTP as an early indicator, but note that per the vendor the version upgrade is the complete fix.
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in maven
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Binary HTTP (RFC 9292) is a compact binary encoding of HTTP messages used in privacy-preserving transports such as Oblivious HTTP, and netty-incubator-codec-ohttp's BinaryHttpParser decodes it inside a Netty pipeline. Each field (scheme, authority, path) is preceded by a variable-length integer giving its byte length; the parser sums those declared lengths with overflow checks but, before the fix, only compared the running total against the bytes currently readable in the buffer. That meant a peer could declare lengths far larger than any message it intended to send, keeping the parser in a read-accumulate state so inbound ByteBufs grew without bound - the root cause class is CWE-400 (Uncontrolled Resource Consumption), reinforced by CWE-770 (Allocation of Resources Without Limits or Throttling). The upstream commit c5169de introduces a maxInitialLineSize setting (defaulting to 256 bytes) alongside the existing maxFieldSectionSize, replaces every readable-bytes check in readRequestHead/readResponseHead with a checkInitialLineSize() guard, and throws TooLongFrameException once the declared initial-line size is exceeded, capping buffering.
Know when the next one hits your stack
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
Remote unauthenticated peer with controlled field lengths triggers unbounded buffering (AV:N/AC:L/PR:N/UI:N); impact is memory-exhaustion DoS only, so C:N/I:N/A:H.
Primary rating from Vendor (https://github.com/netty/netty-incubator-codec-ohttp).
CVSS VectorVendor: https://github.com/netty/netty-incubator-codec-ohttp
Lifecycle Timeline
3DescriptionCVE.org
We don't enforce any limits for the encoded variable lengths that are used for fields. As the remote peer controls these it's easy for the remote peer to have us buffer data forever and so ultimately OOM.
Blast Radius
ecosystem impact- 1 maven packages depend on io.netty.incubator:netty-incubator-codec-bhttp (1 direct, 0 indirect)
Ecosystem-wide dependent count for version 0.0.23.Final.
Executive ViewAI
A high-severity flaw in the experimental Netty Binary HTTP codec (CVE-2026-61827) could allow a remote attacker to crash Java services by exhausting server memory, but only if that incubator component is actively used. The impact is limited to availability of specific applications, not data compromise, and no public exploit code exists at this time, making this a contained operational risk rather than a broad emergency.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
GHSA-hmq9-67w8-j5pw
NVD
CVE.org
EPSS
Exploit-DB