GHSA-w44r-93j7-qv28: Low severity rust/rustls vulnerability

Published Oct 27, 2026
·
Updated

Summary

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 supportedgroups 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.

TLS 1.3 transcript binding stops an on-path attacker from editing the ClientHello of one connection. It does not stop the attacker from steering the client's prediction state beforehand, because that state is written from an unauthenticated message.

What does not trigger it

- Servers that send a HelloRetryRequest. The connection stays hybrid and costs one extra round trip. - A client configuration with resumption disabled: nothing is stored. - A different server name: the record is per name.

Impact

If the genuine server picks the group for which a share is present, instead of sending a HelloRetryRequest for its preferred hybrid group, the handshake completes with classical key exchange only, between two peers that both support the hybrid group. No error is raised. The confidentiality of recorded sessions against a future quantum adversary is lost for those connections (harvest now, decrypt later). There is no key compromise and no authentication bypass.

Note that this behaviour is discussed at length in draft-ietf-tls-key-share-prediction so the actual security impact is largely down to a server policy decision.

Affected Software

2 affected componentsFixes available
rust/rustls>=0.24.0-dev.1<0.24.0-dev.2
0.24.0-dev.2
rust/rustls<0.23.46
0.23.46

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade rust/rustls to a version that resolves this vulnerability.

    Fixed in 0.24.0-dev.2
  2. Upgrade

    Upgrade rust/rustls to a version that resolves this vulnerability.

    Fixed in 0.23.46

Event History

Oct 27, 2026
Advisory Published
via GitHub·04:08 PM
Data Sourced
via GitHub·04:08 PM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What access does an attacker need to influence a client?

The attacker must be able to answer one connection attempt for the target server name. They can parse the ClientHello, send a ServerHello selecting X25519, and close the connection; no certificate or completed handshake is required.

2

Which connections are exposed after the initial interference?

Later connections from that client to the same server name can be affected while the stored entry remains present. Those ClientHellos carry a single X25519 share even though supported_groups continues to list X25519MLKEM768 first.

3

When does the later handshake complete with classical key exchange only?

It completes this way if the server accepts the X25519 share rather than sending a HelloRetryRequest. Servers that send a HelloRetryRequest do not trigger this behavior.

4

Does TLS 1.3 transcript binding prevent this issue?

No. Transcript binding prevents an on-path attacker from modifying the ClientHello within a single connection, but it does not prevent prior unauthenticated ServerHello processing from steering the client's stored prediction state.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203