This issue affects operating systems where "/dev/urandom'" is unavailable. In that case, Crypt::CBC will fallback to use the insecure rand() function.
Metrics
Affected Vendors & Products
| Source | ID | Title |
|---|---|---|
EUVD |
EUVD-2025-10846 | Crypt::CBC versions between 1.21 and 3.04 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. |
Solution
Users should update to a fixed version, or apply the patch provided in the references section, or use a patched version provided by their OS distribution
Workaround
No workaround given by the vendor.
Fri, 05 Sep 2025 13:45:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Weaknesses | CWE-329 CWE-331 |
Sat, 14 Jun 2025 20:30:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Description | Crypt::CBC versions between 1.21 and 3.04 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. | 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. |
| Title | Crypt::CBC versions between 1.21 and 3.04 for Perl may use insecure rand() function for cryptographic functions | Crypt::CBC versions between 1.21 and 3.05 for Perl may use insecure rand() function for cryptographic functions |
| References |
|
Tue, 15 Apr 2025 02:15:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| References |
| |
| Metrics |
threat_severity
|
threat_severity
|
Mon, 14 Apr 2025 19:15:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
cvssV3_1
|
Sun, 13 Apr 2025 00:00:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Description | Crypt::CBC versions between 1.21 and 3.04 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. | |
| Title | Crypt::CBC versions between 1.21 and 3.04 for Perl may use insecure rand() function for cryptographic functions | |
| Weaknesses | CWE-338 | |
| References |
|
Projects
Sign in to view the affected projects.
Status: PUBLISHED
Assigner: CPANSec
Published:
Updated: 2025-09-05T13:21:32.700Z
Reserved: 2025-03-26T13:51:26.476Z
Link: CVE-2025-2814
Updated: 2025-04-13T02:21:19.384Z
Status : Awaiting Analysis
Published: 2025-04-13T00:15:14.997
Modified: 2025-09-05T14:15:44.323
Link: CVE-2025-2814
OpenCVE Enrichment
No data.
EUVD