crates.io
CVE-2026-123610
Rustls: Brotli certificate decompression can allocate an attacker-controlled amount of memory up to 1 GiB before authentication.
- Severity
- Medium 6.3
- Published
- 27 Oct 2026
- Last changed
- 9 Nov 2026
- Added to UpHeron
- 23 Nov 2026
- Fixed in
- 0.23.46, 0.24.0-dev.2
- Exploit chance
- 0.2% in the next 30 daysHigher than 5% of CVEs. EPSS by FIRST, 24 Nov 2026
- Attack
- Over the network · Only under certain conditions · No login needed · No user action needed
- Attacker can
- Slow it down
- CVSS vector
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N- Also known as
- GHSA-h2v8-394m-p7vv, RUSTSEC-2026-0348
- Sources
- CVE Program, OSV.dev and GitHub
Description
The built-in (but disabled by default) Brotli certificate decoder bounds the output buffer but accepts an input-selected history window. A header of five bytes can specify a 1 GiB window allocation. A peer can abort a process whose allocator cannot satisfy that request. A client must enable Brotli and connect to the peer; a server must enable Brotli and request a client certificate. Neither direction requires a trusted attacker certificate.
rustls calls BrotliDecompress which enables Brotli's large-window extension. rustls applies a limit to certificates, but this applies to the decompressed result, and not to any internal allocations the process requires.
Client applications that enable the brotli feature will be vulnerable to malicious servers. Server applications that enable the brotli feature and enable client authentication will be vulnerable to malicious clients.
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-123609Rustls: Session Debug formatting exposes TLS master secrets and resumption PSKsMedium 4.1 27 Oct 2026
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-123610
- GitHub Advisory Database https://github.com/advisories/GHSA-h2v8-394m-p7vv