Skip to content

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

CriticalCVSS 9.1 EPSS 0.29%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: yes · technical impact: total
Technology
UbuntuDebian

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.

Upgrade path

6 packages: 1 fixed, 5 with no fix yet.

PackageAffectedFixed inStatus
debian/libcrypt-dsa-perl(Debian 12) = 1.17-5; = 1.19-1; = 1.20-1; = 1.21-1 +1 more No fix listed No fix yet
debian/libcrypt-dsa-perl(Debian 13) = 1.19-1; = 1.20-1; = 1.21-1; All versions No fix listed No fix yet
ubuntu/libcrypt-dsa-perl(Ubuntu 22.04) All versions No fix listed No fix yet
ubuntu/libcrypt-dsa-perl(Ubuntu 24.04) All versions No fix listed No fix yet
ubuntu/libcrypt-dsa-perl(Ubuntu 26.04) All versions No fix listed No fix yet
TIMLEGGE Crypt::DSA < 1.21 1.21 Fixed

Affected products

ProductAffected versionsFixed in
TIMLEGGE Crypt::DSA < 1.21 1.21
debian/libcrypt-dsa-perl(Debian:12) All versions No fix listed
debian/libcrypt-dsa-perl(Debian:12) = 1.17-5 No fix listed
debian/libcrypt-dsa-perl(Debian:12) = 1.19-1 No fix listed
debian/libcrypt-dsa-perl(Debian:12) = 1.20-1 No fix listed
debian/libcrypt-dsa-perl(Debian:12) = 1.21-1 No fix listed
debian/libcrypt-dsa-perl(Debian:13) All versions No fix listed
debian/libcrypt-dsa-perl(Debian:13) = 1.19-1 No fix listed
debian/libcrypt-dsa-perl(Debian:13) = 1.20-1 No fix listed
debian/libcrypt-dsa-perl(Debian:13) = 1.21-1 No fix listed
ubuntu/libcrypt-dsa-perl(Ubuntu:22.04) All versions No fix listed
ubuntu/libcrypt-dsa-perl(Ubuntu:24.04) All versions No fix listed
ubuntu/libcrypt-dsa-perl(Ubuntu:26.04) All versions No fix listed

References