# CVE-2026-46474: Trog::TOTP versions before 1.006 for Perl generate secrets using rand

- Severity: High 7.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.32%, higher than 26% of CVEs (2026-12-01)
- Published: 2026-05-15T17:41:32.229Z
- Modified: 2026-10-26T14:10:00.130Z
- Weaknesses: CWE-331
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: CPANSec

## Description

Trog::TOTP versions before 1.006 for Perl generate secrets using rand.

Secrets were generated using Perl's built-in rand function, which is predictable and unsuitable for security usage.

(As written by CVE List.)

## Affected

- Trog-TOTP: before 1.006

## References

- <https://metacpan.org/release/TEODESIAN/Trog-TOTP-1.006/changes> (release-notes)
- <https://metacpan.org/release/TEODESIAN/Trog-TOTP-1.006/diff/TEODESIAN/Trog-TOTP-1.005#lib/Trog/TOTP.pm>
- <http://www.openwall.com/lists/oss-security/2026/05/15/18>

## Sources

- CVE List: [CVE-2026-46474](https://www.cve.org/CVERecord?id=CVE-2026-46474), CVE Terms of Use, modified 2026-05-18
- NVD: [CVE-2026-46474](https://nvd.nist.gov/vuln/detail/CVE-2026-46474), Public domain, modified 2026-10-26

---

Page: https://cve.day/CVE-2026-46474 · Whole record: https://cve.day/CVE-2026-46474.json · Rebuilt by cve.day 2026-11-25T22:59:21.830Z
