Skip to main content

Netty BHTTP Codec CVE-2026-61827

HIGH
Uncontrolled Resource Consumption (CWE-400)
2026-08-20 https://github.com/netty/netty-incubator-codec-ohttp GHSA-hmq9-67w8-j5pw
8.7
CVSS 4.0 · Vendor: https://github.com/netty/netty-incubator-codec-ohttp
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Connect as remote BHTTP peer
  2. Exploit
    Send oversized encoded variable field lengths
  3. Execution
    Parser buffers data without limit
  4. Impact
    JVM 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv2 – 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)
v1 Aug 20, 2026 - 19:27

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

maven io.netty.incubator:netty-incubator-codec-bhttp fix: 0.0.23.Final

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

Vendor (https://github.com/netty/netty-incubator-codec-ohttp) PRIMARY 8.7 HIGH
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
vuln.today AI 7.5 HIGH

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.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (https://github.com/netty/netty-incubator-codec-ohttp).

CVSS VectorVendor: https://github.com/netty/netty-incubator-codec-ohttp

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

3
Analysis Updated
Nov 19, 2026 - 22:37 vuln.today
v2 - CVSS changed
CVSS changed
Nov 19, 2026 - 22:22 NVD
8.7 (HIGH)
CVE Published
Aug 20, 2026 - 18:43 cve.org
HIGH

DescriptionCVE.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
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 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

Why It Matters

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.

Business Impact: Medium
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.3%
Top 76% exploitable
Prevalence
Low
experimental Netty incubator OHTTP/BHTTP codec, narrow adoption
Threat Intel
1
1 source
Data Quality
4 sources
Confidence: Medium

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
Medium

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

Affected Products (CPE)CVE.org

pkg:maven/io.netty.incubator:netty-incubator-codec-bhttp

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy