CVE-2026-42587 Netty is an asynchronous, event-driven network application framework
Description
Netty is an asynchronous, event-driven network application framework. Prior to 4.2.13.Final and 4.1.133.Final, HttpContentDecompressor accepts a maxAllocation parameter to limit decompression buffer size and prevent decompression bomb attacks. This limit is correctly enforced for gzip and deflate encodings via ZlibDecoder, but is silently ignored when the content encoding is br (Brotli), zstd, or snappy. An attacker can bypass the configured decompression limit by sending a compressed payload with Content-Encoding: br instead of Content-Encoding: gzip, causing unbounded memory allocation and out-of-memory denial of service. The same vulnerability exists in DelegatingDecompressorFrameListener for HTTP/2 connections. This vulnerability is fixed in 4.2.13.Final and 4.1.133.Final.
Affected products and versions
| Product | Affected versions | Fixed in |
|---|---|---|
| netty 4.2 | 4.2.0.Alpha1 → < 4.2.13.Final | 4.2.13.Final |
| netty 4.1 | earliest → < 4.1.133.Final | 4.1.133.Final |
| netty-codec-http 4.2 | 4.2.0.Alpha1 → < 4.2.13.Final | 4.2.13.Final |
| netty-codec-http 4.1 | earliest → < 4.1.133.Final | 4.1.133.Final |
| netty-codec-http2 4.2 | 4.2.0.Alpha1 → < 4.2.13.Final | 4.2.13.Final |
| netty-codec-http2 4.1 | earliest → < 4.1.133.Final | 4.1.133.Final |
| Cryostat 4 on RHEL 9 4.2 | earliest → < 4.2.0-10 | 4.2.0-10 |
| Red Hat OpenShift Dev Spaces 3.28 1780694994 | earliest → < 1780694994 | 1780694994 |
| Red Hat build of Quarkus 3.27.4 | Versions not published |
Show the 42 other branches Hide the 42 other branches
References
- github.com github.com
Timeline
- Published
- Last modified