All vulnerabilities

crates.io

CVE-2026-123611

rustls: An unauthenticated ServerHello poisons the per-name key-exchange record, so later ClientHellos carry only a classical X25519 share

Severity
Medium 6.3
Published
27 Oct 2026
Last changed
13 Nov 2026
Added to UpHeron
23 Nov 2026
Fixed in
0.23.46, 0.24.0-dev.2
Exploit chance
0.2% in the next 30 daysHigher than 8% of CVEs. EPSS by FIRST, 24 Nov 2026
Weakness
CWE-757
Attack
Over the network · Only under certain conditions · No login needed · No user action needed
Attacker can
Read some data
CVSS vector
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
Also known as
GHSA-w44r-93j7-qv28, RUSTSEC-2026-0349
Sources
CVE Program, OSV.dev and GitHub

Description

The client records the server-selected key-exchange group per server name when it processes the ServerHello, before the server is authenticated. A network attacker can answer one connection attempt for a target name with a ServerHello that selects X25519 and close the connection. Later ClientHellos for that name carry one X25519 share while supported_groups still lists X25519MLKEM768 first. If the server accepts that share instead of sending a HelloRetryRequest, the handshake completes with classical key exchange only and no error.

An attacker that answers one connection attempt for the target name with a ServerHello selecting X25519 changes every later ClientHello of that client for that name, for as long as the entry stays in the store. No certificate or completed handshake is needed: it parses the ClientHello, sends the ServerHello, and closes.

From the GitHub Advisory Database, CC BY 4.0. Shortened; the full text is there.

Affected software

SoftwareAffected versions
rustlscrates.io · osv:crates.io:rustls
  • Every version before 0.23.46
  • From 0.24.0-dev.1 before 0.24.0-dev.2

About rustls

Downloads in the last 90 days (crates.io)
301,339,089crates.io, 24 Nov 2026
Total downloads (crates.io)
1,163,899,463crates.io, 24 Nov 2026

References