{"id":"UBUNTU-CVE-2026-14570","details":"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.","modified":"2026-07-09T15:15:46Z","published":"2026-07-05T02:17:00Z","upstream":["CVE-2026-14570"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-14570"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-14570"},{"type":"REPORT","url":"https://lists.security.metacpan.org/cve-announce/msg/41542402/"},{"type":"REPORT","url":"https://metacpan.org/release/TIMLEGGE/Crypt-DSA-1.21/source/lib/Crypt/DSA/Util.pm#L56"},{"type":"REPORT","url":"https://metacpan.org/release/TIMLEGGE/Crypt-DSA-1.22/changes"},{"type":"REPORT","url":"https://metacpan.org/release/TIMLEGGE/Crypt-DSA-1.22/diff/TIMLEGGE/Crypt-DSA-1.21#lib/Crypt/DSA/Util.pm"},{"type":"REPORT","url":"http://www.openwall.com/lists/oss-security/2026/07/05/1"}],"affected":[{"package":{"name":"libcrypt-dsa-perl","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/libcrypt-dsa-perl?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.17-3","1.17-4"],"ecosystem_specific":{"binaries":[{"binary_name":"libcrypt-dsa-perl","binary_version":"1.17-4"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-14570.json"}},{"package":{"name":"libcrypt-dsa-perl","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/libcrypt-dsa-perl?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.17-4"],"ecosystem_specific":{"binaries":[{"binary_name":"libcrypt-dsa-perl","binary_version":"1.17-4"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-14570.json"}},{"package":{"name":"libcrypt-dsa-perl","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/libcrypt-dsa-perl?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.17-4"],"ecosystem_specific":{"binaries":[{"binary_name":"libcrypt-dsa-perl","binary_version":"1.17-4"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-14570.json"}},{"package":{"name":"libcrypt-dsa-perl","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/libcrypt-dsa-perl?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.17-4"],"ecosystem_specific":{"binaries":[{"binary_name":"libcrypt-dsa-perl","binary_version":"1.17-4"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-14570.json"}},{"package":{"name":"libcrypt-dsa-perl","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/libcrypt-dsa-perl?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.17-5"],"ecosystem_specific":{"binaries":[{"binary_version":"1.17-5","binary_name":"libcrypt-dsa-perl"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-14570.json"}},{"package":{"name":"libcrypt-dsa-perl","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/libcrypt-dsa-perl?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.19-1"],"ecosystem_specific":{"binaries":[{"binary_name":"libcrypt-dsa-perl","binary_version":"1.19-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-14570.json"}},{"package":{"name":"libcrypt-dsa-perl","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/libcrypt-dsa-perl?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.19-1"],"ecosystem_specific":{"binaries":[{"binary_name":"libcrypt-dsa-perl","binary_version":"1.19-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-14570.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"},{"type":"Ubuntu","score":"medium"}]}