Critical

Netty: SNI Routing Bypass via Fragmented TLS ClientHello Causing Fallback to Default SslContext

  • Disclosed: 08.09.2026
  • Updated: 11.10.2026 13:19

Summary

A fragmented TLS ClientHello whose handshake header spans multiple records makes Netty silently fall back to the default SslContext; where per-SNI selection is the sole mTLS gate, an unauthenticated attacker can bypass the route's mTLS requirement.

Details

In io.netty.handler.ssl.SslClientHelloHandler#decode the guard that should wait for the 4-byte handshake header checks the wrong offset - it ignores the 5-byte record header that precedes it - and therefore never fires:

java
if (handshakeLength == -1) {
    if (readerIndex + 4 > endOffset) {
        // Need more data to read HandshakeType and handshakeLength (4 bytes)
        return;
    }

When the first record's payload is < 4 bytes, handshakeLength = in.getUnsignedMedium(readerIndex + SslUtils.SSL_RECORD_HEADER_LENGTH + 1); leads to IndexOutOfBoundsException . That is caught by the generic catch (Exception) block, which calls select(ctx, null) - this is the default SslContext. Fallback to default on parse failure is a problem when per-SNI selection is the sole mTLS gate.

Impact

SNI routing bypass. Escalates to an unauthenticated mTLS bypass only when:

  • mTLS is enforced solely via per-SNI SslContext (clientAuth=REQUIRE)
  • the default/fallback SslContext is permissive (clientAuth=NONE/OPTIONAL)
  • no secondary peer-certificate verification exists at the application layer.

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Java / Kotlin (Maven) io.netty:netty-handler >= 4.2.0.Final, < 4.2.17.Final, < 4.1.137.Final 4.2.17.Final, 4.1.137.Final

References

CVSS score -
CVSS vector
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
Weakness (CWE)
CWE-475, CWE-754
Platform
Java / Kotlin (Maven)
Package
io.netty:netty-handler
Disclosed
08.09.2026
Updated
11.10.2026 13:19

Sources and licenses

OSV / GitHub Advisory Database - GHSA-c4c3-7fpv-j4q5 - CC BY 4.0

Vulnerability history: io.netty:netty-handler

All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.

All (12) in the archive
Total entries
12
First → latest
02.2020 09.2026
Without a fix
0
Exploited in attacks
0

Severity breakdown

  • Critical 1
  • High 7
  • Medium 4

Disclosures per year

  1. 2020: 4
  2. 2021: 0
  3. 2022: 1
  4. 2023: 1
  5. 2024: 0
  6. 2025: 1
  7. 2026: 5
Severity:
  1. Netty: SNI Routing Bypass via Fragmented TLS ClientHello Causing Fallback to Default SslContext this entry
    Critical CVE-2026-75595 >= 4.2.0.Final, < 4.2.17.Final, < 4.1.137.Final 4.2.17.Final, 4.1.137.Final
  2. High · 7.5 CVE-2026-50010 >= 4.2.0.Final, < 4.2.15.Final, < 4.1.135.Final 4.2.15.Final, 4.1.135.Final
  3. High · 7.5 CVE-2026-45416 >= 4.2.0.Final, < 4.2.15.Final, < 4.1.135.Final 4.2.15.Final, 4.1.135.Final
  4. High · 8.1 CVE-2026-44249 >= 4.2.0.Final, < 4.2.15.Final, < 4.1.135.Final 4.2.15.Final, 4.1.135.Final
  5. High · 7.5 CVE-2025-24970 >= 4.1.91.Final, < 4.1.118.Final 4.1.118.Final
  6. High · 7.5 CVE-2016-4970 >= 4.0.0.Alpha1, < 4.0.37.Final, >= 4.1.0.Beta1, < 4.1.1.Final 4.0.37.Final, 4.1.1.Final
  7. High · 7.5 CVE-2020-11612 >= 4.1.0, < 4.1.46 4.1.46
  8. High · 7.5 CVE-2020-7238 >= 4.1.43, < 4.1.45 4.1.45

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.