Skip to content
Heist/ feed
Back to feed
LowFix available

Unauthenticated ServerHello can downgrade later connections to classical key exchange

Type: advisorySources: OSV

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: - connections to servers which send a HelloRetryRequest for their preferred group, - clients with resumption disabled (as nothing is stored), and - other server names. This behaviour is discussed in [draft-ietf-tls-key-share-prediction](https://www.ietf.org/archive/id/draft-ietf-tls-key-share-prediction-01.html#name-security-considerations), so the practical impact depends largely on server policy.

Products
rustls
Affected versions
Not specified
Fixed versions
0.23.46
CVEs
Not specified
Confirmed fixed CVEs
Not specified
Updated in this feed
30 Oct 2026, 12:13 UTC · Revision 1

Source evidence

Unauthenticated ServerHello can downgrade later connections to classical key exchange

core-osv · Original source

Published 14 Oct 2026, 12:00 UTC

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: - connections to servers which send a HelloRetryRequest for their preferred group, - clients with resumption disabled (as nothing is stored), and - other server names. This behaviour is discussed in [draft-ietf-tls-key-share-prediction](https://www.ietf.org/archive/id/draft-ietf-tls-key-share-prediction-01.html#name-security-considerations), so the practical impact depends largely on server policy.

osv:RUSTSEC-2026-0349

rustls

Fixed versions: 0.23.46

Complete source record
{
  "id": "8f2600f458d6428df906ea65ffeac37abb7ee3f250915eafd484965fac58a1dc",
  "url": "https://osv.dev/vulnerability/RUSTSEC-2026-0349",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Unauthenticated ServerHello can downgrade later connections to classical key exchange",
    "summary": "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: - connections to servers which send a HelloRetryRequest for their preferred group, - clients with resumption disabled (as nothing is stored), and - other server names. This behaviour is discussed in [draft-ietf-tls-key-share-prediction](https://www.ietf.org/archive/id/draft-ietf-tls-key-share-prediction-01.html#name-security-considerations), so the practical impact depends largely on server policy.",
    "evidence": "osv:RUSTSEC-2026-0349",
    "products": [
      {
        "name": {
          "value": "rustls",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "0.23.46",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "low",
    "structured": {
      "id": "RUSTSEC-2026-0349",
      "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.0.0-0"
                },
                {
                  "fixed": "0.23.46"
                }
              ]
            }
          ],
          "package": {
            "name": "rustls",
            "purl": "pkg:cargo/rustls",
            "ecosystem": "crates.io"
          },
          "database_specific": {
            "cvss": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N",
            "source": "https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2026-0349.json",
            "categories": [
              "crypto-failure"
            ],
            "informational": null
          },
          "ecosystem_specific": {
            "affects": {
              "os": [],
              "arch": [],
              "functions": []
            },
            "affected_functions": null
          }
        }
      ],
      "modified": "2026-10-14T13:30:02.475705129Z",
      "provider": "osv",
      "references": [
        "https://crates.io/crates/rustls",
        "https://rustsec.org/advisories/RUSTSEC-2026-0349.html",
        "https://github.com/rustls/rustls/pull/3355"
      ],
      "provider_metadata": {
        "license": "CC0-1.0"
      }
    },
    "related_cves": [],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 316313,
  "published_at": "2026-10-14T12:00:00+00:00"
}