Loading advisory.
Loading advisory.
netty-handler SniHandler 16MB allocation
The SniHandler can allocate up to 16MB of heap for each channel during the TLS handshake. When the handler or the channel does not have an idle timeout, it can be used to make a TCP server using the SniHandler to allocate 16MB of heap.
Published 2023-06-20 16:33 UTC · Modified 2026-09-10 03:50 UTC
Severity and EPSS are shown separately. Helm does not combine them into one score. How tiers work
| Package | Ecosystem | Affected | Fixed in | Upgrade command |
|---|---|---|---|---|
| io.netty:netty-handler | Maven | < 4.1.94.Final versions 4.0.0.Alpha1, 4.0.0.Alpha2, 4.0.0.Alpha3, 4.0.0.Alpha4, 4.0.0.Alpha5, 4.0.0.Alpha6, 4.0.0.Alpha7, 4.0.0.Alpha8, 4.0.0.Beta1, 4.0.0.Beta2, 4.0.0.Beta3, 4.0.0.CR1, 4.0.0.CR2, 4.0.0.CR3, 4.0.0.CR4, 4.0.0.CR5, 4.0.0.CR6, 4.0.0.CR7, 4.0.0.CR8, 4.0.0.CR9 and 167 more | 4.1.94.Final | No single command for Maven. Update to 4.1.94.Final in your build file. |
The SniHandler can allocate up to 16MB of heap for each channel during the TLS handshake. When the handler or the channel does not have an idle timeout, it can be used to make a TCP server using the SniHandler to allocate 16MB of heap.
The SniHandler class is a handler that waits for the TLS handshake to configure a SslHandler according to the indicated server name by the ClientHello record. For this matter it allocates a ByteBuf using the value defined in the ClientHello record.
Normally the value of the packet should be smaller than the handshake packet but there are not checks done here and the way the code is written, it is possible to craft a packet that makes the SslClientHelloHandler
1/ allocate a 16MB ByteBuf
2/ not fail decode method in buffer
3/ get out of the loop without an exception
The combination of this without the use of a timeout makes easy to connect to a TCP server and allocate 16MB of heap memory per connection.
If the user has no idle timeout handler configured it might be possible for a remote peer to send a client hello packet which lead the server to buffer up to 16MB of data per connection. This could lead to a OutOfMemoryError and so result in a DDOS.
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.025 on 2026-11-24 to 0.018 on 2026-11-26, over 2 recorded scores.
| Date | Score | Previous | Model |
|---|---|---|---|
| 2026-11-24 | 0.025 | first score | v2026.06.15 |
| 2026-11-26 | 0.018 | 0.025 | v2026.06.15 |