# CVE-2023-42806: Snapshot signature not including HeadID will allow replay attacks

- Severity: Medium 6.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.52%, higher than 45% of CVEs (2026-12-01)
- Published: 2023-09-21T16:45:34.742Z
- Modified: 2026-06-17T06:24:33.260Z
- Weaknesses: CWE-347
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

Hydra is the layer-two scalability solution for Cardano. Prior to version 0.13.0, not signing and verifying `$\mathsf{cid}$` allows an attacker (which must be a participant of this head) to use a snapshot from an old head instance with the same participants to close the head or contest the state with it. This can lead to an incorrect distribution of value (= value extraction attack; hard, but possible) or prevent the head to finalize because the value available is not consistent with the closed utxo state (= denial of service; easy). A patch is planned for version 0.13.0. As a workaround, rotate keys between heads so not to re-use keys and not result in the same multi-signature participants.

(As written by CVE List.)

## Affected

- input-output-hk hydra: < 0.13.0
- iohk hydra: before 0.13.0

## Every score

- GitHub_M: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:H`
- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:H`

## References

- <https://github.com/input-output-hk/hydra/security/advisories/GHSA-gr36-mc6v-72qq> (vendor-advisory)
- <https://github.com/input-output-hk/hydra/blob/ec6c7a2ab651462228475d0b34264e9a182c22bb/hydra-node/src/Hydra/HeadLogic.hs#L357> (product)
- <https://github.com/input-output-hk/hydra/blob/ec6c7a2ab651462228475d0b34264e9a182c22bb/hydra-node/src/Hydra/Snapshot.hs#L50-L54> (product)
- <https://github.com/input-output-hk/hydra/blob/ec6c7a2ab651462228475d0b34264e9a182c22bb/hydra-plutus/src/Hydra/Contract/Head.hs#L583-L599> (product)

## Sources

- CVE List: [CVE-2023-42806](https://www.cve.org/CVERecord?id=CVE-2023-42806), CVE Terms of Use, modified 2024-09-24
- NVD: [CVE-2023-42806](https://nvd.nist.gov/vuln/detail/CVE-2023-42806), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-42806 · Whole record: https://cve.day/CVE-2023-42806.json · Rebuilt by cve.day 2026-11-25T22:58:28.059Z
