Vulnerability · Published Jun 12, 2026 · Assigned by GitHub_M
CVE-2026-45416Netty: SNI handler pre-allocates up to 16 MiB from nine attacker bytes
High 7.5
In plain English
A high-severity resource allocation without limits in netty from netty. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.9% (higher than 60% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | netty | no fix listed | DEBIAN-CVE-2026-45416 |
| Debian:13 | netty | no fix listed | DEBIAN-CVE-2026-45416 |
| Debian:14 | netty | no fix listed | DEBIAN-CVE-2026-45416 |
| Maven | io.netty:netty-handler | 4.1.135.Final | GHSA-x4gw-5cx5-pgmh |
| Maven | io.netty:netty-handler | 4.2.15.Final | GHSA-x4gw-5cx5-pgmh |
| Ubuntu:25.10 | netty | no fix listed | UBUNTU-CVE-2026-45416 |
| Ubuntu:26.10 | netty | no fix listed | UBUNTU-CVE-2026-45416 |
Affected products (as reported)
Weakness: CWE-770 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
References
- https://github.com/netty/netty/security/advisories/GHSA-x4gw-5cx5-pgmh x_refsource_CONFIRM
- https://github.com/netty/netty/releases/tag/netty-4.1.135.Final x_refsource_MISC
- https://github.com/netty/netty/releases/tag/netty-4.2.15.Final x_refsource_MISC
- https://access.redhat.com/security/cve/CVE-2026-45416 vdb-entry, x_refsource_REDHAT
- RHBZ#2488391 issue-tracking, x_refsource_REDHAT
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-45416.json x_sadp-csaf-vex
- https://access.redhat.com/errata/RHSA-2026:49700 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:53644 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:53645 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:48151 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:53646 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:66545 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:66488 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:26586 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:41951 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:50085 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:49701 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:28573 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:65126 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:62260 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:37390 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:26018 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:26017 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:34608 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:54435 vendor-advisory, x_refsource_REDHAT