CVE-2026-55833: Netty SPDY zlib header block continues decoded expansion after maxHeaderSize truncation
Summary Netty SPDY header decoding continues inflating zlib-compressed header blocks after the raw header parser has already exceeded maxHeaderSize and marked the frame truncated. At commit b2d2137c4404af425bf9d5d601a62576f5c06925, a 12,253-byte compressed SPDY header block can declare and inflate a 12 MiB header-name field with maxHeaderSize=16, forcing compression-amplified decode and skip work in a reachable…
Published Jul 22, 2026
Affected packages
io.netty:netty-codec-http
- Ecosystem
- Maven
- Affected
- >= 4.2.0.Final, <= 4.2.15.Final
- Fixed in
- 4.2.16.Final
- Check
mvn dependency:tree -Dincludes=io.netty:netty-codec-http
io.netty:netty-codec-http
- Ecosystem
- Maven
- Affected
- >= 4.1.0.Final, <= 4.1.135.Final
- Fixed in
- 4.1.136.Final
- Check
mvn dependency:tree -Dincludes=io.netty:netty-codec-http
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Summary
Netty SPDY header decoding continues inflating zlib-compressed header blocks after the raw header parser has already exceeded maxHeaderSize and marked the frame truncated. At commit b2d2137c4404af425bf9d5d601a62576f5c06925, a 12,253-byte compressed SPDY header block can declare and inflate a 12 MiB header-name field with maxHeaderSize=16, forcing compression-amplified decode and skip work in a reachable SpdyFrameCodec pipeline.
PoC
run with:
bash ./poc/run.shexpected output:
NETTY_SPDY_ZLIB_DECODED_AFTER_LIMIT_TRIGGERED compressed_bytes=12253 declared_name_length=12582912 max_header_size=16 truncated=true invalid=falseThe fingerprint means the compressed input was fully consumed while the raw header parser ended with truncated=true and invalid=false after processing the oversized decoded name. That specific state distinguishes this bug from a generic setup failure: the maxHeaderSize guard fired, but the zlib/raw decode path still inflated and skipped the full 12 MiB declared name.
Impact
A remote unauthenticated peer that can speak SPDY to a Netty pipeline containing SpdyFrameCodec can send a small compressed HEADERS block that expands into much larger raw header data after the configured maxHeaderSize limit has already been exceeded. The attack requires a reachable SPDY codec, ordinary transport setup such as TCP and optional TLS, and no independent compressed-frame-size or connection-rate limit ahead of SpdyFrameCodec. The satisfied protocol guards are straightforward: the HEADERS frame uses a nonzero stream id and length >= 4, the decoder factory selects the zlib decoder, the payload uses the SPDY dictionary, and the raw block appends a zero-length value so the already-truncated frame reaches END_HEADER_BLOCK. The user-visible effect is denial of service through compression-amplified CPU and allocation churn.
Credited to Alexender676.
References
- https://github.com/netty/netty/security/advisories/GHSA-mvh2-crg5-v77c
- https://nvd.nist.gov/vuln/detail/CVE-2026-55833
- https://github.com/netty/netty/commit/5b68c61f37aa4a3045cba624cbea239655c9003b
- https://github.com/netty/netty/commit/bb2ff68a1fb71cb4b0eb9a9e17b66c52aff680c6
- https://github.com/netty/netty/releases/tag/netty-4.1.136.Final
- https://github.com/netty/netty/releases/tag/netty-4.2.16.Final
- https://github.com/advisories/GHSA-mvh2-crg5-v77c
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Maven vulnerabilities
All Maven entriesCVE-2026-59903
Netty Vulnerable to Cache Poisoning and Information Disclosure via CORS Vary Header Overwrite
medium6.5Aug 17, 2026CVE-2026-55831
Netty SPDY SETTINGS frame count materializes unbounded settings map
high7.5Jul 22, 2026CVE-2026-56745
Netty: [SpdyHttpDecoder] ByteBuf Reference Leak on RST_STREAM Leads to Native Memory Exhaustion
high8.7Jul 22, 2026CVE-2026-56746
Netty: Security Control Bypass via CORS Short-Circuit Failure
medium6.5Jul 22, 2026CVE-2026-59898
Netty: WebSockets V07/V08 handshaker missing Connection/Upgrade validation
medium6.3Jul 22, 2026CVE-2026-59899
Netty: [HttpContentEncoder] Unbounded Per-Connection Queue Growth via HTTP/1.1 Pipelining Leads to Denial of Service
medium6.9Jul 22, 2026
