crates.io
CVE-2026-123609
Rustls: Session Debug formatting exposes TLS master secrets and resumption PSKs
- Severity
- Medium 4.1
- Published
- 27 Oct 2026
- Last changed
- 10 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 daysEPSS by FIRST, 24 Nov 2026
- Weakness
- CWE-212
- Attack
- Needs local access · Only under certain conditions · Needs an administrator account · Needs someone to view a page or file
- Attacker can
- Read data
- CVSS vector
CVSS:4.0/AV:L/AC:H/AT:P/PR:H/UI:P/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N- Also known as
- GHSA-c8m5-c952-6cm4, RUSTSEC-2026-0346
- Sources
- CVE Program, OSV.dev and GitHub
Description
Formatting a client session value with Debug exposes its TLS 1.2 master secret or TLS 1.3 resumption PSK. A custom session store that logs these values can disclose keys to readers of the logs. Ordinary connection and built-in cache diagnostics remain redacted, and the session-store interface already warns that its values are sensitive.
Derived formatters traverse the session's secret-bearing fields. This conflicts with the project's explicit key-material redaction policy.
Such store implementations could leak the master secret for the TLS connection.
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-123612rustls: ECH rejection can expose buffered application data to authenticated outer server before `ech_required` alertMedium 4.6 27 Oct 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-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-123609
- GitHub Advisory Database https://github.com/advisories/GHSA-c8m5-c952-6cm4