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

High 7.5 Published Updated

Attackers can predict TOTP secrets due to weak random number generation, bypassing two-factor authentication in applications using this Perl library.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2026-46474?

CVE-2026-46474 is a high-severity vulnerability in TEODESIAN Trog::TOTP, published on 15 May 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Weakness: CWE-331

Which versions are affected by CVE-2026-46474?

How do I fix CVE-2026-46474?

No fix has been published for CVE-2026-46474 yet. Limit exposure of the affected software until one is available.

Is CVE-2026-46474 being exploited?

There is no known exploitation of CVE-2026-46474 in the wild and no public exploit code.

Sources

Also known as GHSA-x5pc-h62r-4rgx.

Is CVE-2026-46474 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free