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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| LDS | Crypt::CBC | 1.21 – ≤ 3.05 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | libcrypt-cbc-perl | 3.07-1 | — |
| Debian 13 | libcrypt-cbc-perl | No fix yet | — |
| Debian 12 | libcrypt-cbc-perl | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | libcrypt-cbc-perl | No fix yet | — |
| Ubuntu 26.04 LTS | libcrypt-cbc-perl | No fix yet | — |
| Ubuntu 25.10 | libcrypt-cbc-perl | No fix yet | — |
| Ubuntu 24.04 LTS | libcrypt-cbc-perl | No fix yet | — |
| Ubuntu 22.04 LTS | libcrypt-cbc-perl | No fix yet | — |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 20.04 LTS | libcrypt-cbc-perl | No fix yet | — |
| Ubuntu 18.04 LTS | libcrypt-cbc-perl | No fix yet | — |
| Ubuntu 16.04 LTS | libcrypt-cbc-perl | No fix yet | — |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | perl-Crypt-CBC | 3.70.0-1.1 | openSUSE-SU-2025:15495-1 |
Advisories 1
- openSUSE-SU-2025:15495-1 perl-Crypt-CBC-3.70.0-1.1 on GA media SUSE / openSUSE Security Updates · Mar 23, 2026