{ "document": { "category": "csaf_security_advisory", "csaf_version": "2.0", "distribution": { "tlp": { "label": "WHITE", "url": "https://www.first.org/tlp/" } }, "lang": "en", "notes": [ { "category": "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. \"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.", "title": "Vulnerability Description" } ], "publisher": { "category": "other", "contact_details": "gdt@cpan.org", "name": "giterlizzi", "namespace": "https://github.com/giterlizzi/" }, "references": [ { "category": "self", "summary": "CPANSA-Crypt-DSA-2026-14570 JSON", "url": "https://raw.githubusercontent.com/giterlizzi/perl-CPANSA-CSAF/develop/csaf/white/2026/cpansa-crypt-dsa-2026-14570.json" }, { "category": "external", "summary": "https://metacpan.org/release/TIMLEGGE/Crypt-DSA-1.21/source/lib/Crypt/DSA/Util.pm#L56", "url": "https://metacpan.org/release/TIMLEGGE/Crypt-DSA-1.21/source/lib/Crypt/DSA/Util.pm#L56" }, { "category": "external", "summary": "https://metacpan.org/release/TIMLEGGE/Crypt-DSA-1.22/changes", "url": "https://metacpan.org/release/TIMLEGGE/Crypt-DSA-1.22/changes" }, { "category": "external", "summary": "https://metacpan.org/release/TIMLEGGE/Crypt-DSA-1.22/diff/TIMLEGGE/Crypt-DSA-1.21#lib/Crypt/DSA/Util.pm", "url": "https://metacpan.org/release/TIMLEGGE/Crypt-DSA-1.22/diff/TIMLEGGE/Crypt-DSA-1.21#lib/Crypt/DSA/Util.pm" }, { "category": "external", "summary": "http://www.openwall.com/lists/oss-security/2026/07/05/1", "url": "http://www.openwall.com/lists/oss-security/2026/07/05/1" }, { "category": "external", "summary": "CVE-2026-14570 (NVD)", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-14570" } ], "title": "Crypt-DSA vulnerability", "tracking": { "current_release_date": "2026-07-05T00:00:00", "generator": { "engine": { "name": "CSAF Perl Toolkit", "version": "0.26" } }, "id": "CPANSA-Crypt-DSA-2026-14570", "initial_release_date": "2026-07-05T00:00:00", "revision_history": [ { "date": "2026-07-05T00:00:00", "number": "1", "summary": "First release" } ], "status": "final", "version": "1" } }, "product_tree": { "branches": [ { "branches": [ { "category": "product_version_range", "name": "vers:cpan/<1.22", "product": { "name": "Crypt-DSA less than 1.22", "product_id": "CSAFPID-0001", "product_identification_helper": { "purl": "pkg:cpan/Crypt-DSA" } } }, { "category": "product_version_range", "name": "vers:cpan/>=1.22", "product": { "name": "Crypt-DSA greater than or equal 1.22", "product_id": "CSAFPID-0002", "product_identification_helper": { "purl": "pkg:cpan/Crypt-DSA" } } } ], "category": "product_name", "name": "Crypt-DSA" } ] }, "vulnerabilities": [ { "cve": "CVE-2026-14570", "cwe": { "id": "CWE-330", "name": "Use of Insufficiently Random Values" }, "notes": [ { "category": "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.", "title": "Vulnerability Description" } ], "product_status": { "fixed": [ "CSAFPID-0002" ], "known_affected": [ "CSAFPID-0001" ] }, "scores": [ { "cvss_v3": { "baseScore": 7.5, "baseSeverity": "HIGH", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N", "version": "3.1" }, "products": [ "CSAFPID-0001" ] } ] } ] }