CVE-2025-40905 json
WWW::OAuth 1.000 and earlier for Perl uses insecure rand() function for cryptographic functions
published 8mo ago modified 4mo ago also EUVD-2025-206911
- cvss
- 7.3
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.3%
- EPSS 0.3% chance of exploitation in 30 days, percentile 22%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- libwww-oauth-perl Debian 14, Debian 13 1.001-1
debian advisories DEBIAN-CVE-2025-40905
Is CVE-2025-40905 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerCISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 8mo ago
Exploit prediction
0.30% chance of exploitation in the next 30 days, higher than 22% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 7.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L |
| CNA | 3.1 | 7.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L |
Affected products
- DBOOK WWW::OAuth
Classification
- Weakness
-
- CWE-338 Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG)
References
-
perldoc.perl.org
/functions/rand
third-party-advisory
-
security.metacpan.org
/docs/guides/random-data-for-security.html
third-party-advisory
-
metacpan.org
/release/DBOOK/WWW-OAuth-1.000/source/lib/WWW/OAuth.pm#L86
issue-tracking, product
-
openwall.com
/lists/oss-security/2026/02/13/1
mailing-list, third-party-advisory
Sources
- CVE List CVE-2025-40905
- NVD CVE-2025-40905
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.