Brotli certificate decompression can allocate up to 1 GiB before authentication
Historical advisory saved 9 Nov 2026 10:04:30 UTC. The publisher may have updated it since then. Latest advisory.
osv · RUSTSEC-2026-0348
PublishedThe built-in Brotli certificate decompressor (enabled by the non-default `brotli` 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: - clients that enable the `brotli` feature and connect to a malicious server, and - servers that enable the `brotli` feature and request client certificates. Applications that do not enable the `brotli` feature are not affected.
- Source published
- 14 Oct 2026 12:00:00 UTC
- Source modified
- 9 Nov 2026 09:21:20 UTC
- Saved here
- 9 Nov 2026 10:04:30 UTC
- Source terms
- OSV · upstream source license applies
Original source record · Cite this exact observation · Complete original publisher JSON
Source: osv · OSV · upstream source license applies. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.
CVSS_V3 · CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L