{"id":"CVE-2026-46473","state":"PUBLISHED","title":"Authen::TOTP versions before 0.1.1 for Perl generate secrets using rand","description":"Authen::TOTP versions before 0.1.1 for Perl generate secrets using rand.\n\nSecrets were generated using Perl's built-in rand function, which is predictable and unsuitable for security usage.","publishedAt":"2026-05-21T18:53:18.547Z","updatedAt":"2026-05-21T21:31:45.691Z","severity":{"score":7.5,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","source":"CISA-ADP"},"assigner":"CPANSec","products":["TCHATZI Authen::TOTP"],"affected":[{"vendor":"TCHATZI","product":"Authen::TOTP","packageName":"Authen-TOTP","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"0.1.1","versionType":"custom"}],"collectionURL":"https://cpan.org/modules","programFiles":["lib/Authen/TOTP.pm"],"programRoutines":[{"name":"Authen::TOTP::gen_secret"}],"repo":"https://github.com/tchatzi/Authen-TOTP"}],"references":["https://metacpan.org/release/TCHATZI/Authen-TOTP-0.1.1/changes","https://github.com/tchatzi/Authen-TOTP/commit/d04f30cc6538d77fc6b6d550da450cf3017b8561.patch","http://www.openwall.com/lists/oss-security/2026/05/21/15"],"weaknesses":["CWE-331"],"ingestedAt":"2026-10-29T20:12:07.131Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/46xxx/CVE-2026-46473.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-46473","state":"PUBLISHED","datePublished":"2026-05-21T18:53:18.547Z","dateUpdated":"2026-05-21T21:31:45.691Z","assignerShortName":"CPANSec","assignerOrgId":"9b29abf9-4ab0-4765-b253-1875cd9b441e","dateReserved":"2026-05-14T17:55:07.623Z"},"containers":{"cna":{"title":"Authen::TOTP versions before 0.1.1 for Perl generate secrets using rand","descriptions":[{"lang":"en","value":"Authen::TOTP versions before 0.1.1 for Perl generate secrets using rand.\n\nSecrets were generated using Perl's built-in rand function, which is predictable and unsuitable for security usage."}],"affected":[{"vendor":"TCHATZI","product":"Authen::TOTP","packageName":"Authen-TOTP","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"0.1.1","versionType":"custom"}],"collectionURL":"https://cpan.org/modules","programFiles":["lib/Authen/TOTP.pm"],"programRoutines":[{"name":"Authen::TOTP::gen_secret"}],"repo":"https://github.com/tchatzi/Authen-TOTP"}],"references":[{"url":"https://metacpan.org/release/TCHATZI/Authen-TOTP-0.1.1/changes","tags":["release-notes"]},{"url":"https://github.com/tchatzi/Authen-TOTP/commit/d04f30cc6538d77fc6b6d550da450cf3017b8561.patch","tags":["patch"]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-331","description":"CWE-331 Insufficient Entropy","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"CPANSec","orgId":"9b29abf9-4ab0-4765-b253-1875cd9b441e","dateUpdated":"2026-05-21T18:53:18.547Z"},"impacts":[{"capecId":"CAPEC-114","descriptions":[{"lang":"en","value":"CAPEC-114 Authentication Abuse"}]}],"solutions":[{"lang":"en","value":"Upgrade to version 0.1.1 or later."}],"source":{"discovery":"UNKNOWN"},"x_generator":{"engine":"cpansec-cna-tool 0.1"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":7.5,"attackVector":"NETWORK","baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","integrityImpact":"NONE","userInteraction":"NONE","attackComplexity":"LOW","availabilityImpact":"NONE","privilegesRequired":"NONE","confidentialityImpact":"HIGH"}},{"other":{"type":"ssvc","content":{"timestamp":"2026-05-21T19:17:39.999382Z","id":"CVE-2026-46473","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-05-21T19:18:00.347Z"}},{"title":"CVE Program Container","references":[{"url":"http://www.openwall.com/lists/oss-security/2026/05/21/15"}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2026-05-21T21:31:45.691Z"}}]}}}