{"id":"CVE-2026-123610","aliases":["CVE-2026-123610","GHSA-h2v8-394m-p7vv","RUSTSEC-2026-0348"],"related":[],"kind":"vulnerability","state":"published","title":"rustls before 0.23.46 Denial of Service via Brotli Certificate Decompression","summary":"rustls before 0.23.46 contains an uncontrolled memory allocation flaw in its optional Brotli certificate decompression, which limits decompressed output size but accepts an input-selected large history window. Malicious peers can send a certificate with a five-byte Brotli header requesting up to 1 GiB before authentication, aborting Brotli-enabled clients or client-authenticating servers whose allocator cannot satisfy the request.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"rustls before 0.23.46 contains an uncontrolled memory allocation flaw in its optional Brotli certificate decompression, which limits decompressed output size but accepts an input-selected large history window. Malicious peers can send a certificate with a five-byte Brotli header requesting up to 1 GiB before authentication, aborting Brotli-enabled clients or client-authenticating servers whose allocator cannot satisfy the request.","source":"cvelist"},{"lang":"en","text":"### Summary\n\nThe 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.\n\n### Details\n\nrustls 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.\n\n### Impact\n\nClient 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.\n\nPotential for denial of service due to memory exhaustion from peers sending malicious Brotli-encoded certificates, for applications that enable Brotli decompression.\n\n### Acknowledgement\nThanks to OpenAI [OutboundDisclosures@openai.com](mailto:OutboundDisclosures@openai.com) for the disclosure.","format":"markdown","source":"ghsa"},{"lang":"en","text":"The built-in Brotli certificate decompressor (enabled by the non-default\n`brotli` crate feature) bounded the size of the decompressed output, but\naccepted a peer-selected history window. Brotli's large-window extension was\nenabled, so a five-byte header could cause an allocation of 1 GiB. A peer can\nabort a process whose allocator cannot satisfy that request.\n\nNo trusted certificate is required by the attacker. Affected configurations are:\n\n- clients that enable the `brotli` feature and connect to a malicious server, and\n- servers that enable the `brotli` feature and request client certificates.\n\nApplications that do not enable the `brotli` feature are not affected.","format":"markdown","source":"rustsec"}],"published":"2026-10-14T12:00:00.000Z","modified":"2026-11-12T21:30:23.870Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N","score":6.3,"rating":"MEDIUM"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N","score":6.3,"rating":"MEDIUM"},{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L","score":3.7,"rating":"LOW"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L","score":3.7,"rating":"LOW"},{"scorer":"RustSec Advisory Database","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L","score":3.7,"rating":"LOW"}],"cwes":["CWE-770"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"0.23.46","status":"affected"},{"type":"semver","version":"0.23.46","status":"unaffected"}],"vendor":"rustls","product":"rustls","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.23.46"}],"ecosystem":"crates.io","package":"rustls","purl":"pkg:cargo/rustls","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0.24.0-dev.1","status":"affected","fixed":"0.24.0-dev.2"}],"ecosystem":"crates.io","package":"rustls","purl":"pkg:cargo/rustls","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0.23.9","status":"affected","fixed":"0.23.46"}],"ecosystem":"crates.io","package":"rustls","purl":"pkg:cargo/rustls","source":"rustsec"}],"references":[{"url":"https://github.com/rustls/rustls/security/advisories/GHSA-h2v8-394m-p7vv","tags":["vendor-advisory","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://www.vulncheck.com/advisories/rustls-before-0.23.46-denial-of-service-via-brotli-certificate-decompression","tags":["third-party-advisory"],"sources":["cvelist","nvd"]},{"url":"https://github.com/rustls/rustls/pull/3297","tags":["web"],"sources":["ghsa","rustsec"]},{"url":"https://github.com/rustls/rustls/pull/3354","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/rustls/rustls/commit/1aa987af37d0d79b98781d345895ac0059ce345c","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/rustls/rustls/commit/402b7b78b7ae87d59e19cf07ee07f3fc19e6537e","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/rustls/rustls","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/rustls/rustls/releases/tag/v/0.23.46","tags":["web"],"sources":["ghsa"]},{"url":"https://rustsec.org/advisories/RUSTSEC-2026-0348.html","tags":["advisory","web"],"sources":["ghsa","rustsec"]},{"url":"https://crates.io/crates/rustls","tags":["package"],"sources":["rustsec"]}],"credits":[],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-11-09T13:51:53.595Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-123610","url":"https://www.cve.org/CVERecord?id=CVE-2026-123610","licence":"CVE Terms of Use","modified":"2026-11-09T13:52:03.160Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-h2v8-394m-p7vv","url":"https://github.com/advisories/GHSA-h2v8-394m-p7vv","licence":"CC-BY-4.0","modified":"2026-11-08T10:55:59.261Z"},{"source":"rustsec","name":"RustSec Advisory Database","id":"RUSTSEC-2026-0348","url":"https://rustsec.org/advisories/RUSTSEC-2026-0348.html","licence":"CC0-1.0","modified":"2026-11-09T09:21:20.000Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-123610","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-123610","licence":"Public domain","modified":"2026-11-12T21:30:23.870Z"}],"updatedAt":"2026-11-25T22:59:49.498Z","epss":{"score":0.00204,"percentile":0.10968,"date":"2026-12-01T12:00:22.000Z"}}