CVE-2026-14570 Details
Description
Crypt::DSA versions before 1.22 for Perl draw the DSA signing nonce and private key from a biased random generator, leading to private-key recovery. "Crypt::DSA::Util::makerandom forces the high bit of every value it returns to obtain an exactly N-bit integer for prime search. The signing nonce and the private key are drawn from makerandom. Because the high bit is always set, the result is not uniform: its top bit is fixed, producing insecure values." An attacker who collects a modest number of signatures under an affected key, together with the public key, can recover the private key with a lattice attack. Keys used to sign with an affected version should be considered compromised and new keys should be generated.
A vulnerability exists in Crypt::DSA versions prior to 1.22 for Perl, where the DSA signing nonce and private key are generated using a biased random number generator. This bias allows for the recovery of private keys through a lattice attack, especially after collecting a modest number of signatures with the affected key. The issue arises because the random generator forces the high bit to create an exact N-bit integer, resulting in non-uniform values. Keys signed with vulnerable versions should be considered compromised and replaced.
Users should update to Crypt::DSA version 1.22 or later and generate new DSA keys, as those signed with versions prior to 1.22 are compromised.
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 Jul 5, 2026CISA-ADP
Assessed Jul 6, 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.21/source/lib/Crypt/DSA/Util.pm#L56 | CPANSec | Source CodeVendor |
| https://metacpan.org/release/TIMLEGGE/Crypt-DSA-1.22/changes | CPANSec | AdvisoryRelease NotesVendor |
| https://metacpan.org/release/TIMLEGGE/Crypt-DSA-1.22/diff/TIMLEGGE/Crypt-DSA-1.21#lib/Crypt/DSA/Util.pm | CPANSec | Source CodeVendor |
| http://www.openwall.com/lists/oss-security/2026/07/05/1 | CVE |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-330 | Use of Insufficiently Random Values | CPANSec |
Affected Products
| Product | Versions |
|---|---|
| Crypt::DSA | < 1.22 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 25, 2026 | CVE Translated | [email protected] |
| Jul 6, 2026 | CVE Modified | CISA-ADP |
| Jul 5, 2026 | CVE Modified | CVE |
| Jul 5, 2026 | New CVE Received | CPANSec |
Volerion