CVE-2026-42587
HIGH 7.5CVSS 3.1Netty: HttpContentDecompressor maxAllocation bypass when Content-Encoding set to br/zstd/snappy leads to decompression bomb DoS
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.
- Published
- 13 May 2026
- Last modified
- 26 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-400CWE-770
- Also known as
- GHSA-f6hv-jmp6-3vwv
- Sources
- NVDJSONOSV GHSA-f6hv-jmp6-3vwvJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 0b0ca135-0b70-47e7-9f44-1890c2a1c46c (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | netty | nettycpe:2.3:a:netty:netty:*:*:*:*:*:*:*:* |
< 4.1.133 | 4.1.133 |
| NVD | netty | nettycpe:2.3:a:netty:netty:*:*:*:*:*:*:*:* |
>= 4.2.0, < 4.2.13 | 4.2.13 |
| OSV | Maven | io.netty:netty-codec-http | >= 4.2.0.Alpha1, < 4.2.13.Final | 4.2.13.Final |
| OSV | Maven | io.netty:netty-codec-http2 | >= 4.2.0.Alpha1, < 4.2.13.Final | 4.2.13.Final |
| OSV | Maven | io.netty:netty-codec-http | < 4.1.133.Final | 4.1.133.Final |
| OSV | Maven | io.netty:netty-codec-http2 | < 4.1.133.Final | 4.1.133.Final |
References
- https://github.com/netty/netty/security/advisories/GHSA-f6hv-jmp6-3vwv · Exploit, Mitigation, Vendor Advisory, WEB
- https://access.redhat.com/errata/RHSA-2026:23808
- https://access.redhat.com/errata/RHSA-2026:24502
- https://access.redhat.com/errata/RHSA-2026:25123
- https://access.redhat.com/errata/RHSA-2026:28010
- https://access.redhat.com/errata/RHSA-2026:34608
- https://access.redhat.com/errata/RHSA-2026:36820
- https://access.redhat.com/errata/RHSA-2026:37390
- https://access.redhat.com/errata/RHSA-2026:41951
- https://access.redhat.com/errata/RHSA-2026:42644
- https://access.redhat.com/errata/RHSA-2026:49700
- https://access.redhat.com/errata/RHSA-2026:49701
- https://access.redhat.com/errata/RHSA-2026:50085
- https://access.redhat.com/errata/RHSA-2026:53644
- https://access.redhat.com/errata/RHSA-2026:53645
- https://access.redhat.com/errata/RHSA-2026:53646
- https://access.redhat.com/errata/RHSA-2026:54435
- https://access.redhat.com/errata/RHSA-2026:65126
- https://access.redhat.com/errata/RHSA-2026:66488
- https://access.redhat.com/errata/RHSA-2026:66545
- https://access.redhat.com/security/cve/CVE-2026-42587
- https://bugzilla.redhat.com/show_bug.cgi?id=2477220
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-42587.json
- https://nvd.nist.gov/vuln/detail/CVE-2026-42587 · ADVISORY
- https://github.com/netty/netty · PACKAGE
History
- 25 Nov 2026 21:02 UTC · NVD: first stored (published 13 May 2026)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 7 May 2026)