CVE-2026-45416
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedNetty 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.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceIn Netty versions prior to 4.1.135.Final and 4.2.15.Final, SslClientHelloHandler.decode() eagerly allocates a buffer sized to the full TLS handshake length without proper validation when using common SniHandler configurations that pass maxClientHelloLength=0. This allows an attacker to trigger allocation of arbitrarily large buffers (e.g., 16 MiB) per connection, causing memory exhaustion as buffers are retained until channel closure.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.
NVD · CPE data< 4.1.135>= 4.2.0, < 4.2.15CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- Low
- Privileges
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Check your Netty library versionLocate the netty-common or core netty JAR file in your classpath or build file (e.g., pom.xml, build.gradle) and identify the exact version number.Affected if The version is less than 4.1.135, or greater than or equal to 4.2.0 but less than 4.2.15.
-
Identify SniHandler or AbstractSniHandler usageSearch your codebase for imports and instantiations of io.netty.handler.ssl.SniHandler or any class extending io.netty.handler.ssl.AbstractSniHandler.Affected if Your application uses SniHandler or extends AbstractSniHandler.
-
Inspect the maxClientHelloLength configurationExamine how SniHandler or AbstractSniHandler is instantiated. Look for calls to constructors or builder methods that set maxClientHelloLength. If using default constructors with no parameter overrides, maxClientHelloLength defaults to 0.Affected if The handler is instantiated using a default constructor or a constructor that explicitly sets maxClientHelloLength to 0, bypassing the length guard check.
-
Verify the SslClientHelloHandler configurationIf using SslClientHelloHandler directly (rather than through SniHandler), check whether maxClientHelloLength is configured to a non-zero value. The vulnerable condition exists when maxClientHelloLength equals 0.Affected if maxClientHelloLength is set to 0 or not set at all, allowing arbitrary ClientHello sizes to trigger large buffer allocations.
You are affected if your Netty version falls within the vulnerable ranges AND you use SniHandler, AbstractSniHandler, or SslClientHelloHandler with maxClientHelloLength set to 0 (the default), which allows oversized TLS ClientHello messages to allocate large buffers.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scoped4.1.1354.2.15
Upgrade Netty to version 4.1.135.Final or 4.2.15.Final which contains the patch for this vulnerability.
4.1.135.Final (for 4.1.x users) or 4.2.15.Final (for 4.2.x users)
- 1. Identify the current Netty version in use by checking project dependencies (Maven pom.xml, Gradle build.gradle, or similar)
- 2. If using Netty 4.1.x branch (versions < 4.1.135): upgrade to version 4.1.135.Final
- 3. If using Netty 4.2.x branch (versions >= 4.2.0 and < 4.2.15): upgrade to version 4.2.15.Final
- 4. Update the dependency management file with the new version number
- 5. Rebuild and test the application to verify the upgrade does not break existing functionality
- 6. Deploy the updated application
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation4.0 h
- Implementation8.0 h
- Testing12.0 h
- Review / QA4.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $7,616.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2026-45416 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sources- github.com
- github.com
- github.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- bugzilla.redhat.com
- security.access.redhat.com
- nvd.nist.gov
Practitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2026-45416 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data