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.
Affected software
| Software | Affected versions |
|---|---|
rustlscrates.io · osv:crates.io:rustls |
|
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
Vulnerabilities in rustls
- In our list
- 5
- Published in the last 12 months
- 5
- Critical, last 12 months
- 0
- High, last 12 months
- 0
- Known exploited
- 0
- CVE-2026-123613Rustls 0.23.13 before 0.23.45 TLS 1.3 Handshake Encryption Level BypassMedium 6.9 8 Nov 2026
- CVE-2026-123612rustls: ECH rejection can expose buffered application data to authenticated outer server before `ech_required` alertMedium 4.6 27 Oct 2026
- CVE-2026-123609Rustls: Session Debug formatting exposes TLS master secrets and resumption PSKsMedium 4.1 27 Oct 2026
- CVE-2026-123610Rustls: Brotli certificate decompression can allocate an attacker-controlled amount of memory up to 1 GiB before authentication.Medium 6.3 27 Oct 2026
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-123611
- GitHub Advisory Database https://github.com/advisories/GHSA-w44r-93j7-qv28