CVE-2026-12205: CWE-323 Reusing a Nonce, Key Pair in Encryption in TIMLEGGE Crypt::DSA
Crypt::DSA versions before 1.21 for Perl contain a vulnerability where the nonce used in digital signatures is reused across multiple signatures. This reuse occurs because the nonce material is cached in the Key object and never cleared, causing identical nonce values in subsequent signatures. As a result, private keys can be recovered if the same key signs more than once. This vulnerability is classified as CWE-323 and has a critical severity with a CVSS score of 9.1.
AI Analysis
Technical Summary
The Crypt::DSA Perl module versions prior to 1.21 suffer from a nonce reuse vulnerability in the signing process. Specifically, the Crypt::DSA::sign function caches the per-signature nonce in the Key object and does not clear it after use. Consequently, the first signature generates a nonce, but subsequent signatures with the same Key object reuse this nonce, resulting in identical 'r' values in signatures. This nonce reuse enables attackers to recover the private key, compromising the security of the signing key. Keys used to sign more than once with affected versions should be considered compromised.
Potential Impact
An attacker who obtains multiple signatures generated by the same key object in affected versions can recover the private key due to nonce reuse. This compromises the confidentiality and integrity of cryptographic operations relying on the private key, allowing impersonation or signature forgery. The vulnerability does not affect availability.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, avoid using Crypt::DSA versions prior to 1.21 for signing operations, or ensure that keys are not reused for multiple signatures. Consider regenerating keys if they have been used multiple times with affected versions, as they should be considered compromised.
CVE-2026-12205: CWE-323 Reusing a Nonce, Key Pair in Encryption in TIMLEGGE Crypt::DSA
Description
Crypt::DSA versions before 1.21 for Perl contain a vulnerability where the nonce used in digital signatures is reused across multiple signatures. This reuse occurs because the nonce material is cached in the Key object and never cleared, causing identical nonce values in subsequent signatures. As a result, private keys can be recovered if the same key signs more than once. This vulnerability is classified as CWE-323 and has a critical severity with a CVSS score of 9.1.
CVSS v3.1
Score 9.1critical
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Crypt::DSA Perl module versions prior to 1.21 suffer from a nonce reuse vulnerability in the signing process. Specifically, the Crypt::DSA::sign function caches the per-signature nonce in the Key object and does not clear it after use. Consequently, the first signature generates a nonce, but subsequent signatures with the same Key object reuse this nonce, resulting in identical 'r' values in signatures. This nonce reuse enables attackers to recover the private key, compromising the security of the signing key. Keys used to sign more than once with affected versions should be considered compromised.
Potential Impact
An attacker who obtains multiple signatures generated by the same key object in affected versions can recover the private key due to nonce reuse. This compromises the confidentiality and integrity of cryptographic operations relying on the private key, allowing impersonation or signature forgery. The vulnerability does not affect availability.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, avoid using Crypt::DSA versions prior to 1.21 for signing operations, or ensure that keys are not reused for multiple signatures. Consider regenerating keys if they have been used multiple times with affected versions, as they should be considered compromised.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- CPANSec
- Date Reserved
- 2026-06-14T12:07:30.610Z
- Cvss Version
- null
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a307d3d0b89be6888adcd1b
Added to database: 06/15/2026, 22:31:25 UTC
Last enriched: 06/23/2026, 15:18:42 UTC
Last updated: 07/31/2026, 19:22:57 UTC
Views: 97
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.