{"id":"CVE-2025-40905","summary":"WWW::OAuth 1.000 and earlier for Perl uses insecure rand() function for cryptographic functions","details":"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.","modified":"2026-08-12T03:51:45.818427896Z","published":"2026-02-12T23:39:28.994Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/40xxx/CVE-2025-40905.json","unresolved_ranges":[{"extracted_events":[{"last_affected":"1.000"}],"source":"AFFECTED_FIELD"}],"cna_assigner":"CPANSec","cwe_ids":["CWE-338"]},"references":[{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2026/02/13/1"},{"type":"WEB","url":"https://cpan.org/modules"},{"type":"WEB","url":"https://metacpan.org/release/DBOOK/WWW-OAuth-1.000/source/lib/WWW/OAuth.pm#L86"},{"type":"WEB","url":"https://perldoc.perl.org/functions/rand"},{"type":"WEB","url":"https://security.metacpan.org/docs/guides/random-data-for-security.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/40xxx/CVE-2025-40905.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-40905"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/grinnz/www-oauth","events":[{"introduced":"0"},{"last_affected":"bf0d8bcd651e4d68ae2b2e00294b51f15c789cd4"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"last_affected":"1.000"}],"source":"CPE_RANGE","cpe":"cpe:2.3:a:dbook:www\\:\\:oauth:*:*:*:*:*:perl:*:*"}}],"versions":["v1.000","v0.006","v0.005","v0.004","v0.003","v0.002","v0.001"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-40905.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L"}]}