{"id":"GHSA-hxgq-9wwm-g797","aliases":["GHSA-hxgq-9wwm-g797","RUSTSEC-2026-0626"],"related":[],"kind":"vulnerability","state":"published","title":"`HandshakeState` error rollback does not restore the `CipherState`, leading to unauthenticated DoS and potential encrypted public key leak","summary":"In `snow` there is a rollback mechanism during the handshake phase to handle\nrecovery from bad inputs, but it didn't cover the cipher key state, leading\nto a Denial of Service attack with tampered (but unauthenticated) input.\n\nIf the protocol had logic to re-attempt the encryption phase with known or\nchosen inputs, a limited disclosure of a sealed public key (in the `XX`\npattern, for example) was possible.","summaryFormat":"markdown","summarySource":"rustsec","descriptions":[{"lang":"en","text":"In `snow` there is a rollback mechanism during the handshake phase to handle\nrecovery from bad inputs, but it didn't cover the cipher key state, leading\nto a Denial of Service attack with tampered (but unauthenticated) input.\n\nIf the protocol had logic to re-attempt the encryption phase with known or\nchosen inputs, a limited disclosure of a sealed public key (in the `XX`\npattern, for example) was possible.","format":"markdown","source":"rustsec"}],"published":"2026-11-30T12:00:00.000Z","modified":"2026-12-01T17:15:02.635Z","severity":{"scorer":"RustSec Advisory Database","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:L","score":4.8,"rating":"MEDIUM"},"severities":[{"scorer":"RustSec Advisory Database","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:L","score":4.8,"rating":"MEDIUM"}],"cwes":[],"affected":[{"ranges":[{"type":"semver","introduced":"0.0.0-0","status":"affected","fixed":"0.9.7"},{"type":"semver","introduced":"0.10.0-0","status":"affected","fixed":"0.10.2"}],"ecosystem":"crates.io","package":"snow","purl":"pkg:cargo/snow","source":"rustsec"}],"references":[{"url":"https://crates.io/crates/snow","tags":["package"],"sources":["rustsec"]},{"url":"https://rustsec.org/advisories/RUSTSEC-2026-0626.html","tags":["advisory"],"sources":["rustsec"]},{"url":"https://github.com/mcginty/snow/commit/1727bba89f9b576d17db102811ad50da51ef6af2","tags":["web"],"sources":["rustsec"]}],"credits":[],"sources":[{"source":"rustsec","name":"RustSec Advisory Database","id":"RUSTSEC-2026-0626","url":"https://rustsec.org/advisories/RUSTSEC-2026-0626.html","licence":"CC0-1.0","modified":"2026-12-01T17:15:02.635Z"}],"updatedAt":"2026-12-01T17:47:24.734Z"}