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

EcosystemPackageFixed inAdvisory
Debian:12libwww-oauth-perlno fix listedDEBIAN-CVE-2025-40905
Debian:13libwww-oauth-perl1.001-1DEBIAN-CVE-2025-40905
Debian:14libwww-oauth-perl1.001-1DEBIAN-CVE-2025-40905
Ubuntu:22.04:LTSlibwww-oauth-perlno fix listedUBUNTU-CVE-2025-40905
Ubuntu:24.04:LTSlibwww-oauth-perlno fix listedUBUNTU-CVE-2025-40905

Affected products (as reported)

VendorProductVersions
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

References