RUSTSEC-2026-0349Low· 3.7▾ SunlitUnauthenticated ServerHello can downgrade later connections to classical key exchange
▾ Sunlit zone — Low / medium · no exploitation signal
impact 20.4 · likelihood 0 · exploitation 0
Need a working PoC? Pro members can cast a request and our team develops one — it lands right here.
The client recorded the server-selected key exchange group for each server name when processing the ServerHello, before the server was authenticated. This record is used to predict which key share to send in future ClientHellos to that server name.
A network attacker can answer one connection attempt with a ServerHello
selecting X25519, and then close the connection. Later ClientHellos for that
name carry only an X25519 key share, while supported_groups still lists
X25519MLKEM768 first. If the genuine server accepts that share rather than
sending a HelloRetryRequest for its preferred hybrid group, the handshake
completes with classical-only key exchange and no error. This persists for as
long as the entry stays in the client's session store.
The impact is loss of post-quantum confidentiality for affected connections ("harvest now, decrypt later"). There is no key compromise and no authentication bypass.
The following are not affected:
This behaviour is discussed in draft-ietf-tls-key-share-prediction, so the practical impact depends largely on server policy.
rustls >= 0.0.0-0, < 0.23.46Upgrade to a patched release:
rustls 0.23.46Connected by shared product, vendor, weakness, or advisory.
RUSTSEC-2026-0347Low· 2.3Buffered application data sent to outer server after ECH rejection
RUSTSEC-2026-0348Low· 3.7Brotli certificate decompression can allocate up to 1 GiB before authentication
RUSTSEC-2026-0346Medium· 4.0`Debug` impls for client session values expose TLS secrets
RUSTSEC-2026-0285Medium· 5.3TLS 1.3 handshake messages incorrectly accepted across encryption level boundaries
CVE-2024-32650High· 7.5`rustls::ConnectionCommon::complete_io` could fall into an infinite loop based on network input
GHSA-2mjx-qc3c-rqvcMedium· 5.3Rustls: TLS 1.3 handshake messages incorrectly accepted across encryption level boundaries