CVE-2026-42587
Netty: HttpContentDecompressor maxAllocation bypass via Content-Encoding: br/zstd/snappy enables decompression bomb DoS
- State
- Published
- Severity
- 7.5 High
- Published
- May 13, 2026
- Updated
- Sep 18, 2026
- Reserved
- Apr 28, 2026
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 7.5 High | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | GitHub_M |
| 3.1 | 7.5 High | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | redhat-SADP |
Weaknesses
Affected Products
| Product | Versions |
|---|---|
nettynetty |
|
netty-codec-httpio.netty |
|
netty-codec-http2io.netty |
|
References
- https://github.com/netty/netty/security/advisories/GHSA-f6hv-jmp6-3vwv
- https://access.redhat.com/security/cve/CVE-2026-42587vdb-entry
- RHBZ#2477220issue-tracking
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-42587.json
- https://access.redhat.com/errata/RHSA-2026:49700vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:53644vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:53645vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:28010vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:53646vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:66545vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:66488vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:41951vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:50085vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:49701vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:42644vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:65126vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:25123vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:36820vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:37390vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:23808vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:24502vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:34608vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:54435vendor-advisory
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.