Bug 2497529

Summary: CVE-2026-14570 perl-Crypt-DSA: Crypt::DSA: Private key recovery due to biased random number generation [fedora-all]
Product: [Fedora] Fedora Reporter: Jon Weiser <jweiser>
Component: perl-Crypt-DSAAssignee: Paul Howarth <paul>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: high    
Version: rawhideCC: paul, perl-devel
Target Milestone: ---Keywords: Security, SecurityTracking
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: {"flaws": ["fa6c4716-7e81-4930-b2c0-9b91b5f8fe01"]}
Fixed In Version: perl-Crypt-DSA-1.22-1.fc43 perl-Crypt-DSA-1.22-1.fc44 Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2026-07-12 00:59:14 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2497106    

Description Jon Weiser 2026-07-06 21:56:54 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

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.

Comment 1 Fedora Update System 2026-07-07 08:22:15 UTC
FEDORA-2026-fcfc08d46c (perl-Crypt-DSA-1.22-1.fc44) has been submitted as an update to Fedora 44.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-fcfc08d46c

Comment 2 Fedora Update System 2026-07-07 08:24:19 UTC
FEDORA-2026-b77b9c5f04 (perl-Crypt-DSA-1.22-1.fc43) has been submitted as an update to Fedora 43.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-b77b9c5f04

Comment 3 Fedora Update System 2026-07-12 00:59:14 UTC
FEDORA-2026-b77b9c5f04 (perl-Crypt-DSA-1.22-1.fc43) has been pushed to the Fedora 43 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 4 Fedora Update System 2026-07-12 01:11:11 UTC
FEDORA-2026-fcfc08d46c (perl-Crypt-DSA-1.22-1.fc44) has been pushed to the Fedora 44 stable repository.
If problem still persists, please make note of it in this bug report.