CVE-2026-12205 (GCVE-0-2026-12205)
Vulnerability from cvelistv5
Published
2026-06-15 21:57
Modified
2026-06-16 16:13
Severity ?
CWE
  • CWE-323 - Reusing a Nonce, Key Pair in Encryption
Summary
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.
Impacted products
Vendor Product Version
TIMLEGGE Crypt::DSA Version: 0   < 1.21
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "adp": [
      {
        "providerMetadata": {
          "dateUpdated": "2026-06-15T22:44:28.639Z",
          "orgId": "af854a3a-2127-422b-91ae-364da2661108",
          "shortName": "CVE"
        },
        "references": [
          {
            "url": "http://www.openwall.com/lists/oss-security/2026/06/15/4"
          }
        ],
        "title": "CVE Program Container"
      },
      {
        "metrics": [
          {
            "cvssV3_1": {
              "attackComplexity": "LOW",
              "attackVector": "NETWORK",
              "availabilityImpact": "NONE",
              "baseScore": 9.1,
              "baseSeverity": "CRITICAL",
              "confidentialityImpact": "HIGH",
              "integrityImpact": "HIGH",
              "privilegesRequired": "NONE",
              "scope": "UNCHANGED",
              "userInteraction": "NONE",
              "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N",
              "version": "3.1"
            }
          },
          {
            "other": {
              "content": {
                "id": "CVE-2026-12205",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "yes"
                  },
                  {
                    "Technical Impact": "total"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2026-06-16T16:13:28.769417Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2026-06-16T16:13:32.533Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "collectionURL": "https://cpan.org/modules",
          "defaultStatus": "unaffected",
          "packageName": "Crypt-DSA",
          "product": "Crypt::DSA",
          "programFiles": [
            "lib/Crypt/DSA.pm"
          ],
          "programRoutines": [
            {
              "name": "Crypt::DSA::sign"
            }
          ],
          "repo": "https://github.com/perl-Crypt-OpenPGP/Crypt-DSA",
          "vendor": "TIMLEGGE",
          "versions": [
            {
              "lessThan": "1.21",
              "status": "affected",
              "version": "0",
              "versionType": "custom"
            }
          ]
        }
      ],
      "credits": [
        {
          "lang": "en",
          "type": "finder",
          "value": "Richard Kettlewell"
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "Crypt::DSA versions before 1.21 for Perl reused the nonce across signatures, leading to private-key recovery.\n\nCrypt::DSA::sign caches the per-signature nonce material in the Key object without ever clearing it.\n\nThe first sign() on a Key object picks a nonce, and every later sign() on that same object reuses it, producing an identical \"r\".\n\nKeys used to sign more than once with an affected version should be considered compromised."
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "cweId": "CWE-323",
              "description": "CWE-323 Reusing a Nonce, Key Pair in Encryption",
              "lang": "en",
              "type": "CWE"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-06-15T21:57:18.317Z",
        "orgId": "9b29abf9-4ab0-4765-b253-1875cd9b441e",
        "shortName": "CPANSec"
      },
      "references": [
        {
          "url": "https://metacpan.org/release/TIMLEGGE/Crypt-DSA-1.20/source/lib/Crypt/DSA.pm#L47"
        },
        {
          "tags": [
            "release-notes"
          ],
          "url": "https://metacpan.org/release/TIMLEGGE/Crypt-DSA-1.21/changes"
        }
      ],
      "solutions": [
        {
          "lang": "en",
          "value": "Upgrade to version 1.21\n\nRevoke any keys that may have been compromised.\n\nCrypt::DSA was deprecated in version 1.20. You should migrate to another solution."
        }
      ],
      "source": {
        "discovery": "UNKNOWN"
      },
      "timeline": [
        {
          "lang": "en",
          "time": "2026-05-16T00:00:00.000Z",
          "value": "Maintainer contacted"
        },
        {
          "lang": "en",
          "time": "2026-06-13T00:00:00.000Z",
          "value": "Maintainer and CPANSec contacted"
        },
        {
          "lang": "en",
          "time": "2026-06-14T00:00:00.000Z",
          "value": "Fixed version released"
        }
      ],
      "title": "Crypt::DSA versions before 1.21 for Perl reused the nonce across signatures, leading to private-key recovery",
      "x_generator": {
        "engine": "cpansec-cna-tool 0.1"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "9b29abf9-4ab0-4765-b253-1875cd9b441e",
    "assignerShortName": "CPANSec",
    "cveId": "CVE-2026-12205",
    "datePublished": "2026-06-15T21:57:18.317Z",
    "dateReserved": "2026-06-14T12:07:30.610Z",
    "dateUpdated": "2026-06-16T16:13:32.533Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "vulnrichment": {
      "containers": "{\"adp\": [{\"title\": \"CVE Program Container\", \"references\": [{\"url\": \"http://www.openwall.com/lists/oss-security/2026/06/15/4\"}], \"providerMetadata\": {\"orgId\": \"af854a3a-2127-422b-91ae-364da2661108\", \"shortName\": \"CVE\", \"dateUpdated\": \"2026-06-15T22:44:28.639Z\"}}, {\"title\": \"CISA ADP Vulnrichment\", \"metrics\": [{\"cvssV3_1\": {\"scope\": \"UNCHANGED\", \"version\": \"3.1\", \"baseScore\": 9.1, \"attackVector\": \"NETWORK\", \"baseSeverity\": \"CRITICAL\", \"vectorString\": \"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N\", \"integrityImpact\": \"HIGH\", \"userInteraction\": \"NONE\", \"attackComplexity\": \"LOW\", \"availabilityImpact\": \"NONE\", \"privilegesRequired\": \"NONE\", \"confidentialityImpact\": \"HIGH\"}}, {\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2026-12205\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"none\"}, {\"Automatable\": \"yes\"}, {\"Technical Impact\": \"total\"}], \"version\": \"2.0.3\", \"timestamp\": \"2026-06-16T16:13:28.769417Z\"}}}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2026-06-16T16:13:23.959Z\"}}], \"cna\": {\"title\": \"Crypt::DSA versions before 1.21 for Perl reused the nonce across signatures, leading to private-key recovery\", \"source\": {\"discovery\": \"UNKNOWN\"}, \"credits\": [{\"lang\": \"en\", \"type\": \"finder\", \"value\": \"Richard Kettlewell\"}], \"affected\": [{\"repo\": \"https://github.com/perl-Crypt-OpenPGP/Crypt-DSA\", \"vendor\": \"TIMLEGGE\", \"product\": \"Crypt::DSA\", \"versions\": [{\"status\": \"affected\", \"version\": \"0\", \"lessThan\": \"1.21\", \"versionType\": \"custom\"}], \"packageName\": \"Crypt-DSA\", \"programFiles\": [\"lib/Crypt/DSA.pm\"], \"collectionURL\": \"https://cpan.org/modules\", \"defaultStatus\": \"unaffected\", \"programRoutines\": [{\"name\": \"Crypt::DSA::sign\"}]}], \"timeline\": [{\"lang\": \"en\", \"time\": \"2026-05-16T00:00:00.000Z\", \"value\": \"Maintainer contacted\"}, {\"lang\": \"en\", \"time\": \"2026-06-13T00:00:00.000Z\", \"value\": \"Maintainer and CPANSec contacted\"}, {\"lang\": \"en\", \"time\": \"2026-06-14T00:00:00.000Z\", \"value\": \"Fixed version released\"}], \"solutions\": [{\"lang\": \"en\", \"value\": \"Upgrade to version 1.21\\n\\nRevoke any keys that may have been compromised.\\n\\nCrypt::DSA was deprecated in version 1.20. You should migrate to another solution.\"}], \"references\": [{\"url\": \"https://metacpan.org/release/TIMLEGGE/Crypt-DSA-1.20/source/lib/Crypt/DSA.pm#L47\"}, {\"url\": \"https://metacpan.org/release/TIMLEGGE/Crypt-DSA-1.21/changes\", \"tags\": [\"release-notes\"]}], \"x_generator\": {\"engine\": \"cpansec-cna-tool 0.1\"}, \"descriptions\": [{\"lang\": \"en\", \"value\": \"Crypt::DSA versions before 1.21 for Perl reused the nonce across signatures, leading to private-key recovery.\\n\\nCrypt::DSA::sign caches the per-signature nonce material in the Key object without ever clearing it.\\n\\nThe first sign() on a Key object picks a nonce, and every later sign() on that same object reuses it, producing an identical \\\"r\\\".\\n\\nKeys used to sign more than once with an affected version should be considered compromised.\"}], \"problemTypes\": [{\"descriptions\": [{\"lang\": \"en\", \"type\": \"CWE\", \"cweId\": \"CWE-323\", \"description\": \"CWE-323 Reusing a Nonce, Key Pair in Encryption\"}]}], \"providerMetadata\": {\"orgId\": \"9b29abf9-4ab0-4765-b253-1875cd9b441e\", \"shortName\": \"CPANSec\", \"dateUpdated\": \"2026-06-15T21:57:18.317Z\"}}}",
      "cveMetadata": "{\"cveId\": \"CVE-2026-12205\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2026-06-16T16:13:32.533Z\", \"dateReserved\": \"2026-06-14T12:07:30.610Z\", \"assignerOrgId\": \"9b29abf9-4ab0-4765-b253-1875cd9b441e\", \"datePublished\": \"2026-06-15T21:57:18.317Z\", \"assignerShortName\": \"CPANSec\"}",
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…