CVE-2026-14570

Source
https://cve.org/CVERecord?id=CVE-2026-14570
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-14570.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-14570
Downstream
Published
2026-07-05T01:30:12.849Z
Modified
2026-07-08T08:04:54.810381086Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N CVSS Calculator
Summary
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
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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/14xxx/CVE-2026-14570.json",
    "cwe_ids": [
        "CWE-330"
    ],
    "cna_assigner": "CPANSec"
}
References

Affected packages

Git / github.com/perl-crypt-openpgp/crypt-dsa

Affected ranges

Type
GIT
Repo
https://github.com/perl-crypt-openpgp/crypt-dsa
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
{
    "source": "AFFECTED_FIELD",
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "fixed": "1.22"
        }
    ]
}

Affected versions

1.*
1.17
1.18
1.19
1.20
1.21

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-14570.json"