When Hybrid Is Not Negotiated: Downgrade and Crypto-Agility Failure Modes of ML-KEM Hybrid Key Exchange in TLS 1.3
Hybrid key exchange that combines X25519 or P-256 ECDHE with ML-KEM (FIPS 203) is now standardised for TLS 1.3 (RFC 9954, RFC 10024) and enabled by default in OpenSSL 3.5. Its purpose is to protect recorded traffic against a future cryptographically relevant quantum computer (CRQC). This protection only applies to connections that actually negotiate the hybrid group. I study when two hybrid-capable peers end up with a classical-only session, and whether a network attacker can force that outcome. I combine (i) a symbolic model of TLS 1.3 named-group negotiation in ProVerif covering key-share prediction, HelloRetryRequest, two server selection policies, an insecure client fallback, a fallback signal, and three attacker capabilities (a CRQC breaking ECDH, forgeable server signatures, broken ML-KEM), and (ii) an in-process measurement harness for OpenSSL 3.5.9 that records exact handshake bytes, round trips, the negotiated group and CPU time over 84 client/server group configurations. Across ten verified scenarios, transcript signatures prevent every active downgrade as long as server signatures cannot be forged when the handshake runs. Two paths still lead to classical-only sessions. The first is policy downgrade: if the server treats hybrid and classical groups as comparable and the client predicts only a classical key share, the peers agree on X25519 without any attacker. The second is application-level fallback: a client that retries with classical-only settings after a handshake failure can be downgraded by an active attacker, and a fallback signal analogous to RFC 7507 prevents this in the model. Empirically, 6 of 30 hybrid-capable OpenSSL configuration pairs negotiate X25519 (8 of 30 with server preference), including one recommended middlebox workaround combined with a hybrid-first legacy server list. On the cost side, X25519MLKEM768 adds about 1.2 kB in each direction and about 0.15 ms of CPU per in-memory handshake (556 vs. 408 µs median). A HelloRetryRequest that recovers the hybrid group costs one extra round trip. All models, code and data are released.
Authors
- Aarush Gupta
Publication Details
- Journal
- Zenodo (CERN European Organization for Nuclear Research)
- Published
- 2026-12-03
- DOI
- https://doi.org/10.5281/zenodo.24763443
- Primary Topic
- Advanced Authentication Protocols Security
- Type
- preprint