CVE-2026-56819
High · 7.5CVSS
7.5
EPSS
0.7%
Published
Jul 21, 2026
CISA due date
—
Cloudanix analysis
A remote attacker can crash affected services by sending specially timed HTTP/2 traffic that makes the application run out of memory.
- Exploitation
- Remote Unauthenticated
- Attacker needs
- None
- Complexity
- Low
- Impact
- Denial Of Service
- Component
- Library
- Class
- Denial of service
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
This vulnerability is a remotely triggerable denial-of-service flaw in Netty HTTP/2 handling when HTTP/2 content decompression is enabled through DelegatingDecompressorFrameListener. A peer can send HTTP/2 DATA frames for a stream after that stream's decompressor has already been closed. On this error path, Netty retains a direct ByteBuf but fails to release it, leaking one direct memory buffer per affected DATA frame. Repeated triggering exhausts JVM direct memory, typically causing OutOfMemoryError, Netty direct-memory allocation failures, degraded request handling, or a full JVM crash/restart. The issue affects Netty 4.2.0.Final through 4.2.15.Final and 4.1.0.Final through 4.1.135.Final and is fixed in 4.2.16.Final and 4.1.136.Final; Red Hat tracks a fix for netty codec-http2 in RHSA-2026:47172.
Why it matters to the business
An unauthenticated remote attacker can crash or destabilize services that use vulnerable Netty versions with HTTP/2 decompression enabled, causing service outages, failed API calls, customer-facing downtime, and possible cascading failures in dependent applications. The vulnerability has a high availability impact, a low EPSS score, and is not currently listed in CISA KEV, but exploit availability increases urgency for internet-facing or high-traffic HTTP/2 services.
How an attack unfolds
An attacker identifies a service using a vulnerable Netty HTTP/2 stack with content decompression enabled. The attacker establishes an HTTP/2 connection and manipulates stream state so that DATA frames are processed after the relevant decompressor has already been closed. Each crafted DATA frame causes Netty to retain a direct ByteBuf and then fail to release it on the error path. By repeatedly sending such frames, the attacker steadily consumes JVM direct memory. Once direct memory is exhausted, the application begins throwing Netty or JVM memory allocation errors, stops accepting or processing requests reliably, and may crash or be restarted by a supervisor. No authentication or user interaction is required, and exploitation is network-accessible wherever the vulnerable HTTP/2 endpoint is reachable.
How to fix it
Upgrade Netty to a fixed release: 4.1.136.Final or later for the 4.1.x line, or 4.2.16.Final or later for the 4.2.x line. For Red Hat-packaged netty, apply the vendor update for codec-http2 referenced by RHSA-2026:47172. Prioritize services that expose HTTP/2 over untrusted networks and enable HTTP/2 content decompression through DelegatingDecompressorFrameListener. If immediate patching is not possible, reduce exposure by disabling HTTP/2 content decompression, disabling HTTP/2 where operationally acceptable, limiting direct internet access to affected services, enforcing connection and stream rate limits at load balancers or proxies, and monitoring/restarting affected JVMs as a temporary availability safeguard. Treat mitigations as temporary because they do not correct the underlying ByteBuf release bug.
How to confirm the fix worked
Confirm dependency inventories and runtime artifacts no longer include Netty versions 4.2.0.Final through 4.2.15.Final or 4.1.0.Final through 4.1.135.Final. Validate that applications resolve netty-codec-http2 and related Netty modules to 4.1.136.Final, 4.2.16.Final, or vendor-patched equivalents. For Red Hat deployments, verify the applicable RHSA-2026:47172 package update is installed. Review build outputs, software composition analysis results, container images, shaded JARs, and application dependency trees because Netty is often included transitively. Functionally test HTTP/2 endpoints after upgrade, especially compressed HTTP/2 request/response paths. Where safe in a test environment, run controlled malformed or abnormal HTTP/2 stream tests and confirm direct memory remains stable and no Netty ByteBuf leak or direct-memory exhaustion errors occur.
Typical attack path
- Discover an HTTP/2 endpoint backed by a vulnerable Netty version.
- Confirm or infer that HTTP/2 content decompression is enabled.
- Open one or more HTTP/2 connections to the target service.
- Create stream conditions where the stream decompressor is closed while additional DATA frames are still processed.
- Send repeated DATA frames that trigger the retained direct ByteBuf leak.
- Continue the traffic until JVM direct memory is exhausted.
- Cause application instability, request failures, process crash, or automated restart.
How to detect it
Look for evidence of availability-focused exploitation rather than data theft. Useful sources include application logs, JVM stderr/stdout, container logs, process supervisor logs, APM traces, Netty leak detector output, load balancer and reverse proxy HTTP/2 telemetry, firewall flow logs, and crash/restart events. Investigate sudden JVM exits or restarts preceded by direct-memory allocation failures, Netty ByteBuf leak warnings, HTTP/2 stream exceptions, increased HTTP/2 DATA frame volume, or repeated abnormal stream closures from the same remote peers. Correlate memory pressure with inbound HTTP/2 traffic patterns, especially many short-lived streams, reset/closed streams followed by DATA frames, or bursts of compressed HTTP/2 traffic. Because exploitation may only produce generic memory-exhaustion symptoms, absence of a unique log line does not rule it out; combine dependency exposure, HTTP/2 decompression configuration, direct memory metrics, and network timing to assess likelihood.
- java.lang.OutOfMemoryError: Direct buffer memory
- io.netty.util.internal.OutOfDirectMemoryError
- LEAK: ByteBuf.release() was not called
- io.netty.handler.codec.http2.Http2Exception
- io.netty.handler.codec.http2.Http2Decompressor
- DelegatingDecompressorFrameListener
- Http2Decompressor.decompress
- decompressor.writeInbound
- failed to allocate direct memory
- Cannot reserve direct buffer memory
- OutOfMemoryError: Direct buffer memory
- netty-codec-http2-4.1.135.Final
- netty-codec-http2-4.2.15.Final
What your security team should do
- Inventory all applications, gateways, API services, and embedded products that include Netty HTTP/2 components.
- Prioritize patching internet-facing, partner-facing, and high-availability services using HTTP/2 decompression.
- Upgrade to Netty 4.1.136.Final, Netty 4.2.16.Final, or the applicable vendor-patched package such as the Red Hat codec-http2 update in RHSA-2026:47172.
- If patching is delayed, disable HTTP/2 decompression or HTTP/2 where feasible and apply upstream rate limits for HTTP/2 connections, streams, and DATA frame volume.
- Search logs and telemetry for prior direct-memory exhaustion, ByteBuf leak warnings, abnormal HTTP/2 stream errors, and unexpected JVM restarts since publication.
- Add monitoring for JVM direct memory usage, process restarts, HTTP/2 error rates, and spikes in DATA frame traffic.
- Ensure dependency scanning covers transitive and shaded Netty copies in application JARs and container images.
- Prepare rollback and capacity plans for critical services because exploitation causes availability loss rather than data compromise.
The record
Netty is a network application framework for development of protocol servers and clients. In versions 4.2.0.Final through 4.2.15.Final and 4.1.0.Final through 4.1.135.Final, a remote unauthenticated peer can leak one direct `ByteBuf` per HTTP/2 `DATA` frame in applications that enable HTTP/2 content decompression via `DelegatingDecompressorFrameListener`. When a `DATA` frame is processed for a stream whose decompressor has already been closed, `Http2Decompressor.decompress(...)` calls `decompressor.writeInbound(data.retain())` and does not release the retained buffer on the error path, eventually exhausting direct memory and crashing the JVM. This issue is fixed in versions 4.1.136.Final and 4.2.16.Final.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|
Related vulnerabilities
- CVE-2026-116668 Tanium addressed an uncontrolled resource consumption vulnerability in Discover. CWE-400
- CVE-2026-111751 Angular is a development platform for building mobile and desktop web applications using… CWE-400
- CVE-2026-111752 Angular is a development platform for building mobile and desktop web applications using… CWE-400
- CVE-2026-63476 isomorphic-git is a pure JavaScript implementation of Git for Node.js and browsers. CWE-400
- CVE-2026-121444 svg-sanitizer from 0.11.0 before 1.1.0 contains an algorithmic complexity denial of… CWE-400
- CVE-2026-121438 Mistune before 3.3.3 contains a denial of service vulnerability in… CWE-400
- CVE-2026-121404 FreeRDP before 3.32.2 contains a denial of service vulnerability in the shadow server… CWE-400
- CVE-2026-49924 In ShortcutInfo of ShortcutInfo.java, there is a possible way to crash the launcher via… CWE-400