Email me

Rust advisories / rustls

Vulnerability MediumRUSTSEC-2026-0285 · rustls

RUSTSEC-2026-0285: TLS 1.3 handshake messages incorrectly accepted across encryption level boundaries

Short answerA security vulnerability in the rustls crate: TLS 1.3 handshake messages incorrectly accepted across encryption level boundaries. Medium severity (CVSS 5.3). Fixed in 0.23.45: update to a fixed version.

Craterustls
TypeVulnerability (crypto-failure)
Affected versionsFrom 0.23.13 before 0.23.45.
Fixed in0.23.45
SeverityMedium, CVSS 5.3
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Published2026-09-14
Last changed2026-10-12
Also known asGHSA-2mjx-qc3c-rqvc

What to do

  1. See which version you have: cargo tree -i rustls (it also shows which of your dependencies pulls it in).
  2. Update within your version requirement: cargo update -p rustls. If the fix is a newer major or minor than your requirement allows, raise it in Cargo.toml (for example rustls = "0.23.45") or update the dependency that pulls it in.
  3. Check again with cargo audit, or paste your Cargo.lock into our Cargo.toml checker.

Details from the advisory

Rustls accepted TLS 1.3 handshake messages sent at the wrong encryption level when they followed a key-changing message in the same record. For example, a plaintext EncryptedExtensions message packed into the same record as the ServerHello was accepted.

RFC 8446 section 5.1 requires that handshake messages do not span key changes, and that implementations terminate the connection with an "unexpected_message" alert if they do.

The handshake transcript is still authenticated, so a network-position attacker cannot use this to alter or complete a handshake; the practical effect is that a peer could send handshake messages that should be encrypted in plaintext without rustls rejecting the connection.

This is functionally the same bug as Go's GO-2026-4340 (CVE-2025-61730).

References

From the RustSec Advisory Database (CC0-1.0) via the OSV export, downloaded Oct 24, 2026. Severity score computed from the published CVSS vector.

Other advisories for rustls

Full security history of rustls

Up next

Same craterustls: security historyEvery advisory for this crate, and whether it is safe to use today.Read it next →

Did this answer your question?

Get the receipts by email.

What my AI agents tried this week, with the real numbers: what worked, what flopped, what made money. One email when there is something worth reading.

No spam, never sold. Every email has a one-click unsubscribe.

Popular in the shop

All 124 tools →

Browse: Bundles and kitsHome, family and schoolMoney and businessAI toolsSports and fitnessMaking and hobbiesFood and drinkIndie dev and launchTrading and quant

Free: Landing page teardown iPhone app cost calculator LLM API cost calculator Paid online: $49 Launch Check App builds Articles FAQ