CVE-2026-14570 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
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: partial
- Technology
- UbuntuDebian
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.
Upgrade path
6 packages: 1 fixed, 5 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/libcrypt-dsa-perl(Debian 12) | = 1.17-5; = 1.19-1; = 1.20-1; = 1.21-1 +1 more | No fix listed | No fix yet |
| debian/libcrypt-dsa-perl(Debian 13) | = 1.19-1; = 1.20-1; = 1.21-1; All versions | No fix listed | No fix yet |
| ubuntu/libcrypt-dsa-perl(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/libcrypt-dsa-perl(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| ubuntu/libcrypt-dsa-perl(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| TIMLEGGE Crypt::DSA | < 1.22 | 1.22 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| TIMLEGGE Crypt::DSA | < 1.22 | 1.22 |
| debian/libcrypt-dsa-perl(Debian:12) | All versions | No fix listed |
| debian/libcrypt-dsa-perl(Debian:12) | = 1.17-5 | No fix listed |
| debian/libcrypt-dsa-perl(Debian:12) | = 1.19-1 | No fix listed |
| debian/libcrypt-dsa-perl(Debian:12) | = 1.20-1 | No fix listed |
| debian/libcrypt-dsa-perl(Debian:12) | = 1.21-1 | No fix listed |
| debian/libcrypt-dsa-perl(Debian:13) | All versions | No fix listed |
| debian/libcrypt-dsa-perl(Debian:13) | = 1.19-1 | No fix listed |
| debian/libcrypt-dsa-perl(Debian:13) | = 1.20-1 | No fix listed |
| debian/libcrypt-dsa-perl(Debian:13) | = 1.21-1 | No fix listed |
| ubuntu/libcrypt-dsa-perl(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/libcrypt-dsa-perl(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/libcrypt-dsa-perl(Ubuntu:26.04) | All versions | No fix listed |
References
- metacpan.org
- metacpan.org
- metacpan.org release-notes
- www.openwall.com
- Red Hat CVE page mitigation vendor-advisory
- Red Hat Bugzilla 2497106 issue-tracking
- www.cve.org
- nvd.nist.gov
- Debian Security Tracker CVE-2026-14570 vendor-advisory
- Ubuntu CVE tracker vendor-advisory