All reports
Medium

Crypt-CBC: Crypt::CBC versions between 1.21 and 3.04 for Perl may use insecure rand() function for cryptographic functions

Affected versions

Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2025-2814

Probability of exploitation in the next 30 days: 0.20%

FIRST EPSS · 2026-11-23

Description

Crypt::CBC versions between 1.21 and 3.05 for Perl may use the rand() function as the default source of entropy, which is not cryptographically secure, for cryptographic functions. This issue affects operating systems where "/dev/urandom'" is unavailable.  In that case, Crypt::CBC will fallback to use the insecure rand() function.

A flaw was found in Crypt::CBC. Affected versions of Perl may use the rand() function as the default source of entropy, which is not cryptographically secure, for cryptographic functions. This issue affects operating systems where "/dev/urandom'" is unavailable.  In that case, Crypt::CBC will fall back to using the insecure rand() function.