Security Advisories (2)
CPANSA-Crypt-CBC-2021-0001 (2021-05-17)

Fixed bug involving manually-specified IV not being used in some circumstances.

CVE-2025-2814 (2025-04-13)

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.

Changes for version 3.02

  • CTR mode now requires the Math::Int128 module, which gives a ~5x performance boost over Math::BigInt.

Modules

Encrypt Data with Cipher Block Chaining Mode

Provides

in lib/Crypt/CBC/PBKDF.pm
in lib/Crypt/CBC/PBKDF/none.pm
in lib/Crypt/CBC/PBKDF/opensslv1.pm
in lib/Crypt/CBC/PBKDF/opensslv2.pm
in lib/Crypt/CBC/PBKDF/pbkdf2.pm
in lib/Crypt/CBC/PBKDF/randomiv.pm