# RUSTSEC-2026-0348: Brotli certificate decompression can allocate up to 1 GiB before authentication

- Database: RustSec
- Published: 2026-10-14
- Modified: 2026-11-09

## Tracked as

- [CVE-2026-123610](https://cve.now/CVE-2026-123610.md): Rustls denial of service in Brotli certificate decompression

## Also published as

- [GHSA-H2V8-394M-P7VV](https://cve.now/GHSA-H2V8-394M-P7VV.md) (GitHub)

## Affected versions

- rustls (crates.io): from 0.23.9, fixed in 0.23.46

## Description

The 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.

## References

- https://crates.io/crates/rustls
- https://rustsec.org/advisories/RUSTSEC-2026-0348.html
- https://github.com/rustls/rustls/pull/3297

Page: https://cve.now/RUSTSEC-2026-0348

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
