Resource exhaustion in Io.netty Netty-Codec-Http
CVE-2026-42587
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.
Vulnerability class: DoS (Denial of Service)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS 0.010, 63.1th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Io.netty Netty-Codec-Http — versions >= 4.2.0.Alpha1, < 4.2.13.Final, < 4.1.133.Final
- Io.netty Netty-Codec-Http2 — versions >= 4.2.0.Alpha1, < 4.2.13.Final, < 4.1.133.Final
- Netty — versions >= 4.2.0.Alpha1, < 4.2.13.Final, < 4.1.133.Final
Weakness classification (CWE)
References
- https://github.com/netty/netty/security/advisories/GHSA-f6hv-jmp6-3vwv (Exploit, Mitigation, Vendor Advisory)
- access.redhat.com/errata/RHSA-2026:23808
- access.redhat.com/errata/RHSA-2026:24502
- access.redhat.com/errata/RHSA-2026:25123
- access.redhat.com/errata/RHSA-2026:28010
- access.redhat.com/security/cve/CVE-2026-42587
- bugzilla.redhat.com/show_bug.cgi
- security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-42587.json
- access.redhat.com/errata/RHSA-2026:34608
- access.redhat.com/errata/RHSA-2026:36820