Skip to content
Heist/ feed
Back to feed
LowFix available

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

Type: advisorySources: OSV

## 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 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. ## 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 pref

Products
rustls
Affected versions
Not specified
Fixed versions
0.23.46, 0.24.0-dev.2
CVEs
Not specified
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 18:46 UTC · Revision 1

Source evidence

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

core-osv · Original source

Published 27 Oct 2026, 16:08 UTC

## 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 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. ## 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 pref

osv:GHSA-w44r-93j7-qv28

rustls

Fixed versions: 0.23.46

rustls

Fixed versions: 0.24.0-dev.2

Complete source record
{
  "id": "1e617827a48d744df4a7289ec7364b2de02f8c2c3a834739f5d5006c86f57d44",
  "url": "https://osv.dev/vulnerability/GHSA-w44r-93j7-qv28",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "rustls: An unauthenticated ServerHello poisons the per-name key-exchange record, so later ClientHellos carry only a classical X25519 share",
    "summary": "## 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 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. ## 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 pref",
    "evidence": "osv:GHSA-w44r-93j7-qv28",
    "products": [
      {
        "name": {
          "value": "rustls",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "0.23.46",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "rustls",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "0.24.0-dev.2",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "low",
    "structured": {
      "id": "GHSA-w44r-93j7-qv28",
      "aliases": [
        "GHSA-w44r-93j7-qv28",
        "RUSTSEC-2026-0349"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "SEMVER",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "0.23.46"
                }
              ]
            }
          ],
          "package": {
            "name": "rustls",
            "purl": "pkg:cargo/rustls",
            "ecosystem": "crates.io"
          },
          "database_specific": {
            "source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/10/GHSA-w44r-93j7-qv28/GHSA-w44r-93j7-qv28.json"
          }
        },
        {
          "ranges": [
            {
              "type": "SEMVER",
              "events": [
                {
                  "introduced": "0.24.0-dev.1"
                },
                {
                  "fixed": "0.24.0-dev.2"
                }
              ]
            }
          ],
          "package": {
            "name": "rustls",
            "purl": "pkg:cargo/rustls",
            "ecosystem": "crates.io"
          },
          "database_specific": {
            "source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/10/GHSA-w44r-93j7-qv28/GHSA-w44r-93j7-qv28.json"
          }
        }
      ],
      "modified": "2026-10-27T16:15:05.340347056Z",
      "provider": "osv",
      "references": [
        "https://github.com/rustls/rustls/security/advisories/GHSA-w44r-93j7-qv28",
        "https://github.com/rustls/rustls/pull/3355",
        "https://github.com/rustls/rustls/commit/8fa0dc5d517a63411ad1e528249bdf5b098ae5e4",
        "https://github.com/rustls/rustls/commit/f04804fa13341a9b1dc02b5d1dd8a746f2c4b7fb",
        "https://github.com/rustls/rustls",
        "https://github.com/rustls/rustls/releases/tag/v/0.23.46",
        "https://rustsec.org/advisories/RUSTSEC-2026-0349.html"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-757"
        ],
        "severity": "LOW",
        "github_reviewed": true,
        "nvd_published_at": null,
        "github_reviewed_at": "2026-10-27T16:08:54Z"
      }
    },
    "related_cves": [],
    "security_relevant": true,
    "severity_evidence": "/database_specific/severity"
  },
  "source_id": "core-osv",
  "document_id": 462861,
  "published_at": "2026-10-27T16:08:54+00:00"
}