CVE-2025-40905 Details
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.
A vulnerability exists in WWW::OAuth versions through 1.000 for Perl, where the rand() function is used as the default source of entropy for cryptographic functions. This source is not cryptographically secure, raising concerns about the reliability of generated cryptographic data.
Users are advised to switch to a cryptographically secure random number generator. Several CPAN modules are available for this purpose, including Crypt::URandom, Crypt::PRNG, and Crypt::SysRandom.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Feb 17, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://metacpan.org/release/DBOOK/WWW-OAuth-1.000/source/lib/WWW/OAuth.pm#L86 | CPANSec | Issue TrackingProduct |
| https://perldoc.perl.org/functions/rand | CPANSec | Third Party Advisory |
| https://security.metacpan.org/docs/guides/random-data-for-security.html | CPANSec | Third Party Advisory |
| http://www.openwall.com/lists/oss-security/2026/02/13/1 | CVE | Mailing ListThird Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-338 | Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG) | CPANSec |
Affected Products
| Product | Versions |
|---|---|
| dbook www::oauth | <= 1.000 |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | CPANSec |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Mar 10, 2026 | Initial Analysis | [email protected] |
| Feb 17, 2026 | CVE Modified | CISA-ADP |
| Feb 13, 2026 | CVE Modified | CVE |
| Feb 13, 2026 | New CVE Received | CPANSec |