rustls
Affected
- introduced
0.23.9, fixed0.23.46(semver)
Fixed versions
0.23.46
Fix
- Fixed version
0.23.46cargo update -p rustls --precise 0.23.46
Advisory
Also known as: CVE-2026-123610, GHSA-h2v8-394m-p7vv
Brotli certificate decompression can allocate up to 1 GiB before authentication
The built-in Brotli certificate decompressor (enabled by the non-defaultbrotli crate feature) bounded the size of the decompressed output, but
accepted a peer-selected history window. Brotli's large-window extension was
enabled, so a five-byte header could cause an allocation of 1 GiB. A peer can
abort a process whose allocator cannot satisfy that request.
No trusted certificate is required by the attacker. Affected configurations are:
brotli feature and connect to a malicious server, andbrotli feature and request client certificates.Applications that do not enable the brotli feature are not affected.
Low Basis: CVSS v3 score 3.7, vector CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L
0.23.9, fixed 0.23.46 (semver)0.23.46
0.23.46cargo update -p rustls --precise 0.23.46Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: RustSec Advisory Database · CC0-1.0