9.1critical
Crypt::DSA versions before 1.21 for Perl reused the nonce across signatures, leading to private-key recovery
- Severity
- 9.1critical CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.29% (higher than 23% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- 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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Crypt-DSA | before 1.21 | CVE List |
Classification
SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total.
What each source says
CVE List
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.
NVD (es)
Las versiones de Crypt::DSA anteriores a la 1.21 para Perl reutilizaban el nonce entre firmas, lo que llevaba a la recuperación de la clave privada. Crypt::DSA::sign cachea el material nonce por firma en el objeto Key sin borrarlo nunca. El primer sign() en un objeto Key elige un nonce, y cada sign() posterior en ese mismo objeto lo reutiliza, produciendo una ’r’ idéntica. Las claves utilizadas para firmar más de una vez con una versión afectada deben considerarse comprometidas.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-12205 changed 2026-06-16 | CVE Terms of Use |
| NVD | CVE-2026-12205 changed 2026-10-25 | Public domain |