CVE-2026-123612
rustls 0.23.44 and 0.23.45 ECH Rejection Application Data Disclosure
rustls 0.23.44 and 0.23.45 contain an information disclosure vulnerability that sends application data buffered before the handshake completes to the client-facing server when Encrypted Client Hello is rejected. Because start_traffic() queues plaintext from ClientConnection::writer() before sending the ech_required alert, the authenticated public_name server receives data intended for the inner server.
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- High
- User interaction
- None
What an attacker can affect
- Confidentiality
- Low
- Integrity
- None
- Availability
- None
Exploit likelihood
What each source reports
CVE List Score used 4.6
rustls 0.23.44 and 0.23.45 ECH Rejection Application Data Disclosure
rustls 0.23.44 and 0.23.45 contain an information disclosure vulnerability that sends application data buffered before the handshake completes to the client-facing server when Encrypted Client Hello is rejected. Because start_traffic() queues plaintext from ClientConnection::writer() before sending the ech_required alert, the authenticated public_name server receives data intended for the inner server.
- Record
CVE-2026-123612- CVSS 4.0
- 4.6 Medium
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 - CVSS 3.1
- 2.3 Low
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:L/I:N/A:N - Weakness
- CWE-696
- Updated
- 2026-11-08
EUVDEUVD-2026-119371 4.6
rustls 0.23.44 and 0.23.45 contain an information disclosure vulnerability that sends application data buffered before the handshake completes to the client-facing server when Encrypted Client Hello is rejected. Because start_traffic() queues plaintext from ClientConnection::writer() before sending the ech_required alert, the authenticated public_name server receives data intended for the inner server.
- Record
EUVD-2026-119371- CVSS 4.0
- 4.6 Medium
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 - Updated
- 2026-11-08
GitHub AdvisoriesGHSA-jrx3-hh25-gg3m 4.6
rustls 0.23.44 and 0.23.45 contain an information disclosure vulnerability that sends application...
rustls 0.23.44 and 0.23.45 contain an information disclosure vulnerability that sends application data buffered before the handshake completes to the client-facing server when Encrypted Client Hello is rejected. Because start_traffic() queues plaintext from ClientConnection::writer() before sending the ech_required alert, the authenticated public_name server receives data intended for the inner server.
- Record
GHSA-jrx3-hh25-gg3m- CVSS 4.0
- 4.6 Medium
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - CVSS 3.1
- 2.3 Low
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:L/I:N/A:N - Weakness
- CWE-696
- Updated
- 2026-11-08
GitHub AdvisoriesGHSA-vp88-798v-h67f 2.3
rustls: ECH rejection can expose buffered application data to authenticated outer server before `ech_required` alert
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.
The ordering bug is older than 0.23.44. Before 0.23.44, the client checked the server certificate against the inner server name rather than public_name, so a correctly configured server failed certificate verification first and no data was sent. 0.23.44 fixed that check, which makes the ordinary rejection path reachable.
Impact
Plaintext meant for the inner server, the one named in the encrypted ClientHello, goes to the client-facing server identified by public_name. That server is properly authenticated, so this is not an attack by an unauthenticated party. However this violates RFC 9849, which says the following:
- Section 6.1.6: if the handshake and authentication succeed after ECH rejection, the client "MUST ... abort the connection with an "ech_required" alert before sending any application data to the server."
- Section 6.1.7: the certificate is checked only against
public_name, and the connection "MUST NOT" be reported as successful to the application. rustls does report failure correctly. The problem is only that data is sent before the alert.
This affects only clients that meet all of these conditions:
- They use
EchMode::Enable. GREASE ECH is not affected. - They write application data before the handshake completes.
- They connect to a server that rejects their ECH config, for example because the config is stale. This is the same case where the server returns retry configs.
The usual client response to rejection is to retry with the server's retry configs. In that case, the data has already gone to the outer server.
- Record
GHSA-vp88-798v-h67f- CVSS 3.1
- 2.3 Low
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:L/I:N/A:N - Weakness
- CWE-200
- Updated
- 2026-11-02
NVD 4.6
rustls 0.23.44 and 0.23.45 contain an information disclosure vulnerability that sends application data buffered before the handshake completes to the client-facing server when Encrypted Client Hello is rejected. Because start_traffic() queues plaintext from ClientConnection::writer() before sending the ech_required alert, the authenticated public_name server receives data intended for the inner server.
- Record
CVE-2026-123612- CVSS 4.0
- 4.6 Medium
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - CVSS 3.1
- 2.3 Low
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:L/I:N/A:N - Weakness
- CWE-696
- Updated
- 2026-11-12
OSV 4.6
rustls 0.23.44 and 0.23.45 ECH Rejection Application Data Disclosure
rustls 0.23.44 and 0.23.45 contain an information disclosure vulnerability that sends application data buffered before the handshake completes to the client-facing server when Encrypted Client Hello is rejected. Because start_traffic() queues plaintext from ClientConnection::writer() before sending the ech_required alert, the authenticated public_name server receives data intended for the inner server.
- Record
CVE-2026-123612- CVSS 4.0
- 4.6 Medium
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 - Weakness
- CWE-696
- Updated
- 2026-11-09
Show 4 moreShow less
OSVDEBIAN-CVE-2026-123612 2.3
rustls 0.23.44 and 0.23.45 contain an information disclosure vulnerability that sends application data buffered before the handshake completes to the client-facing server when Encrypted Client Hello is rejected. Because start_traffic() queues plaintext from ClientConnection::writer() before sending the ech_required alert, the authenticated public_name server receives data intended for the inner server.
- Record
DEBIAN-CVE-2026-123612- CVSS 3.1
- 2.3 Low
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:L/I:N/A:N - Updated
- 2026-11-08
OSVGHSA-vp88-798v-h67f 2.3
rustls: ECH rejection can expose buffered application data to authenticated outer server before `ech_required` alert
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.
The ordering bug is older than 0.23.44. Before 0.23.44, the client checked the server certificate against the inner server name rather than public_name, so a correctly configured server failed certificate verification first and no data was sent. 0.23.44 fixed that check, which makes the ordinary rejection path reachable.
Impact
Plaintext meant for the inner server, the one named in the encrypted ClientHello, goes to the client-facing server identified by public_name. That server is properly authenticated, so this is not an attack by an unauthenticated party. However this violates RFC 9849, which says the following:
- Section 6.1.6: if the handshake and authentication succeed after ECH rejection, the client "MUST ... abort the connection with an "ech_required" alert before sending any application data to the server."
- Section 6.1.7: the certificate is checked only against
public_name, and the connection "MUST NOT" be reported as successful to the application. rustls does report failure correctly. The problem is only that data is sent before the alert.
This affects only clients that meet all of these conditions:
- They use
EchMode::Enable. GREASE ECH is not affected. - They write application data before the handshake completes.
- They connect to a server that rejects their ECH config, for example because the config is stale. This is the same case where the server returns retry configs.
The usual client response to rejection is to retry with the server's retry configs. In that case, the data has already gone to the outer server.
- Record
GHSA-vp88-798v-h67f- CVSS 3.1
- 2.3 Low
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:L/I:N/A:N - Weakness
- CWE-200
- Updated
- 2026-11-08
OSVRUSTSEC-2026-0347 2.3
Buffered application data sent to outer server after ECH rejection
When a server rejects Encrypted Client Hello (ECH), the client completes the
handshake using the outer ClientHello and authenticates the server against the
ECH config's public_name. At the end of that handshake, rustls encrypted and
queued any application data buffered via ClientConnection::writer() before
queueing the ech_required alert.
The application correctly receives
Error::PeerIncompatible(ServerRejectedEncryptedClientHello), but the next
write_tls() call (needed to send the alert) also sends the buffered
application data. Plaintext meant for the inner server therefore goes to the
client-facing server named by public_name.
That server is authenticated, so this is not exploitable by an unauthenticated
party, but it violates RFC 9849 section 6.1.6, which requires the client to
abort with ech_required "before sending any application data to the server".
This affects only clients that:
- use
EchMode::Enable(GREASE ECH is not affected), - write application data before the handshake completes, and
- connect to a server that rejects their ECH config (for example, because it is stale).
The underlying ordering bug is older, but before 0.23.44 the client checked
the server certificate against the inner server name rather than public_name,
so certificate verification failed first and no data was sent.
- Record
RUSTSEC-2026-0347- CVSS 3.1
- 2.3 Low
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:L/I:N/A:N - Updated
- 2026-11-08
OSVUBUNTU-CVE-2026-123612 4.6
rustls 0.23.44 and 0.23.45 contain an information disclosure vulnerability that sends application data buffered before the handshake completes to the client-facing server when Encrypted Client Hello is rejected. Because start_traffic() queues plaintext from ClientConnection::writer() before sending the ech_required alert, the authenticated public_name server receives data intended for the inner server.
- Record
UBUNTU-CVE-2026-123612- CVSS 4.0
- 4.6 Medium
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 - CVSS 3.1
- 2.3 Low
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:L/I:N/A:N - Updated
- 2026-11-10
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
rustlscrates.io | 0.23.44 up to 0.23.46 | 0.23.46 |
rustlscrates.io | 0.24.0-dev.1 up to 0.24.0-dev.2 | 0.24.0-dev.2 |
rust-rustlsDebian:12 | All versions, plus listed versions 0.20.8-40.20.8-4.10.20.8-4.20.21.10-10.21.12-1 Show 45 moreShow less0.21.12-20.21.12-30.21.12-40.21.12-50.21.12-60.21.12-70.21.12-80.21.12-90.21.5-10.21.5-20.21.5-30.21.5-40.21.5-50.21.6-10.21.6-20.21.6-30.21.6-40.21.7-10.21.8-10.21.8-20.21.8-30.21.8-3.10.21.9-10.23.16-10.23.20+ds-10.23.20+ds-100.23.20+ds-20.23.20+ds-30.23.20+ds-40.23.20+ds-50.23.20+ds-60.23.20+ds-70.23.20+ds-80.23.20+ds-90.23.25+ds-10.23.26+ds-10.23.31+ds-10.23.31+ds-20.23.31+ds-30.23.31+ds-40.23.31+ds-50.23.31+ds-60.23.31+ds-70.23.32+ds-10.23.32+ds-2 | None known |
rust-rustlsDebian:13 | All versions, plus listed versions 0.23.26+ds-10.23.31+ds-10.23.31+ds-20.23.31+ds-30.23.31+ds-4 Show 20 moreShow less0.23.31+ds-50.23.31+ds-60.23.31+ds-70.23.32+ds-10.23.32+ds-20.23.33+ds-10.23.33+ds-20.23.33+ds-30.23.33+ds-40.23.35+ds-10.23.36+ds-10.23.37+ds-10.23.37+ds-20.23.37+ds-30.23.38+ds-10.23.40+ds-10.23.41+ds-10.23.43+ds-10.23.45+ds-10.23.46+ds-1 | None known |
rust-rustlsDebian:14 | All versions, plus listed versions 0.23.26+ds-10.23.31+ds-10.23.31+ds-20.23.31+ds-30.23.31+ds-4 Show 20 moreShow less0.23.31+ds-50.23.31+ds-60.23.31+ds-70.23.32+ds-10.23.32+ds-20.23.33+ds-10.23.33+ds-20.23.33+ds-30.23.33+ds-40.23.35+ds-10.23.36+ds-10.23.37+ds-10.23.37+ds-20.23.37+ds-30.23.38+ds-10.23.40+ds-10.23.41+ds-10.23.43+ds-10.23.45+ds-10.23.46+ds-1 | None known |
rust-rustlsUbuntu:24.04:LTS | All versions, plus listed versions 0.21.6-30.21.7-10.21.9-10.21.10-1 | None known |
rust-rustlsUbuntu:26.10 | All versions, plus listed versions 0.23.36+ds-10.23.41+ds-1 | None known |
rust-rustlsUbuntu:26.04:LTS | All versions, plus listed versions 0.23.26+ds-10.23.33+ds-3build20.23.35+ds-10.23.35+ds-1build10.23.36+ds-1 | None known |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, aliases, references | OSV | |
| affected, aliases, cwes, facts, published, references | OSV | |
| affected, aliases, references | NVD, OSV | |
| published | EUVD | |
| published | EUVD | |
| aliases, references | GitHub Advisories | |
| aliases, products, published | EUVD | |
| first indexed | CVE List | |
| first indexed | GitHub Advisories, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2026-123612 is a medium vulnerability (CVSS 4.6) in Rustls, published October 14, 2026. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.11%, the 1st percentile. Fixed in rustls 0.23.46.
References
github.com/rustls/rustls/security/advisories/GHSA-vp88-798v-h67f
vulncheck.com/advisories/rustls-0.23.44-and-0.23.45-ech-rejection-application-data-disclosure
nvd.nist.gov/vuln/detail/CVE-2026-123612
github.com/advisories/GHSA-jrx3-hh25-gg3m
github.com/rustls/rustls/pull/3300
github.com/rustls/rustls/pull/3354
Show 12 moreShow less
github.com/rustls/rustls/commit/2bd5c0cefabb2c5fd4100383a736d59f9671b9b4
github.com/rustls/rustls/commit/4de14a508fbfa2273203ec17d9dfdd0fbd29e8d1
github.com/rustls/rustls/commit/7dcbe4c1ae12185237d22e9197583329630a2014
github.com/rustls/rustls/releases/tag/v/0.23.46
rustsec.org/advisories/RUSTSEC-2026-0347.html
github.com/advisories/GHSA-vp88-798v-h67f
github.com/CVEProject/cvelistV5/tree/main/cves/2026/123xxx/CVE-2026-123612.json
security-tracker.debian.org/tracker/CVE-2026-123612
github.com/rustls/rustls
crates.io/crates/rustls
ubuntu.com/security/CVE-2026-123612
cve.org/CVERecord?id=CVE-2026-123612
Left out here: 15 versions. The JSON record has them.