# CVE-2025-40905: WWW::OAuth 1.000 and earlier for Perl uses insecure rand() function for cryptographic functions

- Severity: High 7.3 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/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.30%, higher than 24% of CVEs (2026-12-01)
- Published: 2026-02-12T23:39:28.994Z
- Modified: 2026-06-17T09:22:15.740Z
- Weaknesses: CWE-338
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: CPANSec

## Description

WWW::OAuth 1.000 and earlier for Perl uses the rand() function as the default source of entropy, which is not cryptographically secure, for cryptographic functions.

(As written by CVE List.)

## Affected

- WWW-OAuth: up to 1.000
- dbook www::oauth: up to 1.000

## References

- <https://perldoc.perl.org/functions/rand> (third-party-advisory)
- <https://security.metacpan.org/docs/guides/random-data-for-security.html> (third-party-advisory)
- <https://metacpan.org/release/DBOOK/WWW-OAuth-1.000/source/lib/WWW/OAuth.pm#L86> (issue-tracking, product)
- <http://www.openwall.com/lists/oss-security/2026/02/13/1> (mailing-list, third-party-advisory)

## Sources

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

---

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