Advisory Database
  • Advisories
  • Dependency Scanning
  1. cargo
  2. ›
  3. rustls
  4. ›
  5. GHSA-w44r-93j7-qv28

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

October 27, 2026

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.

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.

References

  • github.com/advisories/GHSA-w44r-93j7-qv28
  • github.com/rustls/rustls/commit/8fa0dc5d517a63411ad1e528249bdf5b098ae5e4
  • github.com/rustls/rustls/commit/f04804fa13341a9b1dc02b5d1dd8a746f2c4b7fb
  • github.com/rustls/rustls/pull/3355
  • github.com/rustls/rustls/releases/tag/v/0.23.46
  • github.com/rustls/rustls/security/advisories/GHSA-w44r-93j7-qv28
  • rustsec.org/advisories/RUSTSEC-2026-0349.html

Code Behaviors & Features

Detect and mitigate GHSA-w44r-93j7-qv28 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 0.23.46, all versions starting from 0.24.0-dev.1 before 0.24.0-dev.2

Fixed versions

  • 0.23.46
  • 0.24.0-dev.2

Solution

Upgrade to versions 0.23.46, 0.24.0-dev.2 or above.

Impact 3.7 LOW

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-757: Selection of Less-Secure Algorithm During Negotiation ('Algorithm Downgrade')

Source file

cargo/rustls/GHSA-w44r-93j7-qv28.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:10 +0000.