CVE-2026-12205
JSON

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 packageVersionsReported by
Crypt-DSAbefore 1.21CVE List

Classification

CWE-323

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

SourceRecordLicence
CVE ListCVE-2026-12205 changed 2026-06-16CVE Terms of Use
NVDCVE-2026-12205 changed 2026-10-25Public domain