All vulnerabilities

crates.io

CVE-2026-123612

rustls: ECH rejection can expose buffered application data to authenticated outer server before `ech_required` alert

Severity
Medium 4.6
Published
27 Oct 2026
Last changed
12 Nov 2026
Added to UpHeron
23 Nov 2026
Fixed in
0.23.46, 0.24.0-dev.2
Exploit chance
0.1% in the next 30 daysHigher than 1% of CVEs. EPSS by FIRST, 24 Nov 2026
Weakness
CWE-696Information exposure (CWE-200)
Attack
Needs local access · Needs an administrator account · No user action needed
Attacker can
Read some data
CVSS vector
CVSS:4.0/AV:L/AC:L/AT:N/PR:H/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
Also known as
GHSA-vp88-798v-h67f, RUSTSEC-2026-0347
Sources
CVE Program, OSV.dev and GitHub

Description

In rustls 0.23.44 and 0.23.45, application data that a client buffers before the handshake completes is sent to the server even when the server rejects Encrypted Client Hello (ECH).

When the server rejects ECH, the client completes the handshake with the outer ClientHello and authenticates the server against the ECH config's public_name. At the end of the handshake, start_traffic() encrypts and queues any plaintext buffered by ClientConnection::writer(). It does this before checking for EchStatus::Rejected and queueing the ech_required alert.

The application then receives Error::PeerIncompatible(ServerRejectedEncryptedClientHello), as expected. However, the client is still expected to call write_tls() to send the fatal alert, and that call also sends the encrypted application data. The server decrypts the data and only then receives the alert.

From the GitHub Advisory Database, CC BY 4.0. Shortened; the full text is there.

Affected software

SoftwareAffected versions
rustlscrates.io · osv:crates.io:rustls
  • From 0.23.44 before 0.23.46
  • From 0.24.0-dev.1 before 0.24.0-dev.2

About rustls

Downloads in the last 90 days (crates.io)
301,339,089crates.io, 24 Nov 2026
Total downloads (crates.io)
1,163,899,463crates.io, 24 Nov 2026

References