{"id":"RUSTSEC-2026-0626","summary":"`HandshakeState` error rollback does not restore the `CipherState`, leading to unauthenticated DoS and potential encrypted public key leak","details":"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.","aliases":["GHSA-hxgq-9wwm-g797"],"modified":"2026-12-01T17:15:02.635820186Z","published":"2026-11-30T12:00:00Z","database_specific":{"license":"CC0-1.0"},"references":[{"type":"PACKAGE","url":"https://crates.io/crates/snow"},{"type":"ADVISORY","url":"https://rustsec.org/advisories/RUSTSEC-2026-0626.html"},{"type":"WEB","url":"https://github.com/mcginty/snow/commit/1727bba89f9b576d17db102811ad50da51ef6af2"}],"affected":[{"package":{"name":"snow","ecosystem":"crates.io","purl":"pkg:cargo/snow"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0.0.0-0"},{"fixed":"0.9.7"},{"introduced":"0.10.0-0"},{"fixed":"0.10.2"}]}],"ecosystem_specific":{"affected_functions":null,"affects":{"arch":[],"os":[],"functions":[]}},"database_specific":{"informational":null,"source":"https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2026-0626.json","categories":["denial-of-service","crypto-failure"],"cvss":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:L"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:L"}]}