CVE 7.5 HIGH

Netty: HttpContentDecompressor maxAllocation bypass via Content-Encoding: br/zstd/snappy enables decompression bomb DoS_CVE-2026-42587

7.5 / 10
HIGH
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

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.

Basic Information

ID CVE-2026-42587
Source GitHub_M
Published May 13, 2026 at 18:22
Modified May 13, 2026 at 18:44

Affected Product

Vendor netty
Product netty
Version >= 4.2.0.Alpha1, < 4.2.13.Final
Affected Versions netty netty >= 4.2.0.Alpha1, < 4.2.13.Final
netty netty < 4.1.133.Final
io.netty netty-codec-http >= 4.2.0.Alpha1, < 4.2.13.Final
io.netty netty-codec-http < 4.1.133.Final
io.netty netty-codec-http2 >= 4.2.0.Alpha1, < 4.2.13.Final
io.netty netty-codec-http2 < 4.1.133.Final

CWE Classification

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.