BSD Ports

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

· CVE-2025-2814 · VuXML entry

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.

Affected versions

By system

1 still vulnerable, 1 fixed. Where VuXML applies (FreeBSD, DragonFly, FreeBSD's derivatives) a port is vulnerable while its version is in a range; pkgsrc says itself whether it lists a CVE of this advisory; OpenBSD and MidnightBSD keep no list this site reads, so their row is only an estimate: FreeBSD's ranges applied to upstream's version.

SystemPortVersionStateFixed
DragonFlysecurity/p5-Crypt-CBC3.04 vulnerable since 2025-07-29
OpenBSDsecurity/p5-Crypt-CBC3.07 out of range, by version
NetBSDsecurity/p5-Crypt-CBC3.07nb1 not listed
MidnightBSDsecurity/p5-Crypt-CBC3.07 out of range, by version
FreeBSDsecurity/p5-Crypt-CBC3.07 fixed