# CVE-2026-12205: Crypt::DSA versions before 1.21 for Perl reused the nonce across signatures, leading to private-key recovery

- Severity: Critical 9.1 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`
- 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.29%, higher than 23% of CVEs (2026-12-01)
- Published: 2026-06-15T21:57:18.317Z
- Modified: 2026-10-25T23:10:00.167Z
- Weaknesses: CWE-323
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: CPANSec

## Description

Crypt::DSA versions before 1.21 for Perl reused the nonce across signatures, leading to private-key recovery.

Crypt::DSA::sign caches the per-signature nonce material in the Key object without ever clearing it.

The first sign() on a Key object picks a nonce, and every later sign() on that same object reuses it, producing an identical "r".

Keys used to sign more than once with an affected version should be considered compromised.

(As written by CVE List.)

## Affected

- Crypt-DSA: before 1.21

## References

- <https://metacpan.org/release/TIMLEGGE/Crypt-DSA-1.20/source/lib/Crypt/DSA.pm#L47>
- <https://metacpan.org/release/TIMLEGGE/Crypt-DSA-1.21/changes> (release-notes)
- <http://www.openwall.com/lists/oss-security/2026/06/15/4>

## Sources

- CVE List: [CVE-2026-12205](https://www.cve.org/CVERecord?id=CVE-2026-12205), CVE Terms of Use, modified 2026-06-16
- NVD: [CVE-2026-12205](https://nvd.nist.gov/vuln/detail/CVE-2026-12205), Public domain, modified 2026-10-25

---

Page: https://cve.day/CVE-2026-12205 · Whole record: https://cve.day/CVE-2026-12205.json · Rebuilt by cve.day 2026-11-25T22:59:24.715Z
