NettyApplication

CVE-2026-45416

HIGH · 7.5 CVSS v3.1 Published 2026-06-12
Fix available
A fix is available. Upgrade to 4.1.135 / 4.2.15 or later.
See remediation →
84/100
Remediation priority · High
Remotely reachable No privileges Zero-click

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 · unedited
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.

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 confidence

In 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.

MitigationUpgrade Netty to version 4.1.135.Final or 4.2.15.Final which contains the patch for this vulnerability.

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
NettyApplication
Affected:< 4.1.135>= 4.2.0, < 4.2.15

CVSS 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 checks

Work through these to decide whether this CVE applies to you.

  1. Check your Netty library version
    Locate 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.
  2. Identify SniHandler or AbstractSniHandler usage
    Search 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.
  3. Inspect the maxClientHelloLength configuration
    Examine 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.
  4. Verify the SslClientHelloHandler configuration
    If 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.

Check your environment

Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.

AI-assisted, checked against the advisory. Informational, not a guarantee.

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 · scoped
Upgrade available Upgrade to 4.1.135 / 4.2.15 or later
Fixed in 4.1.1354.2.15
Interim mitigation

Upgrade Netty to version 4.1.135.Final or 4.2.15.Final which contains the patch for this vulnerability.

Recommended fix High confidence

4.1.135.Final (for 4.1.x users) or 4.2.15.Final (for 4.2.x users)

  1. 1. Identify the current Netty version in use by checking project dependencies (Maven pom.xml, Gradle build.gradle, or similar)
  2. 2. If using Netty 4.1.x branch (versions < 4.1.135): upgrade to version 4.1.135.Final
  3. 3. If using Netty 4.2.x branch (versions >= 4.2.0 and < 4.2.15): upgrade to version 4.2.15.Final
  4. 4. Update the dependency management file with the new version number
  5. 5. Rebuild and test the application to verify the upgrade does not break existing functionality
  6. 6. Deploy the updated application
Caveat Review Netty 4.1.135 and 4.2.15 release notes for any breaking changes between your current version and the target fixed version

Generated from the published advisory — verify against the referenced sources before acting.

Fix this in Netty Scoped from the published advisory
  • Consultation4.0 h
  • Implementation8.0 h
  • Testing12.0 h
  • Review / QA4.0 h
28.0 hours of engineering $4,760
Get the upgrade done

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 locally
dbcve dependency scanner

Check 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

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2026-45416 in production — separate from our analysis above.

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.

What this is

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.

What belongs here
  • 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