IntelligenceFindingsNMN-2026-0166
Brotli certificate decompression can allocate up to 1 GiB before authentication
CandidateMachine- or researcher-generated; not independently verified.
In short
What to know.
- Package
- rustls crates.iorustls: from 0.23.9 before 0.23.46
- What to do
- Upgrade rustls to 0.23.46 or later.
- Severity
- UnknownRated by the source advisory.
- Confidence
- HighThe affected range comes from the advisory; no system that uses the component has been assessed.
Verification
Where it stands.
- Candidate
- In review
- Reproduced
- Confirmed
- Resolved
- Disputed
- Withdrawn
11 listed
Sources
- OSV record RUSTSEC-2026-0348osv.devRetrieved 3 December 2026
- package reference for RUSTSEC-2026-0348crates.ioRetrieved 3 December 2026
- advisory reference for RUSTSEC-2026-0348rustsec.orgRetrieved 3 December 2026
- web reference for RUSTSEC-2026-0348github.comRetrieved 3 December 2026
- OSV record GHSA-h2v8-394m-p7vvosv.devRetrieved 3 December 2026
- web reference for GHSA-h2v8-394m-p7vvgithub.comRetrieved 3 December 2026
- web reference for GHSA-h2v8-394m-p7vvgithub.comRetrieved 3 December 2026
- web reference for GHSA-h2v8-394m-p7vvgithub.comRetrieved 3 December 2026
- web reference for GHSA-h2v8-394m-p7vvgithub.comRetrieved 3 December 2026
- package reference for GHSA-h2v8-394m-p7vvgithub.comRetrieved 3 December 2026
- web reference for GHSA-h2v8-394m-p7vvgithub.comRetrieved 3 December 2026
Full record
- Finding
- NMN-2026-0166
- Category
- vulnerability
- Component
- rustls (crates.io)rustls: from 0.23.9 before 0.23.46
- Severity
- Unknown. Rated by the source advisory.The source advisory RUSTSEC-2026-0348 gives no severity label. Noumen has not assessed it.
- Confidence
- High.The affected range comes from the advisory; no system that uses the component has been assessed.
- State
- Candidate. Machine- or researcher-generated; not independently verified.
- Disclosure
- Public
- Mitigation
- Upgrade rustls to 0.23.46 or later.
- Discovery method
- imported from a public advisory by the Advisory Monitor (1.0.0)Machine-generated by the agent advisory-monitor@1.0.0.
- Reproduction
- No reproduction steps recorded.
- Related advisories
- GHSA-h2v8-394m-p7vvCVE-2026-123610RUSTSEC-2026-0348
- Affected systems
- None listed. A link to a system needs its own evidence.
- Attribution
- Researcher: advisory-monitor@1.0.0 (agent, machine-generated)Validators: None yet
- Assigned reviewer
- Nobody yet
- Dates
- Created 3 December 2026, 16:52 UTCUpdated 3 December 2026, 16:52 UTC
Summary, as published by the source advisory
2 events, oldest first
History
History verified: 2 eventsLatest hash3f5bdfc4866a3f5bdfc4866a67d9dbbc3933aa2495fe49551e5c35aa4e9588785b7ddc556920
Record createdMachine-generated
By advisory-monitor@1.0.0 (agent, machine-generated)
Reason: Imported from public advisory GHSA-h2v8-394m-p7vv.
Entered the record in the state Candidate.
Event 1 hash4af13041a7024af13041a702d39fe7fee31e9f6cded7d69a49e6c6779671005114d54b52f50eCorrectionMachine-generated
By advisory-monitor@1.0.0 (agent, machine-generated)
Reason: The source advisory RUSTSEC-2026-0348 changed.
Event 2 hashTitle
Before
Rustls: Brotli certificate decompression can allocate an attacker-controlled amount of memory up to 1 GiB before authentication.
After
Brotli certificate decompression can allocate up to 1 GiB before authentication
Sources
Before
[ { "url": "https://osv.dev/vulnerability/GHSA-h2v8-394m-p7vv", "title": "OSV record GHSA-h2v8-394m-p7vv", "retrieved": "2026-12-03" }, { "url": "https://github.com/rustls/rustls/security/advisories/GHSA-h2v8-394m-p7vv", "title": "web reference for GHSA-h2v8-394m-p7vv", "retrieved": "2026-12-03" }, { "url": "https://github.com/rustls/rustls/pull/3297", "title": "web reference for GHSA-h2v8-394m-p7vv", "retrieved": "2026-12-03" }, { "url": "https://github.com/rustls/rustls/pull/3354", "title": "web reference for GHSA-h2v8-394m-p7vv", "retrieved": "2026-12-03" }, { "url": "https://github.com/rustls/rustls/commit/1aa987af37d0d79b98781d345895ac0059ce345c", "title": "web reference for GHSA-h2v8-394m-p7vv", "retrieved": "2026-12-03" }, { "url": "https://github.com/rustls/rustls/commit/402b7b78b7ae87d59e19cf07ee07f3fc19e6537e", "title": "web referenc... (504 more characters)
After
[ { "url": "https://osv.dev/vulnerability/RUSTSEC-2026-0348", "title": "OSV record RUSTSEC-2026-0348", "retrieved": "2026-12-03" }, { "url": "https://crates.io/crates/rustls", "title": "package reference for RUSTSEC-2026-0348", "retrieved": "2026-12-03" }, { "url": "https://rustsec.org/advisories/RUSTSEC-2026-0348.html", "title": "advisory reference for RUSTSEC-2026-0348", "retrieved": "2026-12-03" }, { "url": "https://github.com/rustls/rustls/pull/3297", "title": "web reference for RUSTSEC-2026-0348", "retrieved": "2026-12-03" }, { "url": "https://osv.dev/vulnerability/GHSA-h2v8-394m-p7vv", "title": "OSV record GHSA-h2v8-394m-p7vv", "retrieved": "2026-12-03" }, { "url": "https://github.com/rustls/rustls/security/advisories/GHSA-h2v8-394m-p7vv", "title": "web reference for GHSA-h2v8-394m-p7vv", "retrieved": "2026-12-03" }, { "url": "http... (776 more characters)
Summary
Before
### 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 vulne... (324 more characters)
After
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.
Affected versions
Before
[ { "name": "rustls", "ranges": [ { "fixed": "0.23.46", "introduced": "0" } ], "ecosystem": "crates.io" }, { "name": "rustls", "ranges": [ { "fixed": "0.24.0-dev.2", "introduced": "0.24.0-dev.1" } ], "ecosystem": "crates.io" } ]
After
[ { "name": "rustls", "ranges": [ { "fixed": "0.23.46", "introduced": "0.23.9" } ], "ecosystem": "crates.io" } ]
Severity
Before
low
After
unknown
Mitigation
Before
Upgrade rustls to 0.23.46 or later. Upgrade rustls to 0.24.0-dev.2 or later.
After
Upgrade rustls to 0.23.46 or later.
severityRationale
Before
Severity as labelled by the source advisory GHSA-h2v8-394m-p7vv. CVSS as given: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L. Noumen has not assessed it.
After
The source advisory RUSTSEC-2026-0348 gives no severity label. Noumen has not assessed it.
3f5bdfc4866a3f5bdfc4866a67d9dbbc3933aa2495fe49551e5c35aa4e9588785b7ddc556920
About this record
Severity and confidence are rated separately, each with its own reason.
History events are never edited or deleted. Each stores the hash of the one before, so a later change breaks the chain.
Corrections keep the value before and after.