CVE-2026-14570Crypt::DSA versions before 1.22 for Perl draw the DSA signing nonce and private key from…
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.
What to do
Debian, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.04 | libcrypt-dsa-perl | Under investigation | UBUNTU-CVE-2026-14570 | |
| Ubuntu 25.10 | libcrypt-dsa-perl | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2026-14570 | |
| Ubuntu 24.04 | libcrypt-dsa-perl | Under investigation | UBUNTU-CVE-2026-14570 | |
| Ubuntu 22.04 | libcrypt-dsa-perl | Under investigation | UBUNTU-CVE-2026-14570 | |
| Ubuntu 20.04 | libcrypt-dsa-perl | Fix pending | UBUNTU-CVE-2026-14570 | |
| Ubuntu 18.04 | libcrypt-dsa-perl | Fix pending | UBUNTU-CVE-2026-14570 | |
| Ubuntu 16.04 | libcrypt-dsa-perl | Fix pending | UBUNTU-CVE-2026-14570 | |
| Debian 13 | libcrypt-dsa-perl | Fix pending | DEBIAN-CVE-2026-14570 | |
| Debian 12 | libcrypt-dsa-perl | Fix pending | DEBIAN-CVE-2026-14570 |
What the vendor says
As published in the CVE record by CPANSec, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- TIMLEGGE Crypt::DSA: affected: before 1.22; fixed in
1.22
Solution: Upgrade to version 1.22 or later, which draws the nonce and private key uniformly via rejection sampling (Crypt::DSA::Util::randombelow) with no forced high bit. Revoke and regenerate any keys used to sign with an affected version. Crypt::DSA was deprecated in version 1.20. You should migrate to another solution.
Vendor advisories:
- https://metacpan.org/release/TIMLEGGE/Crypt-DSA-1.22/changes (release-notes)
References
- https://metacpan.org/release/TIMLEGGE/Crypt-DSA-1.21/source/lib/Crypt/DSA/Util.pm#L56
- https://metacpan.org/release/TIMLEGGE/Crypt-DSA-1.22/diff/TIMLEGGE/Crypt-DSA-1.21#lib/Crypt/DSA/Util.pm
- https://metacpan.org/release/TIMLEGGE/Crypt-DSA-1.22/changes
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.