Crypt::DSA versions before 1.21 for Perl reused the nonce across signatures, leading to private-key recovery.

Crypt::DSA::sign caches the per-signature nonce material in the Key object without ever clearing it.

The first sign() on a Key object picks a nonce, and every later sign() on that same object reuses it, producing an identical "r".

Keys used to sign more than once with an affected version should be considered compromised.

Project Subscriptions

Vendors Products
Timlegge Subscribe
Crypt::dsa Subscribe
Advisories

No advisories yet.

Fixes

Solution

Upgrade to version 1.21 Revoke any keys that may have been compromised. Crypt::DSA was deprecated in version 1.20. You should migrate to another solution.


Workaround

No workaround given by the vendor.

History

Tue, 16 Jun 2026 06:30:00 +0000

Type Values Removed Values Added
First Time appeared Timlegge
Timlegge crypt::dsa
Vendors & Products Timlegge
Timlegge crypt::dsa

Mon, 15 Jun 2026 23:30:00 +0000

Type Values Removed Values Added
References

Mon, 15 Jun 2026 22:30:00 +0000

Type Values Removed Values Added
Description Crypt::DSA versions before 1.21 for Perl reused the nonce across signatures, leading to private-key recovery. Crypt::DSA::sign caches the per-signature nonce material in the Key object without ever clearing it. The first sign() on a Key object picks a nonce, and every later sign() on that same object reuses it, producing an identical "r". Keys used to sign more than once with an affected version should be considered compromised.
Title Crypt::DSA versions before 1.21 for Perl reused the nonce across signatures, leading to private-key recovery
Weaknesses CWE-323
References

Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: CPANSec

Published:

Updated: 2026-06-15T22:44:28.639Z

Reserved: 2026-06-14T12:07:30.610Z

Link: CVE-2026-12205

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-06-15T23:16:43.150

Modified: 2026-06-15T23:16:43.150

Link: CVE-2026-12205

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-06-16T02:15:03Z

Weaknesses