CVEfocus › CVE database › CVE-2026-14570

CVE-2026-14570Crypt::DSA versions before 1.22 for Perl draw the DSA signing nonce and private key from…

CVSS 7.5 HighEPSS 0.5% (higher than 37% of CVEs)Published 2026-07-05Updated 2026-07-06Assigner: CPANSec

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.

CWE-330

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

5Fix pending
3Under investigation
1Will not fix

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.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04libcrypt-dsa-perlUnder investigationUBUNTU-CVE-2026-14570
Ubuntu 25.10libcrypt-dsa-perlWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2026-14570
Ubuntu 24.04libcrypt-dsa-perlUnder investigationUBUNTU-CVE-2026-14570
Ubuntu 22.04libcrypt-dsa-perlUnder investigationUBUNTU-CVE-2026-14570
Ubuntu 20.04libcrypt-dsa-perlFix pendingUBUNTU-CVE-2026-14570
Ubuntu 18.04libcrypt-dsa-perlFix pendingUBUNTU-CVE-2026-14570
Ubuntu 16.04libcrypt-dsa-perlFix pendingUBUNTU-CVE-2026-14570
Debian 13libcrypt-dsa-perlFix pendingDEBIAN-CVE-2026-14570
Debian 12libcrypt-dsa-perlFix pendingDEBIAN-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.

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:

References

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.