{"id":"CVE-2026-45416","published":"2026-06-12T14:10:05Z","modified":"2026-09-18T12:04:45Z","title":"Netty: SNI handler pre-allocates up to 16 MiB from nine attacker bytes","vendor":"netty","product":"netty","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01576,"percentile":0.7577,"provenance":"source"},"cwes":[{"id":"CWE-770","name":"Allocation of Resources Without Limits or Throttling"}],"references":[{"url":"https://github.com/netty/netty/security/advisories/GHSA-x4gw-5cx5-pgmh","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/netty/netty/releases/tag/netty-4.1.135.Final","tags":["x_refsource_MISC"]},{"url":"https://github.com/netty/netty/releases/tag/netty-4.2.15.Final","tags":["x_refsource_MISC"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-45416","tags":["vdb-entry","x_refsource_REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2488391","tags":["issue-tracking","x_refsource_REDHAT"]},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-45416.json","tags":["x_sadp-csaf-vex"]},{"url":"https://access.redhat.com/errata/RHSA-2026:49700","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:53644","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:53645","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:48151","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:53646","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:66545","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:66488","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:26586","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:41951","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:50085","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:49701","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:28573","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:65126","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:62260","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:37390","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:26018","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:26017","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:34608","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:54435","tags":["vendor-advisory","x_refsource_REDHAT"]}],"priority":{"score":20.4,"factors":[{"name":"EPSS percentile","points":15.15},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"netty","affectedVersions":[{"vendor":"netty","product":"netty","versions":[">= 4.2.0.Final, < 4.2.15.Final","< 4.1.135.Final"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-06-12T15:06:59.768657Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"io.netty:netty-handler","vulnerableRanges":[">=4.2.0.Final, <4.2.15.Final","<4.1.135.Final"],"patched":["4.2.15.Final","4.1.135.Final"],"from":["GHSA-x4gw-5cx5-pgmh"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-36436","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2023-34462","published":"2023-06-22","fixed":"4.1.94.Final","kev":false},{"cve":"CVE-2025-24970","published":"2025-02-10","fixed":"4.1.118.Final","kev":false,"link":{"from":"CVE-2025-24970","to":"CVE-2026-45416","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:io.netty:netty-handler","fromFixed":"4.1.118.Final","toFixed":"4.1.135.Final","daysApart":487}]}},{"cve":"CVE-2026-44249","published":"2026-06-11","fixed":"4.2.15.Final","kev":false},{"cve":"CVE-2026-45416","published":"2026-06-12","fixed":"4.2.15.Final","kev":false},{"cve":"CVE-2026-50010","published":"2026-06-12","fixed":"4.2.15.Final","kev":false},{"cve":"CVE-2026-75595","published":"2026-08-19","fixed":"4.2.17.Final","kev":false,"link":{"from":"CVE-2026-45416","to":"CVE-2026-75595","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:io.netty:netty-handler","fromFixed":"4.2.15.Final","toFixed":"4.2.17.Final","daysApart":68}]}},{"cve":"CVE-2026-75596","published":"2026-08-19","fixed":"4.2.17.Final","kev":false,"link":{"from":"CVE-2026-45416","to":"CVE-2026-75596","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:io.netty:netty-handler","fromFixed":"4.2.15.Final","toFixed":"4.2.17.Final","daysApart":68}]}}],"package":"Maven:io.netty:netty-handler"}}