CVEvulnerability

CVE-2025-2814

4.0 MEDIUM Published 2025-04-13 Modified 2026-06-17 Official page ↗
Status
Deferred
Published
2025-04-13
Last modified
2026-06-17
Assigner
9b29abf9-4ab0-4765-b253-1875cd9b441e
CVSS 3.1 (134c704f-9b21-4f2e-91b3-4a467353bcc0)
4.0 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Weaknesses
CWE-329, CWE-331, CWE-338

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.

Related

Weakness · CWE (3)

  • CWE-329 Generation of Predictable IV with CBC Mode weakness
  • CWE-331 Insufficient Entropy weakness
  • CWE-338 Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG) weakness

References