Security mailing lists by PureSourceCode

CVE-2026-45416

HIGH 7.5CVSS 3.1

Netty: SNI handler pre-allocates up to 16 MiB from nine attacker bytes

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.

Published
12 Jun 2026
Last modified
18 Sep 2026
Assigned by
security-advisories@github.com
NVD status
Modified
Weakness
CWE-770
Also known as
GHSA-x4gw-5cx5-pgmh
Sources
NVDJSONOSV GHSA-x4gw-5cx5-pgmhJSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD 0b0ca135-0b70-47e7-9f44-1890c2a1c46c (Secondary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
OSV GitHub CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD netty netty
cpe:2.3:a:netty:netty:*:*:*:*:*:*:*:*
< 4.1.135 4.1.135
NVD netty netty
cpe:2.3:a:netty:netty:*:*:*:*:*:*:*:*
>= 4.2.0, < 4.2.15 4.2.15
OSV Maven io.netty:netty-handler >= 4.2.0.Final, < 4.2.15.Final 4.2.15.Final
OSV Maven io.netty:netty-handler < 4.1.135.Final 4.1.135.Final

References

History

  • 25 Nov 2026 21:03 UTC · NVD: first stored (published 12 Jun 2026)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 8 Jun 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.