Netty CVE-2026-42577
HIGHAttack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessOpen TCP connection to epoll-based Netty server
-
DeliverySend FIN to half-close the input
-
ExploitSend RST via SO_LINGER=0 close
-
ExecutionEPOLLERR/EPOLLHUP never processed, channelInactive never fires
-
ImpactRepeat to leak fds/memory or pin event loop at 100% CPU
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Resource cleanup on lifecycle end
|
| Exploitation Conditions | Exploitation requires the target to use Netty's native epoll transport on Linux and for the affected connection to be half-closed - either because ALLOW_HALF_CLOSURE is enabled on the channel, or because the connection is placed in a half-closed state by the HTTP codec. Given those conditions, an unauthenticated remote attacker triggers the bug simply by sending a FIN (half-close) followed by a RST (e.g. closing with SO_LINGER=0); the server then fails to fire channelInactive and never releases the channel. Limiting factors: the epoll (Linux-native) transport must be in use, and the half-closure condition must hold, so services running the NIO transport or with half-closure disabled are not exposed; the worst-case 100% CPU busy-loop additionally depends on code paths where clearEpollIn0() is not called during the ChannelInputShutdownReadComplete event, whereas the file-descriptor/memory leak occurs more broadly. |
| Impact | The signals are internally consistent and point to a genuine but bounded availability risk. The CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H = 7.5) captures a remotely reachable, unauthenticated, availability-only impact with no confidentiality or integrity loss - appropriate for a DoS. That High CVSS should be read against a very low EPSS (0.04%, 11th percentile), no CISA KEV listing, and no observed public exploit, so this is not a mass-exploitation candidate; it is a High-CVSS/low-real-world-urgency issue at present. The one nuance the raw vector hides is a deployment precondition: the connection must have ALLOW_HALF_CLOSURE enabled or otherwise be in a half-closed state via the HTTP codec, so AC:L slightly understates the practical prerequisite. Impact severity is real where it applies - the CPU busy-loop variant can take down an entire event loop and every connection on it - but exposure depends on configuration, so prioritize based on whether your Netty services run the epoll transport with half-closure semantics. |
| Exploit ScenarioDerived | An attacker opens many TCP connections to an internet-facing Netty service that uses the epoll transport with half-closure enabled, sends a FIN to half-close each one, then immediately sends a RST by closing with SO_LINGER=0. Each connection is left as a stale, never-cleaned-up channel, and on vulnerable code paths one such fd pins the event-loop thread at 100% CPU, degrading or denying service for all other clients on that loop. No authentication or user interaction is required and no public exploit code is currently known, but the sequence is trivial to script with raw sockets. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 23, 2026
Denial of service in Netty's native epoll transport (netty-transport-native-epoll 4.2.0.Final through 4.2.12.Final) lets an unauthenticated remote peer leave server-side channels permanently stuck by sending a FIN to half-close a connection and then a RST. Because the EPOLLERR/EPOLLHUP condition is never processed once input is marked shut down, channelInactive never fires, so connections leak and, in code paths where clearEpollIn0() is skipped, the event-loop thread spins at 100% CPU and starves every other multiplexed connection. There is no public exploit identified at time of analysis, and the EPSS score is very low (0.04%, 11th percentile), consistent with a resource-exhaustion bug rather than a code-execution one.
RemediationAI
Upgrade the netty-transport-native-epoll dependency to 4.2.13.Final, the fixed release; note the advisory states this release was not yet cut as of 2026-04-25, so if a tagged 4.2.13.Final is not yet available in your repository, build from the 4.2 branch at commit 0ec3d97fab376e243d328ac95fbd288ba0f6e22d (PR https://github.com/netty/netty/pull/16689) which removes the stale fd from the epoll set once no events are of interest. Because Netty is usually a transitive dependency, pin the version explicitly (for example via a Maven dependencyManagement or Gradle resolution constraint) so upstream frameworks do not pull the vulnerable range back in. If you cannot upgrade immediately, apply idle-timeout handlers on connections (e.g. an IdleStateHandler that closes read-idle channels) to cap the lifetime of stale channels and reclaim leaked file descriptors - the trade-off is that overly aggressive timeouts can prematurely close legitimate long-lived or keep-alive connections, so tune the idle window to your traffic. Where feasible, also review whether ALLOW_HALF_CLOSURE is actually required for a given pipeline, since disabling it removes the primary trigger condition.
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in maven
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Netty is a high-performance asynchronous Java networking framework, and netty-transport-native-epoll is its Linux-specific JNI transport that drives sockets directly through the epoll(7) event notification interface instead of Java NIO. The bug is rooted in how Netty reacts (or fails to react) to epoll readiness events on a half-closed socket: epollOutReady() is a no-op with no pending flush, epollInReady() short-circuits through shouldBreakEpollInReady() because input is already shut down, and as a result the EPOLLERR/EPOLLHUP raised by the incoming RST is never handled. This maps to CWE-772 (Missing Release of Resource after Effective Lifetime): the file descriptor, channel object, and memory tied to the dead connection are never released. The fix (PR #16689, commit 0ec3d97) introduces an EpollIoOps.NONE sentinel that calls Native.epollCtlDel to remove the fd from the epoll set once nothing is interesting anymore, preventing the perpetual EPOLLHUP/EPOLLERR re-notification. The single affected artifact is the Maven package io.netty:netty-transport-native-epoll.
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
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Remote unauthenticated FIN+RST sequence causes availability-only DoS (A:H) with no confidentiality/integrity impact; AC:L since the deployment precondition (half-closure) is not per-attack complexity.
Primary rating from Vendor (https://github.com/netty/netty).
CVSS VectorVendor: https://github.com/netty/netty
DescriptionCVE.org
Summary
Netty's epoll transport fails to detect and close TCP connections that receive a RST after being half-closed, leading to stale channels that are never cleaned up and, in some code paths, a 100% CPU busy-loop in the event loop thread.
Affected versions
All versions of 4.2.x netty-transport-native-epoll up to and including 4.2.12.Final
Fixed in
4.2.13.Final (fix merged into the 4.2 branch via #16689; release not yet cut as of 2026-04-25).
Severity
Medium - Denial of Service (resource exhaustion / CPU spin)
CWE: CWE-772: Missing Release of Resource after Effective Lifetime
Description
When a TCP connection using Netty's epoll transport has ALLOW_HALF_CLOSURE enabled (or is in a half-closed state via the HTTP codec), and the remote peer:
- Sends a FIN (half-close), causing the server to mark the input as shutdown, then
- Sends a RST (e.g. by closing with
SO_LINGER=0)
the server-side channel is never closed. This happens because:
epollOutReady()is a no-op when there is no pending flush.epollInReady()short-circuits viashouldBreakEpollInReady()because input is already marked as shutdown.- The
EPOLLERR/EPOLLHUPerror condition is therefore never processed, andchannelInactiveis never fired.
Depending on the Netty version and configuration, this results in:
- Stale channels: The connection is never closed or deregistered. An unauthenticated remote attacker can repeat the sequence to accumulate stale connections, exhausting file descriptors, memory, or connection-count limits.
- CPU busy-loop: In code paths where
clearEpollIn0()is not called during theChannelInputShutdownReadCompleteevent,epoll_waitreturns immediately on every iteration for the affected fd, causing 100% CPU utilization on the event loop thread and starving all other connections multiplexed on it.
Mitigation
- Upgrade to 4.2.13.Final when released (or build from the
4.2branch at commit0ec3d97). - If upgrading is not immediately possible, configure idle timeouts on connections to limit the lifetime of stale channels.
Resources
- Issue: https://github.com/netty/netty/issues/16683
- Fix: https://github.com/netty/netty/pull/16689
Blast Radius
ecosystem impact- 200 maven packages depend on io.netty:netty-transport-classes-epoll (5 direct, 195 indirect)
- 182 maven packages depend on io.netty:netty-transport-native-epoll (21 direct, 161 indirect)
Ecosystem-wide dependent count for version 4.2.0.Final and other introduced versions.
Executive ViewAI
Netty's native epoll transport (versions 4.2.0 through 4.2.12) contains a denial-of-service vulnerability allowing unauthenticated remote attackers to exhaust server resources and trigger event-loop thread starvation. Affected deployments experience connection leaks and service degradation when malformed connection sequences are processed. Organizations using vulnerable Netty versions in any network-facing application should prioritize remediation to protect application availability.
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-rwm7-x88c-3g2p
NVD
CVE.org
EPSS
VulDB
Exploit-DB