Security mailing lists by PureSourceCode

CVE-2026-42587

HIGH 7.5CVSS 3.1

Netty: 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

SourceScored byVersionScoreVector / 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

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD netty netty
cpe:2.3:a:netty:netty:*:*:*:*:*:*:*:*
< 4.1.133 4.1.133
NVD netty netty
cpe: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

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)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.