Bug 2588738 (CVE-2026-142446)

Summary: CVE-2026-142446 io.netty/netty-handler: Netty: SNI routing bypass to default SslContext via leading zero-length TLS handshake record
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerabilityAssignee: Product Security <prodsec-ir-bot>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: amctagga, ant, anujha, aoconnor, aschwart, asoldano, asyoung, aszczucz, bbaranow, bmaxwell, bniver, boliveir, bstansbe, ccranfor, cescoffi, chfoley, cmah, csuconic, dbruscin, dhanak, dlofthou, drichtar, drosa, dsimansk, ehelms, ewittman, flucifre, fmariani, fmongiar, gmalinko, gmeno, groman, gsmet, gtanzill, gtully, istudens, ivassile, iweiss, janstey, jbaesner, jbuscemi, jkrystof, jmartisk, jnethert, jpasqual, jpechane, jsherman, jturenov, juwatts, jwon, kaycoth, kingland, kvanderr, lblicha, manderse, mbenjamin, mcarlett, mhackett, mhulan, mnovotny, mosmerov, mposolda, msvehla, nipatil, nwallace, ogajduse, olubyans, osousa, ozzy, pantinor, pberan, pesilva, pjindal, pmackay, prichard, rchan, rgemmell, rgodfrey, rguimara, rkubis, rmartinc, rstancel, rstepani, sausingh, sbiarozk, sdawley, smallamp, sostapov, ssilvert, sthirugn, sthorger, swoodman, tbish, tcunning, thjenkin, tlavocat, tmielke, tzimanyi, varjain, vdosoudi, vereddy, vmuzikar, yfang, zhunting
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
A flaw was found in netty-handler. An unauthenticated remote attacker can exploit this vulnerability by sending a Transport Layer Security (TLS) connection that begins with a zero-length handshake record before the client hello message. The server mishandles this empty record, causing it to ignore the Server Name Indication (SNI) header and fall back to the default TLS configuration context. As a result, an attacker can bypass domain-specific security controls, such as mutual TLS (mTLS) client-certificate authentication.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description OSIDB Bzimport 2026-12-02 16:50:05 UTC
Netty's SslClientHelloHandler, used for SNI-based SslContext selection, mishandles a TLS connection whose first record is a zero-length handshake record. The handler treats this record as "no ClientHello present" and selects the default SslContext rather than skipping the empty record and parsing the real ClientHello that follows. The still-buffered bytes, including the empty record and the real ClientHello, are then replayed to an SslHandler built from the default context. A TLS engine that tolerates a leading empty handshake record, such as the JDK (JSSE) SSLEngine, skips it, reads the real SNI, and completes the handshake on the wrong context. This is an incomplete fix for CVE-2026-75595, because the empty-record branch returns before the reassembly logic added by that fix runs.

An unauthenticated remote attacker who can connect to an affected server can use this to bypass per-SNI context selection. A connection whose SNI maps to a stricter context, for example one that requires client-certificate (mTLS) authentication, is instead served by the default context.

Affected are users of netty-handler that use SniHandler, or any AbstractSniHandler or SslClientHelloHandler subclass, to select an SslContext by SNI. Affected versions are 4.1.x up to and including 4.1.138.Final and 4.2.x from 4.2.0.Final up to and including 4.2.18.Final. The issue is fixed in 4.1.139.Final and 4.2.19.Final.

Affected versions: >= 4.2.0.Final, <= 4.2.18.Final; <= 4.1.138.Final
Patched versions: 4.2.19.Final; 4.1.139.Final
CVSS: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N (6.5)
CWE: CWE-636, CWE-754
Upstream advisory: https://github.com/netty/netty/security/advisories/GHSA-jp47-57pp-4qpp
CVE requested by the Netty Project via PSIRTSUPT-32166.