{"id":"CVE-2026-75595","aliases":["GHSA-c4c3-7fpv-j4q5"],"url":"https://o3.security/vulnerability/CVE-2026-75595","summary":"Netty: SNI Routing Bypass via Fragmented TLS ClientHello Causing Fallback to Default SslContext","details":"### Summary\nA 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.\n\n### Details\nIn `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:\n\n```java\nif (handshakeLength == -1) {\n    if (readerIndex + 4 > endOffset) {\n        // Need more data to read HandshakeType and handshakeLength (4 bytes)\n        return;\n    }\n```\n\nWhen 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.\n\n### Impact\nSNI routing bypass. Escalates to an unauthenticated mTLS bypass only when:\n- mTLS is enforced solely via per-SNI SslContext (clientAuth=REQUIRE)\n- the default/fallback SslContext is permissive (clientAuth=NONE/OPTIONAL)\n- no secondary peer-certificate verification exists at the application layer.","published":"2026-08-19T21:00:27.627Z","modified":"2026-10-28T11:17:45.708742890Z","cvss":null,"epss":{"score":0.00316,"percentile":0.24866,"asOf":"2026-11-17"},"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Maven","name":"io.netty:netty-handler","fixedVersion":"4.2.17.Final"},{"ecosystem":"Maven","name":"io.netty:netty-handler","fixedVersion":"4.1.137.Final"}],"fix":{"url":"https://github.com/netty/netty/commit/1b5abc6443b63726c72cdd285af2feb7ddbb8ff7","label":"netty/netty@1b5abc6"},"references":[{"type":"WEB","url":"https://github.com/netty/netty/releases/tag/netty-4.1.137.Final"},{"type":"WEB","url":"https://github.com/netty/netty/releases/tag/netty-4.2.17.Final"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/75xxx/CVE-2026-75595.json"},{"type":"ADVISORY","url":"https://github.com/netty/netty/security/advisories/GHSA-c4c3-7fpv-j4q5"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-75595"},{"type":"FIX","url":"https://github.com/netty/netty/commit/1b5abc6443b63726c72cdd285af2feb7ddbb8ff7"},{"type":"FIX","url":"https://github.com/netty/netty/commit/9e0519239108a69b7e9bbc5e9182ee139a0d7961"},{"type":"FIX","url":"https://github.com/netty/netty/pull/17213"},{"type":"FIX","url":"https://github.com/netty/netty/pull/17217"},{"type":"PACKAGE","url":"https://github.com/netty/netty"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-10-28T11:17:45.708742890Z"}}