# GHSA-hxgq-9wwm-g797: `HandshakeState` error rollback does not restore the `CipherState`, leading to unauthenticated DoS and potential encrypted public key leak

- Severity: Medium 4.8 (CVSS:3.1, scored by RustSec Advisory Database) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2026-11-30T12:00:00.000Z
- Modified: 2026-12-01T17:15:02.635Z
- Also known as: RUSTSEC-2026-0626

## Description

In `snow` there is a rollback mechanism during the handshake phase to handle
recovery from bad inputs, but it didn't cover the cipher key state, leading
to a Denial of Service attack with tampered (but unauthenticated) input.

If the protocol had logic to re-attempt the encryption phase with known or
chosen inputs, a limited disclosure of a sealed public key (in the `XX`
pattern, for example) was possible.

(As written by RustSec Advisory Database.)

## Affected

- snow (crates.io): from 0.0.0-0 before 0.9.7; from 0.10.0-0 before 0.10.2

## References

- <https://crates.io/crates/snow> (package)
- <https://rustsec.org/advisories/RUSTSEC-2026-0626.html> (advisory)
- <https://github.com/mcginty/snow/commit/1727bba89f9b576d17db102811ad50da51ef6af2> (web)

## Sources

- RustSec Advisory Database: [RUSTSEC-2026-0626](https://rustsec.org/advisories/RUSTSEC-2026-0626.html), CC0-1.0, modified 2026-12-01

---

Page: https://cve.day/GHSA-hxgq-9wwm-g797 · Whole record: https://cve.day/GHSA-hxgq-9wwm-g797.json · Rebuilt by cve.day 2026-12-01T17:47:24.734Z
