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
- 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.
Affected software
| Software | Affected versions |
|---|---|
rustlscrates.io · osv:crates.io:rustls |
|
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
Vulnerabilities in rustls
- In our list
- 5
- Published in the last 12 months
- 5
- Critical, last 12 months
- 0
- High, last 12 months
- 0
- Known exploited
- 0
- CVE-2026-123613Rustls 0.23.13 before 0.23.45 TLS 1.3 Handshake Encryption Level BypassMedium 6.9 8 Nov 2026
- CVE-2026-123611rustls: An unauthenticated ServerHello poisons the per-name key-exchange record, so later ClientHellos carry only a classical X25519 shareMedium 6.3 27 Oct 2026
- CVE-2026-123609Rustls: Session Debug formatting exposes TLS master secrets and resumption PSKsMedium 4.1 27 Oct 2026
- CVE-2026-123610Rustls: Brotli certificate decompression can allocate an attacker-controlled amount of memory up to 1 GiB before authentication.Medium 6.3 27 Oct 2026
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-123612
- GitHub Advisory Database https://github.com/advisories/GHSA-vp88-798v-h67f