CVE-2026-42587: Netty
High severity, CVSS 7.5. EPSS: 1.0% probability of exploitation activity in the next 30 days.
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.
What to do
The record states a fixed version for each range of affected versions. Update to the one for the range your version is in: a later release on another branch may not have the fix.
- Netty, before 4.1.133: fixed in 4.1.133
- Netty, from 4.2.0, before 4.2.13: fixed in 4.2.13
Affected products
Affected packages
- io.netty:netty-codec-http (Maven)
- io.netty:netty-codec-http2 (Maven)
Published 2026-05-13. Last modified 2026-10-26.