{"id":"CVE-2025-40905","aliases":["DEBIAN-CVE-2025-40905","EUVD-2025-206911","GHSA-869w-qxf5-5q39","UBUNTU-CVE-2025-40905"],"status":"published","title":"WWW::OAuth 1.000 and earlier for Perl uses insecure rand() function for cryptographic functions","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.","severity":{"version":"3.1","score":7.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","level":"high","assessor":"adp","from":"cve"},"epss":{"day":"2026-11-12","score":0.00297,"percentile":0.22636,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-338"],"published":"2026-02-12T23:39:28Z","modified":"2026-10-28T02:31:08Z","fixes":[{"ecosystem":"Debian:13","package":"libwww-oauth-perl","fixed_in":["1.001-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"libwww-oauth-perl","fixed_in":["1.001-1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"libwww-oauth-perl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.000-2","1.001-1","1.002-1","1.003-1"]},{"source":"osv","ecosystem":"Debian:13","package":"libwww-oauth-perl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.001-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"libwww-oauth-perl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.001-1"}]}]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"libwww-oauth-perl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.000-1"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"libwww-oauth-perl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.000-1.1"]},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"libwww-oauth-perl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.000-2"]}],"products":[{"vendor":"dbook","product":"www::oauth"},{"vendor":"dbook","product":"www\\"}],"references":[{"url":"https://perldoc.perl.org/functions/rand","tags":["Third Party Advisory","web","report"]},{"url":"https://security.metacpan.org/docs/guides/random-data-for-security.html","tags":["Third Party Advisory","web","report"]},{"url":"https://metacpan.org/release/DBOOK/WWW-OAuth-1.000/source/lib/WWW/OAuth.pm#L86","tags":["Issue Tracking","Product","web","report"]},{"url":"http://www.openwall.com/lists/oss-security/2026/02/13/1","tags":["Mailing List","Third Party Advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-40905","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-869w-qxf5-5q39"},{"url":"https://cpan.org/modules","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/40xxx/CVE-2025-40905.json","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2025-40905","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2025-40905","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2025-40905","tags":["report"]},{"url":"https://lists.security.metacpan.org/cve-announce/msg/36977848/","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2025-40905","title":"WWW::OAuth 1.000 and earlier for Perl uses insecure rand() function for cryptographic functions","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.","status":"published","published":"2026-02-12T23:39:28.994Z","modified":"2026-02-17T15:05:12.318Z","cvss":[{"version":"3.1","score":7.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","level":"high","assessor":"adp"}],"cwes":["CWE-338"],"updated_at":"2026-11-02T14:32:34.773122Z"}],"euvd":[{"id":"EUVD-2025-206911","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.","status":"published","published":"2026-02-12T23:39:28Z","modified":"2026-02-17T15:05:12Z","cvss":[{"version":"3.1","score":7.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","level":"high"}],"updated_at":"2026-11-02T19:48:37.939014Z"}],"ghsa":[{"id":"GHSA-869w-qxf5-5q39","title":"WWW::OAuth 1.000 and earlier for Perl uses the rand() function as the default source of entropy,...","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.","status":"published","published":"2026-02-13T00:32:52Z","modified":"2026-02-17T15:32:41Z","cvss":[{"version":"3.1","score":7.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","level":"high"}],"cwes":["CWE-338"],"updated_at":"2026-11-02T15:06:13.684081Z"}],"nvd":[{"id":"CVE-2025-40905","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.","status":"published","published":"2026-02-13T00:16:03.28Z","modified":"2026-06-17T09:22:15.74Z","cvss":[{"version":"3.1","score":7.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","level":"high","assessor":"secondary"}],"cwes":["CWE-338"],"updated_at":"2026-11-02T14:12:00.273026Z"}],"osv":[{"id":"CVE-2025-40905","title":"WWW::OAuth 1.000 and earlier for Perl uses insecure rand() function for cryptographic functions","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.","status":"published","published":"2026-02-12T23:39:28.994Z","modified":"2026-10-28T02:31:08.13293552Z","cvss":[{"version":"3.1","score":7.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","level":"high"}],"cwes":["CWE-338"],"updated_at":"2026-11-02T15:44:49.394967Z"},{"id":"DEBIAN-CVE-2025-40905","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.","status":"published","published":"2026-02-13T00:16:03.28Z","modified":"2026-09-01T20:05:52.797733874Z","cvss":[{"version":"3.1","score":7.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","level":"high"}],"updated_at":"2026-11-02T15:45:46.998514Z"},{"id":"UBUNTU-CVE-2025-40905","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.","status":"published","published":"2026-02-13T00:16:00Z","modified":"2026-02-19T20:20:08.290369Z","cvss":[{"version":"3.1","score":7.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","level":"high"}],"updated_at":"2026-11-02T16:55:46.53147Z"}]}}
