Netty merged fixes to limit memory allocation in its Brotli and Zstandard HTTP decompression paths after identifying denial-of-service risks from attacker-controlled compressed input. One change passes HttpContentDecompressor's maxAllocation setting to BrotliDecoder and ZstdDecoder, bringing them in line with gzip and zlib handling and reducing exposure to zip-bomb-style memory exhaustion in constrained environments. A second change adds a maxWindowLog parameter to ZstdDecoder so oversized Zstandard frames can be rejected before large native-memory allocations occur.
The Zstandard issue stemmed from libzstd allocating memory based on a frame's declared window size before decoding, allowing a small malicious frame to force large per-stream allocations and potentially crash servers. Netty set DEFAULT_MAX_WINDOW_LOG = 27, validated configurable values in the range 10 to 31, merged the changes into the 4.2 branch, and ported them to 4.1 and 5.0. The protections shipped in Netty 4.2.15.Final, alongside other security fixes, and downstream projects including Apache Spark and ArcadeDB moved to upgrade to consume the release.

Mallory correlates global threat intelligence with your attack surface — know if you’re exposed before adversaries strike.
2 events from the most recent confirmed update back to the earliest known activity.
Netty merged pull request #16850 into the 4.2 branch to add a maxWindowLog parameter to ZstdDecoder, limiting attacker-controlled Zstandard window sizes that could otherwise trigger excessive native memory allocation and out-of-memory conditions.
Netty merged pull request #16844 to pass HttpContentDecompressor's maxAllocation setting to BrotliDecoder and ZstdDecoder, aligning them with gzip and zlib to reduce zip-bomb-style memory exhaustion risk.
Vulnerabilities, threat actors, malware, products, organizations, and breaches Mallory has linked to this story.
3 references tracked. Mallory keeps watching after this page renders.
github.com
Open sourcegithub.com
Open sourceredirect.github.com
Open sourceMap indicators from this story to your assets and identify affected systems in minutes.
Every observed campaign, victim, and pivot linked to actors named in this story.
Malware, exploits, and IOCs connected to the activity described here.
YARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Get matching new stories delivered to your team as they break — not the next morning.
Ask questions about this story and take action on the answers.