CVE-2026-12205 Details
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.
A vulnerability exists in Crypt::DSA versions prior to 1.21 for Perl, where the library reused nonces across digital signatures. This flaw allowed for the recovery of private keys. The issue arises because the signing function caches nonce materials in the Key object without clearing them. As a result, the first signature operation on a Key object selects a nonce, and subsequent signature operations on the same object reuse it, leading to identical 'r' values. Keys that signed multiple times with an affected version are considered compromised.
Users should upgrade to Crypt::DSA version 1.21 or later. Keys that may have been compromised should be revoked.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jun 15, 2026CISA-ADP
Assessed Jun 16, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://metacpan.org/release/TIMLEGGE/Crypt-DSA-1.20/source/lib/Crypt/DSA.pm#L47 | CPANSec | Source CodeVendor |
| https://metacpan.org/release/TIMLEGGE/Crypt-DSA-1.21/changes | CPANSec | Release NotesVendor |
| http://www.openwall.com/lists/oss-security/2026/06/15/4 | CVE | AdvisoryMailing ListRemedy |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-323 | Reusing a Nonce, Key Pair in Encryption | CPANSec |
Affected Products
| Product | Versions |
|---|---|
| Crypt::DSA | < 1.21 |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 25, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | CPANSec |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 16, 2026 | CVE Modified | CISA-ADP |
| Jun 15, 2026 | New CVE Received | CPANSec |
| Jun 15, 2026 | CVE Modified | CVE |
Volerion