Skip to content
NOUMENResearch
Network
Engineering
, home page

IntelligenceFindingsNMN-2026-0170

Buffered application data sent to outer server after ECH rejection

CandidateMachine- or researcher-generated; not independently verified.

In short

What to know.

Package
rustls crates.iorustls: from 0.23.44 before 0.23.46
What to do
Upgrade rustls to 0.23.46 or later.
Severity
UnknownRated by the source advisory.
Confidence
HighThe affected range comes from the advisory; no system that uses the component has been assessed.

Verification

Where it stands.

  1. Candidate
  2. In review
  3. Reproduced
  4. Confirmed
  5. Resolved
  6. Disputed
  7. Withdrawn
Candidate Machine- or researcher-generated; not independently verified.

What each state means, and how a record moves between them.

12 listed

Sources

  1. OSV record RUSTSEC-2026-0347osv.devRetrieved 3 December 2026
  2. package reference for RUSTSEC-2026-0347crates.ioRetrieved 3 December 2026
  3. advisory reference for RUSTSEC-2026-0347rustsec.orgRetrieved 3 December 2026
  4. web reference for RUSTSEC-2026-0347github.comRetrieved 3 December 2026
  5. OSV record GHSA-vp88-798v-h67fosv.devRetrieved 3 December 2026
  6. web reference for GHSA-vp88-798v-h67fgithub.comRetrieved 3 December 2026
  7. web reference for GHSA-vp88-798v-h67fgithub.comRetrieved 3 December 2026
  8. web reference for GHSA-vp88-798v-h67fgithub.comRetrieved 3 December 2026
  9. web reference for GHSA-vp88-798v-h67fgithub.comRetrieved 3 December 2026
  10. web reference for GHSA-vp88-798v-h67fgithub.comRetrieved 3 December 2026
  11. package reference for GHSA-vp88-798v-h67fgithub.comRetrieved 3 December 2026
  12. web reference for GHSA-vp88-798v-h67fgithub.comRetrieved 3 December 2026

Full record

Finding
NMN-2026-0170
Category
vulnerability
Component
rustls (crates.io)rustls: from 0.23.44 before 0.23.46
Severity
Unknown. Rated by the source advisory.The source advisory RUSTSEC-2026-0347 gives no severity label. Noumen has not assessed it.
Confidence
High.The affected range comes from the advisory; no system that uses the component has been assessed.
State
Candidate. Machine- or researcher-generated; not independently verified.
Disclosure
Public
Mitigation
Upgrade rustls to 0.23.46 or later.
Discovery method
imported from a public advisory by the Advisory Monitor (1.0.0)Machine-generated by the agent advisory-monitor@1.0.0.
Reproduction
No reproduction steps recorded.
Affected systems
None listed. A link to a system needs its own evidence.
Attribution
Researcher: advisory-monitor@1.0.0 (agent, machine-generated)Validators: None yet
Assigned reviewer
Nobody yet
Dates
Created 3 December 2026, 16:52 UTCUpdated 3 December 2026, 16:52 UTC
Summary, as published by the source advisory
As published by the source advisory
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.

2 events, oldest first

History

History verified: 2 eventsLatest hash8b5af0ebc59f8b5af0ebc59f153a7110eb16de712a10e9d74ef100a4201588d4003544129555

  1. Record createdMachine-generated

    By advisory-monitor@1.0.0 (agent, machine-generated)

    Reason: Imported from public advisory GHSA-vp88-798v-h67f.

    Entered the record in the state Candidate.

    Event 1 hash55ec8f961ef955ec8f961ef9668aa2e9f8a4200c1516d6ab834e3636104969e41c1ae87284b4
  2. CorrectionMachine-generated

    By advisory-monitor@1.0.0 (agent, machine-generated)

    Reason: The source advisory RUSTSEC-2026-0347 changed.

    Title

    Before

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

    After

    Buffered application data sent to outer server after ECH rejection

    Sources

    Before

    [ { "url": "https://osv.dev/vulnerability/GHSA-vp88-798v-h67f", "title": "OSV record GHSA-vp88-798v-h67f", "retrieved": "2026-12-03" }, { "url": "https://github.com/rustls/rustls/security/advisories/GHSA-vp88-798v-h67f", "title": "web reference for GHSA-vp88-798v-h67f", "retrieved": "2026-12-03" }, { "url": "https://github.com/rustls/rustls/pull/3300", "title": "web reference for GHSA-vp88-798v-h67f", "retrieved": "2026-12-03" }, { "url": "https://github.com/rustls/rustls/pull/3354", "title": "web reference for GHSA-vp88-798v-h67f", "retrieved": "2026-12-03" }, { "url": "https://github.com/rustls/rustls/commit/2bd5c0cefabb2c5fd4100383a736d59f9671b9b4", "title": "web reference for GHSA-vp88-798v-h67f", "retrieved": "2026-12-03" }, { "url": "https://github.com/rustls/rustls/commit/4de14a508fbfa2273203ec17d9dfdd0fbd29e8d1", "title": "web referenc... (684 more characters)

    After

    [ { "url": "https://osv.dev/vulnerability/RUSTSEC-2026-0347", "title": "OSV record RUSTSEC-2026-0347", "retrieved": "2026-12-03" }, { "url": "https://crates.io/crates/rustls", "title": "package reference for RUSTSEC-2026-0347", "retrieved": "2026-12-03" }, { "url": "https://rustsec.org/advisories/RUSTSEC-2026-0347.html", "title": "advisory reference for RUSTSEC-2026-0347", "retrieved": "2026-12-03" }, { "url": "https://github.com/rustls/rustls/pull/3300", "title": "web reference for RUSTSEC-2026-0347", "retrieved": "2026-12-03" }, { "url": "https://osv.dev/vulnerability/GHSA-vp88-798v-h67f", "title": "OSV record GHSA-vp88-798v-h67f", "retrieved": "2026-12-03" }, { "url": "https://github.com/rustls/rustls/security/advisories/GHSA-vp88-798v-h67f", "title": "web reference for GHSA-vp88-798v-h67f", "retrieved": "2026-12-03" }, { "url": "http... (956 more characters)

    Summary

    Before

    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... (1590 more characters)

    After

    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 affect... (444 more characters)

    Affected versions

    Before

    [ { "name": "rustls", "ranges": [ { "fixed": "0.23.46", "introduced": "0.23.44" } ], "ecosystem": "crates.io" }, { "name": "rustls", "ranges": [ { "fixed": "0.24.0-dev.2", "introduced": "0.24.0-dev.1" } ], "ecosystem": "crates.io" } ]

    After

    [ { "name": "rustls", "ranges": [ { "fixed": "0.23.46", "introduced": "0.23.44" } ], "ecosystem": "crates.io" } ]

    Severity

    Before

    low

    After

    unknown

    Mitigation

    Before

    Upgrade rustls to 0.23.46 or later. Upgrade rustls to 0.24.0-dev.2 or later.

    After

    Upgrade rustls to 0.23.46 or later.

    severityRationale

    Before

    Severity as labelled by the source advisory GHSA-vp88-798v-h67f. CVSS as given: CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:L/I:N/A:N. Noumen has not assessed it.

    After

    The source advisory RUSTSEC-2026-0347 gives no severity label. Noumen has not assessed it.

    Event 2 hash8b5af0ebc59f8b5af0ebc59f153a7110eb16de712a10e9d74ef100a4201588d4003544129555
About this record

Severity and confidence are rated separately, each with its own reason.

History events are never edited or deleted. Each stores the hash of the one before, so a later change breaks the chain.

Corrections keep the value before and after.