CVE-2025-1805 Crypt::Salt for Perl uses insecure rand() function when generating salts for cryptographic purposes
The Perl Crypt::Salt library uses an insecure random number generator for cryptographic salts, potentially weakening security guarantees.
- 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-2025-1805?
CVE-2025-1805 is a medium-severity vulnerability in HACHI Crypt::Salt, published on 2 Apr 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Crypt::Salt for Perl version 0.01 uses insecure rand() function when generating salts for cryptographic purposes.
Weakness: CWE-338
Which versions are affected by CVE-2025-1805?
How do I fix CVE-2025-1805?
No fix has been published for CVE-2025-1805 yet. Limit exposure of the affected software until one is available.
Is CVE-2025-1805 being exploited?
There is no known exploitation of CVE-2025-1805 in the wild and no public exploit code.
Sources
Also known as GHSA-cc4w-4629-8rc3.