Vulnerability · Published Feb 12, 2026 · Assigned by CPANSec
CVE-2025-40905WWW::OAuth 1.000 and earlier for Perl uses insecure rand() function for cryptographic functions
High 7.3
In plain English
A high-severity security flaw in WWW::OAuth from DBOOK. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 22% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)7.3High
Exploit odds (30 days)0.3%top 78.3% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | libwww-oauth-perl | no fix listed | DEBIAN-CVE-2025-40905 |
| Debian:13 | libwww-oauth-perl | 1.001-1 | DEBIAN-CVE-2025-40905 |
| Debian:14 | libwww-oauth-perl | 1.001-1 | DEBIAN-CVE-2025-40905 |
| Ubuntu:22.04:LTS | libwww-oauth-perl | no fix listed | UBUNTU-CVE-2025-40905 |
| Ubuntu:24.04:LTS | libwww-oauth-perl | no fix listed | UBUNTU-CVE-2025-40905 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| DBOOK | WWW::OAuth | 0 – through 1.000 |
Weakness: CWE-338 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L