CVE catalog

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. "Crypt::DSA::Util::makerandom forces the high bit

[CVE catalog]

Severity
High · CVSS 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Published
Source
[NVD] · [CVE record]
EPSS
0.51% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianlibcrypt-dsa-perltrixie1.19-1vulnerable
Debianlibcrypt-dsa-perlbookworm1.17-5vulnerable
Cpelibcrypt-dsa-perlNot reportedNot reportedvulnerable
Ubuntulibcrypt-dsa-perl16.041.17-3vulnerable
Ubuntulibcrypt-dsa-perl16.041.17-4vulnerable
Ubuntulibcrypt-dsa-perl18.041.17-4vulnerable
Ubuntulibcrypt-dsa-perl20.041.17-4vulnerable
Ubuntulibcrypt-dsa-perl22.041.17-4vulnerable
Ubuntulibcrypt-dsa-perl24.041.17-5vulnerable
Ubuntulibcrypt-dsa-perl25.101.19-1vulnerable
Ubuntulibcrypt-dsa-perl26.041.19-1vulnerable

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianlibcrypt-dsa-perlsourcetrixie(unfixed)not yet assignedNot reportedNot reported
Debianlibcrypt-dsa-perlsourcebookworm(unfixed)not yet assignedNot reportedNot reported

Notes

[trixie] libcrypt-dsa-perl: Minor issue [bookworm] libcrypt-dsa-perl: Minor issue; biased makerandom nonce/key generation; obsolete leaf module, removed from sid

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • Details (2)
    • 1.17-5 · all · bookworm

      Affected

      nvd · libcrypt-dsa-perl · debian · bookworm; nvd · libcrypt-dsa-perl · debian · 12

    • 1.17-5 · all · bookworm

      Affected

      nvd · libcrypt-dsa-perl · debian · bookworm; nvd · libcrypt-dsa-perl · debian · 12

[Debian 13 (Trixie)]

  • Details (2)
    • 1.19-1 · all · trixie

      Affected

      nvd · libcrypt-dsa-perl · debian · 13

    • 1.19-1 · all · trixie

      Affected

      nvd · libcrypt-dsa-perl · debian · 13

Observed:

References