CVE-2026-45416
Netty: SNI handler pre-allocates up to 16 MiB from nine attacker bytes
Description
Netty is a network application framework for development of protocol servers and clients. Prior to versions 4.1.135.Final and 4.2.15.Final, SslClientHelloHandler.decode() reads the 24-bit TLS handshake length and, when the ClientHello does not fit in the first record, eagerly allocates `ctx.alloc().buffer(handshakeLength)` (line 161). The guard at line 140 is `handshakeLength > maxClientHelloLength && maxClientHelloLength != 0`, and the commonly-used SniHandler/AbstractSniHandler constructors (SniHandler(Mapping), SniHandler(AsyncMapping), AbstractSniHandler()) pass maxClientHelloLength=0 and handshakeTimeoutMillis=0, so the length guard is disabled and no timeout is scheduled. A 16 MiB request exceeds the default pooled chunk size and becomes a huge/unpooled allocation performed immediately. The buffer is retained in the handler until the channel closes. Versions 4.1.135.Final and 4.2.15.Final patch the issue.
INFO
Published Date :
June 12, 2026, 3:16 p.m.
Last Modified :
June 15, 2026, 2:15 a.m.
Remotely Exploit :
Yes !
Source :
[email protected]
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 3.1 | HIGH | [email protected] | ||||
| CVSS 3.1 | HIGH | 0b0ca135-0b70-47e7-9f44-1890c2a1c46c |
Solution
- Update Netty to version 4.1.135.Final or later.
- Update Netty to version 4.2.15.Final or later.
Public PoC/Exploit Available at Github
CVE-2026-45416 has a 2 public
PoC/Exploit available at Github.
Go to the Public Exploits tab to see the list.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-45416.
| URL | Resource |
|---|---|
| https://github.com/netty/netty/releases/tag/netty-4.1.135.Final | Release Notes |
| https://github.com/netty/netty/releases/tag/netty-4.2.15.Final | Release Notes |
| https://github.com/netty/netty/security/advisories/GHSA-x4gw-5cx5-pgmh | Vendor Advisory |
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-45416 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-45416
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Pizza on Dapr — Spring Boot 4 three-service reference: pub/sub, state, service invocation, Testcontainers + KinD e2e on cloud-provider-kind LB, multi-arch GHCR + cosign keyless OIDC
cloud-native dapr java k8 kubernetes
Java JavaScript CSS HTML Makefile Shell
Kafka sink for Kusto
kafka-connector azure-data-explorer kusto
Java Shell Dockerfile
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-45416 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-45416 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Jun. 15, 2026
Action Type Old Value New Value Added CPE Configuration OR *cpe:2.3:a:netty:netty:*:*:*:*:*:*:*:* versions up to (excluding) 4.1.135 *cpe:2.3:a:netty:netty:*:*:*:*:*:*:*:* versions from (including) 4.2.0 up to (excluding) 4.2.15 Added Reference Type GitHub, Inc.: https://github.com/netty/netty/releases/tag/netty-4.1.135.Final Types: Release Notes Added Reference Type GitHub, Inc.: https://github.com/netty/netty/releases/tag/netty-4.2.15.Final Types: Release Notes Added Reference Type GitHub, Inc.: https://github.com/netty/netty/security/advisories/GHSA-x4gw-5cx5-pgmh Types: Vendor Advisory -
New CVE Received by [email protected]
Jun. 12, 2026
Action Type Old Value New Value Added Description Netty is a network application framework for development of protocol servers and clients. Prior to versions 4.1.135.Final and 4.2.15.Final, SslClientHelloHandler.decode() reads the 24-bit TLS handshake length and, when the ClientHello does not fit in the first record, eagerly allocates `ctx.alloc().buffer(handshakeLength)` (line 161). The guard at line 140 is `handshakeLength > maxClientHelloLength && maxClientHelloLength != 0`, and the commonly-used SniHandler/AbstractSniHandler constructors (SniHandler(Mapping), SniHandler(AsyncMapping), AbstractSniHandler()) pass maxClientHelloLength=0 and handshakeTimeoutMillis=0, so the length guard is disabled and no timeout is scheduled. A 16 MiB request exceeds the default pooled chunk size and becomes a huge/unpooled allocation performed immediately. The buffer is retained in the handler until the channel closes. Versions 4.1.135.Final and 4.2.15.Final patch the issue. Added CVSS V3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H Added CWE CWE-770 Added Reference https://github.com/netty/netty/releases/tag/netty-4.1.135.Final Added Reference https://github.com/netty/netty/releases/tag/netty-4.2.15.Final Added Reference https://github.com/netty/netty/security/advisories/GHSA-x4gw-5cx5-pgmh