# CVE-2025-1805: Crypt::Salt for Perl uses insecure rand() function when generating salts for cryptographic purposes

- Severity: Medium 5.3 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`
- 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.48%, higher than 42% of CVEs (2026-12-01)
- Published: 2025-04-02T12:53:08.960Z
- Modified: 2026-06-17T08:39:48.497Z
- Weaknesses: CWE-338
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: CPANSec

## Description

Crypt::Salt for Perl version 0.01 uses insecure rand() function when generating salts for cryptographic purposes.

(As written by CVE List.)

## Affected

- Crypt-Salt: 0.01

## References

- <https://metacpan.org/release/HACHI/Crypt-Salt-0.01/source/lib/Crypt/Salt.pm#L76>
- <https://perldoc.perl.org/functions/rand>
- <https://security.metacpan.org/docs/guides/random-data-for-security.html>

## Sources

- CVE List: [CVE-2025-1805](https://www.cve.org/CVERecord?id=CVE-2025-1805), CVE Terms of Use, modified 2025-04-03
- NVD: [CVE-2025-1805](https://nvd.nist.gov/vuln/detail/CVE-2025-1805), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-1805 · Whole record: https://cve.day/CVE-2025-1805.json · Rebuilt by cve.day 2026-11-25T22:58:55.951Z
