CVE-2026-45416
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.
如何修補 CVE-2026-45416
要修補 CVE-2026-45416,請將受影響套件升級到下列已修補版本。
- —未列出修補版本
- —升級至 4.2.15.Final 或更新版本
CVE-2026-45416 正在被利用嗎?
目前沒有被利用訊號。CVE-2026-45416 既不在 CISA KEV 也沒有最新的 EPSS 分數。
受影響套件(2)
- from 0
- >= 4.2.0.Final, < 4.2.15.Final
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |