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

Critical 9.1 Published Updated

Reusing nonces in Crypt::DSA allows private key recovery, compromising all keys signed with affected versions.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2026-12205?

CVE-2026-12205 is a critical vulnerability in TIMLEGGE Crypt::DSA, published on 15 Jun 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Weakness: CWE-323

Which versions are affected by CVE-2026-12205?

How do I fix CVE-2026-12205?

No fix has been published for CVE-2026-12205 yet. Limit exposure of the affected software until one is available.

Is CVE-2026-12205 being exploited?

There is no known exploitation of CVE-2026-12205 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2026-12205, GHSA-88g7-87jg-w4q9, UBUNTU-CVE-2026-12205.

Is CVE-2026-12205 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free