cve.bz

CVE-2026-12205 timlegge crypt dsa: Reusing a Nonce, Key Pair in Encryption

9.1 criticalEPSS 0.3%

Critical (9.1) in timlegge crypt dsa. EPSS 0.3% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

9.1 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
EPSS
0.3% (unchanged from 0.3% a week ago; 0.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 22nd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: total, assessed 2026-06-16. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-323 Reusing a Nonce, Key Pair in Encryption
OWASP Top 10
A04:2025 Cryptographic Failures
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Ask an AI about this CVE

Show the promptExplain CVE-2026-12205 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-12205?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-12205?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-12205 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
TIMLEGGE Crypt::DSAbefore 1.21

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13libcrypt-dsa-perlno fix listedDEBIAN-CVE-2026-12205
Ubuntu16.04:LTS, 18.04:LTS, 20.04:LTS and 4 morelibcrypt-dsa-perlno fix listedUBUNTU-CVE-2026-12205

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.

Red Hat

Red Hat rates this Important.

Red Hat's statement

This is an Important flaw in the `perl-Crypt-DSA` module, allowing private key recovery due to nonce reuse across multiple digital signatures generated with the same key. An attacker could exploit this to compromise data signed with the affected key. This risk is present when applications repeatedly use the same `Crypt::DSA` key object for signing without proper nonce regeneration.

Red Hat's mitigation

To mitigate this issue, ensure that a new Crypt::DSA Key object is instantiated for each digital signature operation. Reusing the same Key object for multiple signatures will lead to nonce reuse and potential private key recovery. If a service or application uses Crypt::DSA for signing, it should be restarted after implementing this change to ensure new key objects are used.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-12205.

References

Check your stackJSON