Loading advisory.
Loading advisory.
Netty: Fragmented ClientHello records trigger quadratic pre-handshake reassembly in default SNI parsing
Netty's default SNI entrypoint reparses and recopies previously received ClientHello fragments on every additional TLS handshake record.
Published 2026-08-19 20:56 UTC · Modified 2026-09-08 18:27 UTC
Severity and EPSS are shown separately. Helm does not combine them into one score.
| Package | Ecosystem | Affected | Fixed in | Upgrade command |
|---|---|---|---|---|
| io.netty:netty-handler | Maven | >= 4.2.0.Final, < 4.2.17.Final < 4.1.137.Final versions 4.2.0.Final, 4.2.1.Final, 4.2.10.Final, 4.2.11.Final, 4.2.12.Final, 4.2.13.Final, 4.2.14.Final, 4.2.15.Final, 4.2.16.Final, 4.2.2.Final, 4.2.3.Final, 4.2.4.Final, 4.2.5.Final, 4.2.6.Final, 4.2.7.Final, 4.2.8.Final, 4.2.9.Final, 4.0.0.Alpha1, 4.0.0.Alpha2, 4.0.0.Alpha3 and 227 more | 4.2.17.Final, 4.1.137.Final | No single command for Maven. Update to 4.2.17.Final, 4.1.137.Final in your build file. |
Netty's default SNI entrypoint reparses and recopies previously received ClientHello fragments on every additional TLS handshake record. A remote peer can send a small first record that advertises a large ClientHello length and then drip the body in many tiny records, causing superlinear (quadratic) CPU work before the handshake completes. With 4095 one-byte fragments, the handler recopies 8,386,560 bytes from only 24,579 bytes on the wire — a 341× amplification ratio.
io.netty.handler.ssl.SniHandler — default constructors
io.netty.handler.ssl.SslClientHelloHandler — pre-handshake ClientHello aggregation path
handler/src/main/java/io/netty/handler/ssl/SniHandler.java:85
handler/src/main/java/io/netty/handler/ssl/SslClientHelloHandler.java:75 (decode entry)
handler/src/main/java/io/netty/handler/ssl/SslClientHelloHandler.java:165 (handshakeBuffer.clear)
handler/src/main/java/io/netty/handler/ssl/SslClientHelloHandler.java:174 (writeBytes re-copy)
codec-base/src/main/java/io/netty/handler/codec/ByteToMessageDecoder.java:294 (cumulation retention)
1. TCP connection → SniHandler → SslClientHelloHandler.decode
2. First record: TLS handshake header declaring large ClientHello length (e.g., 4096 bytes)
3. Attacker sends thousands of tiny follow-on handshake records (1 byte each)
4. On each fragment: handshakeBuffer.clear() + writeBytes() re-copies ALL accumulated body bytes
5. Total bytes copied = n*(n+1)/2 where n = number of body bytes → quadratic
6. Event-loop CPU exhausted before SslHandler takes overVulnerability Type: Inefficient Algorithmic Complexity
An unauthenticated network attacker can drive disproportionate CPU consumption on the Netty event loop
Affects all Netty deployments using SniHandler for TLS termination (the default SNI path)
No privileges, user interaction, or special configuration required
Can degrade or stall TLS connection handling for all clients on the affected event loop
The attack requires only modest bandwidth (~25 KB) to trigger significant CPU work
Found by a security research team from the University of Sydney, focusing on detecting open source software vulnerabilities. Liyi Zhou: https://lzhou1110.github.io/ Ziyue Wang: https://zyy0530.github.io/ Strick: https://str1ckl4nd.github.io/ Maurice: https://maurice.busystar.org/ Chenchen Yu: https://7thparkk.github.io/
No public exploit code known to Helm's sources (Nuclei templates, Metasploit, Exploit-DB and PoC-in-GitHub). That does not mean none exists.
EPSS went from 0.004 on 2026-11-24 to 0.007 on 2026-11-26, over 2 recorded scores.
| Date | Score | Previous | Model |
|---|---|---|---|
| 2026-11-24 | 0.004 | first score | v2026.06.15 |
| 2026-11-26 | 0.007 | 0.004 | v2026.06.15 |