{"id":"RUSTSEC-2026-0348","revision":"80920544afe848e4acd8e7c92f704d18","records":[{"revision":"80920544afe848e4acd8e7c92f704d18","observedAt":"2026-10-24T13:19:54.901+00:00","statement":{"source":"osv","id":"RUSTSEC-2026-0348","aliases":["GHSA-h2v8-394m-p7vv"],"title":"Brotli certificate decompression can allocate up to 1 GiB before authentication","description":"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.","state":0,"publishedAt":"2026-10-14T12:00:00+00:00","modifiedAt":"2026-10-14T13:30:02.4809253+00:00","affected":[{"ecosystem":"crates.io","name":"rustls","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0.23.9"},{"kind":"fixed","version":"0.23.46"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L","score":null,"severity":null}],"references":["https://crates.io/crates/rustls","https://rustsec.org/advisories/RUSTSEC-2026-0348.html","https://github.com/rustls/rustls/pull/3297"],"sourceUrl":"https://osv.dev/vulnerability/RUSTSEC-2026-0348","license":"OSV · upstream source license applies","key":"osv:RUSTSEC-2026-0348","identifiers":["RUSTSEC-2026-0348","GHSA-h2v8-394m-p7vv"]},"retained":false,"historicalAffected":[]}],"coverage":[]}