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 2.31 - 2012-10-30

  • Fixes to regular expressions to avoid rare failures to correctly strip padding in decoded messages.
  • Add padding type = "none".
  • Both fixes contributed by Bas van Sisseren.

Modules

Encrypt Data with Cipher Block Chaining Mode