{"id":"CVE-2026-14570","published":"2026-07-05T01:30:12Z","modified":"2026-07-06T13:42:11Z","title":"Crypt::DSA versions before 1.22 for Perl draw the DSA signing nonce and private key from a biased random generator…","vendor":"TIMLEGGE","product":"Crypt::DSA","tier":"tail","description":{"text":"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.\n\n\"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.\"\n\nAn 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.\n\nKeys used to sign with an affected version should be considered compromised and new keys should be generated.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00508,"percentile":0.44318,"provenance":"source"},"cwes":[{"id":"CWE-330","name":"Use of Insufficiently Random Values"}],"references":[{"url":"https://metacpan.org/release/TIMLEGGE/Crypt-DSA-1.21/source/lib/Crypt/DSA/Util.pm#L56","tags":[]},{"url":"https://metacpan.org/release/TIMLEGGE/Crypt-DSA-1.22/diff/TIMLEGGE/Crypt-DSA-1.21#lib/Crypt/DSA/Util.pm","tags":[]},{"url":"https://metacpan.org/release/TIMLEGGE/Crypt-DSA-1.22/changes","tags":["release-notes"]},{"url":"http://www.openwall.com/lists/oss-security/2026/07/05/1","tags":[]}],"priority":{"score":14.1,"factors":[{"name":"EPSS percentile","points":8.86},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"timlegge","affectedVersions":[{"vendor":"TIMLEGGE","product":"Crypt::DSA","versions":["< 1.22"]}],"solutions":{"items":["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."],"from":"CVE.org CNA","provenance":"source"},"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-07-06T13:41:52.097549Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-41713","exploited":false,"provenance":"source"}}