CVE-2026-123609
MEDIUM 4.1CVSS 4.0Rustls: Session Debug formatting exposes TLS master secrets and resumption PSKs
Rustls before 0.23.46 and 0.24.0-dev.1 before 0.24.0-dev.2 contains an information disclosure vulnerability where derived Debug formatting of client session values exposes secret key material. Custom ClientSessionStore implementations that log Tls12ClientSessionValue or Tls13ClientSessionValue can leak TLS 1.2 master secrets or TLS 1.3 resumption PSKs to log readers.
- Published
- 8 Nov 2026
- Last modified
- 12 Nov 2026
- Assigned by
- disclosure@vulncheck.com
- NVD status
- Awaiting Analysis
- Weakness
- CWE-212
- Also known as
- GHSA-c8m5-c952-6cm4RUSTSEC-2026-0346
- Sources
- NVDJSONOSV GHSA-c8m5-c952-6cm4JSONOSV RUSTSEC-2026-0346JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | disclosure@vulncheck.com (Secondary) | CVSS 4.0 | MEDIUM 4.1 | 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/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 |
| NVD | disclosure@vulncheck.com (Secondary) | CVSS 3.1 | MEDIUM 4.0 | CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 4.0 | CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:H/I:N/A:N |
| OSV | RustSec | CVSS 3.1 | MEDIUM 4.0 | CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:H/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | crates.io | rustls | < 0.23.46 | 0.23.46 |
| OSV | crates.io | rustls | >= 0.24.0-dev.1, < 0.24.0-dev.2 | 0.24.0-dev.2 |
| OSV | crates.io | rustls | >= 0.21.0, < 0.23.46 | 0.23.46 |
References
- https://github.com/rustls/rustls/security/advisories/GHSA-c8m5-c952-6cm4 · WEB
- https://www.vulncheck.com/advisories/rustls-before-0.23.46-and-0.24.0-dev.1-before-0.24.0-dev.2-secret-exposure-via-debug
- https://github.com/rustls/rustls/pull/3299 · WEB
- https://github.com/rustls/rustls/pull/3354 · WEB
- https://github.com/rustls/rustls/commit/dcdb9464d376f45f42a94a5f837cda1506449f23 · WEB
- https://github.com/rustls/rustls/commit/f5f7bf5078a7edcbd81a9e82a97f2bd14dc1c855 · WEB
- https://github.com/rustls/rustls · PACKAGE
- https://github.com/rustls/rustls/releases/tag/v/0.23.46 · WEB
- https://rustsec.org/advisories/RUSTSEC-2026-0346.html · WEB, ADVISORY
- https://crates.io/crates/rustls · PACKAGE
History
- 25 Nov 2026 21:23 UTC · NVD: first stored (published 8 Nov 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 14 Oct 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 27 Oct 2026)