FreeBSD VuXML: Documenting security issues in FreeBSD and the FreeBSD Ports Collection

p5-Crypt-CBC -- Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG)

Affected packages
p5-Crypt-CBC < 3.07

Details

VuXML ID cd7f969e-6cb4-11f0-97c4-40b034429ecf
Discovery 2025-04-12
Entry 2025-07-29

Lib-Crypt-CBC project reports:

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.

References

CVE Name CVE-2025-2814
URL https://nvd.nist.gov/vuln/detail/CVE-2025-2814