Skip to content
NOUMENResearch
Network
Engineering
, home page

IntelligenceAdvisoriesAdvisory

GHSA-h2v8-394m-p7vv

Rustls: Brotli certificate decompression can allocate an attacker-controlled amount of memory up to 1 GiB before authentication.

In short

What to know.

Package
  • rustls crates.iofrom 0.24.0-dev.1 before 0.24.0-dev.2
What to do
Upgrade rustls to 0.24.0-dev.2 or later.
Source's rating
LowNoumen has not assessed it.
Noumen finding
NMN-2026-0166Candidate. Severity unknown, confidence high.

3 December 2026

Source

  1. OSV record GHSA-h2v8-394m-p7vvosv.devRetrieved 3 December 2026

Full record

Identifier
GHSA-h2v8-394m-p7vv
Aliases
CVE-2026-123610, RUSTSEC-2026-0348
Severity
Low, as rated by the source. Noumen has not assessed it.
CVSS
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L
Fixed versions
0.23.46, 0.24.0-dev.2
Published
27 October 2026
Modified
8 November 2026
Source
OSV record GHSA-h2v8-394m-p7vv, retrieved 3 December 2026, 00:00 UTC

Affected packages and ranges

Affected packages
PackageAffected versionsFixed in
rustls
crates.io
from 0.24.0-dev.1 before 0.24.0-dev.20.24.0-dev.2

Affected means inside a published range, not that the code path is reachable in your project.

Details, as published by the source
As published by the source
### Summary 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. ### Details 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. ### Impact 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. Potential for denial of service due to memory exhaustion from peers sending malicious Brotli-encoded certificates, for applications that enable Brotli decompression. ### Acknowledgement Thanks to OpenAI [OutboundDisclosures@openai.com](mailto:OutboundDisclosures@openai.com) for the disclosure.