CPANSA-Crypt-DSA-2026-12205: Crypt-DSA vulnerability
| Publisher | giterlizzi | Document category | csaf_security_advisory |
|---|---|---|---|
| Initial release date | 2026-06-15T00:00:00 | Engine | CSAF Perl Toolkit 0.26 |
| Current release date | 2026-06-15T00:00:00 | Build Date | |
| Current version | 1 | Status | final |
| CVSS v3.1 Base Score | 9.1 | Severity | |
| Original language | Language | en | |
| Also referred to | |||
Vulnerability 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.
Vulnerabilities
CVE-2026-12205
Vulnerability DescriptionCrypt::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.
| Weakness | CWE-323 : Reusing a Nonce, Key Pair in Encryption |
|---|
Product status
Known affected
| Product | Score | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Crypt-DSA less than 1.21 |
|
Fixed
- Crypt-DSA greater than or equal 1.21
giterlizzi
Namespace: https://github.com/giterlizzi/
gdt@cpan.org
References
- CPANSA-Crypt-DSA-2026-12205 JSON self
https://raw.githubusercontent.com/giterlizzi/perl-CPANSA-CSAF/develop/csaf/white/2026/cpansa-crypt-dsa-2026-12205.json - https://metacpan.org/release/TIMLEGGE/Crypt-DSA-1.20/source/lib/Crypt/DSA.pm#L47 external
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 external
https://metacpan.org/release/TIMLEGGE/Crypt-DSA-1.21/changes - http://www.openwall.com/lists/oss-security/2026/06/15/4 external
http://www.openwall.com/lists/oss-security/2026/06/15/4 - CVE-2026-12205 (NVD) external
https://nvd.nist.gov/vuln/detail/CVE-2026-12205
Revision history
| Version | Date of the revision | Summary of the revision |
|---|---|---|
| 1 | Mon Jun 15 00:00:00 2026 | First release |
Sharing rules
TLP:WHITE
For the TLP version see: https://www.first.org/tlp/