Skip to main content

Netty CVE-2026-55851

| EUVDEUVD-2026-46438 HIGH
Uncontrolled Resource Consumption (CWE-400)
2026-07-21 GitHub_M GHSA-q6cq-mhr2-jmr5
8.7
CVSS 4.0 · Vendor: GitHub_M
View

Attack ChainAIDerived

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

  1. Access
    Reach PROXY-protocol-enabled Netty listener
  2. Delivery
    Send PROXY v2 prefix with version byte 0xFF
  3. Exploit
    Byte sign-extends to -1, hits need-more-data sentinel
  4. Execution
    Decoder buffers all inbound bytes in unbounded cumulation
  5. Persist
    Direct memory exhausted
  6. Impact
    Service crash or denial of service

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

The target application must use Netty's codec-haproxy module with HAProxyMessageDecoder in its channel pipeline and accept PROXY protocol v2 traffic from the attacker's network position - this is the concrete prerequisite. Exploitation is unauthenticated (PR:N) and needs no user interaction, but the specific trigger is a PROXY protocol v2 binary prefix followed by version byte 0xFF, which sign-extends to -1 and collides with the need-more-data sentinel. The main limiting factor is configuration: applications that do not include the HAProxy decoder in their pipeline are not reachable, so real exposure depends on whether the service terminates PROXY protocol directly on an untrusted-facing listener rather than behind a trusted load balancer.

Impact

The supplied CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H) describes a network-reachable, low-complexity, unauthenticated attack whose only impact is availability, consistent with a resource-exhaustion DoS rather than code execution or data disclosure. The 8.7 score is entirely availability-driven; there is no confidentiality or integrity loss. No EPSS score, KEV listing, or SSVC decision data was provided, and no public exploit is identified, so this is best treated as a credible but not confirmed-exploited DoS. The key limiting factor not captured by raw CVSS is deployment-specific: the vulnerable code path executes only when an application actually places HAProxyMessageDecoder in its Netty pipeline (i.e., it accepts or terminates PROXY protocol traffic). For such deployments the bug is trivial to trigger; for the majority of Netty applications that do not use codec-haproxy, the vulnerability is not reachable. Net assessment: high priority for PROXY-protocol-enabled services, low practical risk elsewhere.

Exploit ScenarioDerived

An attacker connects over the network to a Netty-based service that accepts the HAProxy PROXY protocol and sends a PROXY v2 binary prefix whose version byte is 0xFF. The decoder treats the byte as -1, never completes parsing, and buffers all further bytes the attacker streams; by keeping the connection open and continuing to send data the attacker drives direct memory to exhaustion and crashes or stalls the service. No authentication or user interaction is required, and no public exploit is identified at time of analysis.

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

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

Alert me

AnalysisAIv1 – Jul 21, 2026

Remote denial of service in the Netty networking framework (codec-haproxy module) versions 4.1.0.Final through 4.1.135 and 4.2.0.Final through 4.2.15.Final lets unauthenticated attackers exhaust JVM direct memory. The HAProxyMessageDecoder mis-parses a PROXY protocol v2 header whose version byte is 0xFF, sign-extending it to -1, which collides with the decoder's 'need more data' sentinel, so ByteToMessageDecoder accumulates inbound bytes in an unbounded cumulation buffer until the process runs out of direct memory. No public exploit identified at time of analysis; the CVSS 4.0 score of 8.7 reflects high availability impact with no confidentiality or integrity effect.

RemediationAI

Vendor-released patch: upgrade to Netty 4.1.136.Final (https://github.com/netty/netty/releases/tag/netty-4.1.136.Final) or 4.2.16.Final (https://github.com/netty/netty/releases/tag/netty-4.2.16.Final) per advisory GHSA-q6cq-mhr2-jmr5. Because Netty is usually a transitive dependency, also rebuild and repin downstream frameworks that bundle it. If you cannot patch immediately, the most direct compensating control is to stop exposing HAProxyMessageDecoder to untrusted input: remove the codec-haproxy handler from pipelines that face untrusted networks, or restrict PROXY-protocol acceptance to trusted upstream load balancers only via network ACLs or firewall rules limiting who can speak PROXY protocol to the listener. As a further guard, cap off-heap usage with -Dio.netty.maxDirectMemory and set conservative per-connection read limits so the cumulation buffer trips a bound instead of exhausting the JVM; the trade-off is that legitimate large frames may be rejected and connections closed. These controls reduce blast radius but do not fix the parsing bug, so upgrading remains the priority.

Affected VersionsENISA

netty 4.2.0.Final, < 4.2.16.Final
netty 4.1.0.Final, < 4.1.136.Final

Affected Packages

maven io.netty:netty-codec-haproxy fix: 4.1.136.Final, 4.2.16.Final
euvd netty_4_1_0_final fix: 4.1.136.Final
euvd netty_4_2_0_final fix: 4.2.16.Final

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 3 packages in maven, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Netty is a widely used asynchronous, event-driven Java network application framework that underpins many servers, proxies, and middleware libraries. The flaw is in the optional codec-haproxy module, which implements the HAProxy PROXY protocol used to preserve original client connection metadata across load balancers. HAProxyMessageDecoder detects the protocol version by reading the 13th byte of a PROXY v2 binary header. Java bytes are signed, and the decoder widens this byte to int without masking with 0xFF, so a value of 0xFF becomes -1 instead of 255. That -1 collides with the internal sentinel ByteToMessageDecoder uses to signal 'not enough data yet', so the decoder never makes progress and keeps buffering every subsequent inbound byte in its cumulation buffer. This is a classic CWE-400 Uncontrolled Resource Consumption: unbounded off-heap/direct memory growth driven by attacker-supplied input.

Know when Netty gets its next vulnerability

  • 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 (GitHub_M) 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

Network-reachable, unauthenticated, low-complexity trigger causing memory-exhaustion DoS; availability-only impact, so C:N/I:N/A:H with PR:N and UI:N.

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
SUSE 7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Red Hat 7.5 HIGH

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

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

2
Patch available
Jul 21, 2026 - 23:36 EUVD
CVE Published
Jul 21, 2026 - 21:22 cve.org
HIGH 8.7

DescriptionCVE.org

Netty is a network application framework for development of protocol servers and clients. In versions 4.2.0.Final up to (but not including) 4.2.16.Final, and 4.1.0.Final up to (but not including) 4.1.135, the HAProxyMessageDecoder in Netty's codec-haproxy module performs protocol version detection by reading the 13th byte as a signed Java byte and widening it to int without masking; a PROXY protocol v2 binary prefix followed by version byte 0xFF sign-extends to -1, collides with the decoder's need-more-data sentinel, and causes ByteToMessageDecoder to accumulate inbound bytes in an unbounded cumulation buffer until direct memory is exhausted. This issue is fixed in versions 4.1.136.Final and 4.2.16.Final.

Executive ViewAI

Why It Matters

Netty framework versions 4.1.0-4.1.135 and 4.2.0-4.2.15 contain a remote denial-of-service vulnerability enabling unauthenticated attackers to crash applications by exhausting JVM direct memory through malformed PROXY protocol v2 headers. Organizations running these versions in production face immediate application availability risk, with no vendor patch currently available.

Business Impact: High
Compensating Controls

Network ingress filtering to reject malformed PROXY protocol v2 headers with invalid version bytes; real-time JVM direct memory monitoring with escalation alerts; connection rate limiting on HAProxy codec listeners; application segmentation to limit blast radius of memory exhaustion. No vendor-released patch identified at time of analysis-actively monitor vendor security advisories for patch releases and prioritize upgrade planning.

Threat Intelligence Overview

EPSS Score
0.5%
Top 59% exploitable
Prevalence
High
Netty is ubiquitous in Java servers, but codec-haproxy is an optional module
Threat Intel
1
1 source
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS GHSA Vendor GitHub VulDB

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.5%
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
High

Priority Score

45
Low Medium High Critical
KEV: 0
EPSS: +1
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.

More in Netty

View all
CVE-2023-44487 HIGH POC
7.5 Oct 10

Denial of service against HTTP/2 server implementations allows remote unauthenticated attackers to exhaust server resour

CVE-2019-16869 HIGH POC
7.5 Sep 26

Netty before 4.1.42.Final mishandles whitespace before the colon in HTTP headers (such as a "Transfer-Encoding : chunked

CVE-2026-56820 CRITICAL POC
9.1 Jul 21

Certificate revocation-check bypass in the Netty network framework's OCSP client (io.netty:netty-handler-ssl-ocsp) affec

CVE-2024-36121 CRITICAL POC
9.1 Jun 04

netty-incubator-codec-ohttp is the OHTTP implementation for netty. Rated critical severity (CVSS 9.1), this vulnerabilit

CVE-2024-40642 HIGH POC
8.1 Jul 18

The netty incubator codec.bhttp is a java language binary http parser. Rated high severity (CVSS 8.1), this vulnerabilit

CVE-2025-24970 HIGH POC
7.5 Feb 10

Netty, an asynchronous, event-driven network application framework, has a vulnerability starting in version 4.1.91.Final

CVE-2026-59902 HIGH POC
7.5 Aug 17

Memory exhaustion in Netty's SctpMessageCompletionHandler (netty-transport-sctp) allows unauthenticated remote peers to

CVE-2026-55833 HIGH POC
7.5 Jul 20

Compression-amplification denial of service in the Netty network framework (versions prior to 4.1.136.Final and 4.2.16.F

CVE-2026-55831 HIGH POC
7.5 Jul 20

Memory-amplification denial of service in the Netty network framework (SPDY/3.1 codec) prior to 4.1.136.Final and 4.2.16

CVE-2026-56816 HIGH POC
7.5 Jul 21

Memory-exhaustion denial of service in Netty's HTTP/3 codec (Http3FrameCodec) affects all releases prior to 4.2.16.Final

CVE-2026-59903 HIGH POC
7.5 Aug 17

Netty's HTTP CORS handler silently rewrites the Vary response header to Vary: Origin in releases before 4.1.137.Final an

CVE-2026-48748 HIGH POC
7.5 Jun 12

Denial of service in the Netty HTTP/3 codec (io.netty:netty-codec-http3) prior to version 4.2.15.Final allows remote una

Vendor StatusVendor

SUSE

Severity: Important
Product Status
SUSE Linux Enterprise Desktop 15 SP7 Not-Affected
SUSE Linux Enterprise Desktop 15 SP7 Not-Affected
SUSE Linux Enterprise High Performance Computing 15 SP7 Not-Affected
SUSE Linux Enterprise High Performance Computing 15 SP7 Not-Affected
SUSE Linux Enterprise Module for Development Tools 15 SP7 Not-Affected

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