Description
Crypt::PasswdMD5 versions through 1.42 for Perl generates insecure random values for salts.
The built-in rand function is predictable, and unsuitable for cryptography.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| RSAVAGE | Crypt::PasswdMD5 | ≤ 1.42 | — |
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-passwdmd5-perl | 1.44-1 | — |
| Debian 13 | libcrypt-passwdmd5-perl | No fix yet | — |
| Debian 12 | libcrypt-passwdmd5-perl | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | libcrypt-passwdmd5-perl | No fix yet | — |
| Ubuntu 26.04 LTS | libcrypt-passwdmd5-perl | No fix yet | — |
| Ubuntu 25.10 | libcrypt-passwdmd5-perl | No fix yet | — |
| Ubuntu 24.04 LTS | libcrypt-passwdmd5-perl | No fix yet | — |
| Ubuntu 22.04 LTS | libcrypt-passwdmd5-perl | No fix yet | — |
Show 4 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 20.04 LTS | libcrypt-passwdmd5-perl | No fix yet | — |
| Ubuntu 18.04 LTS | libcrypt-passwdmd5-perl | No fix yet | — |
| Ubuntu 16.04 LTS | libcrypt-passwdmd5-perl | No fix yet | — |
| Ubuntu 14.04 LTS | libcrypt-passwdmd5-perl | No fix yet | — |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | perl-Crypt-PasswdMD5 | 1.430.0-1.1 | openSUSE-SU-2026:11000-1 |
| openSUSE Leap 16.0 | perl-Crypt-PasswdMD5 | 1.430.0-bp160.1.1 | openSUSE-SU-2026:21137-1 |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2023 | perl-Crypt-PasswdMD5 | 1.4.1-1.amzn2023.0.3 | ALAS2023-2026-1796 |
| Amazon Linux 2 | perl-Crypt-PasswdMD5 | 1.3-17.amzn2.0.1 | ALAS2-2026-3343 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | perl-Crypt-PasswdMD5 | No fix yet | — |
Advisories 5
- WID-SEC-2026-2503 Znuny: Mehrere Schwachstellen ermöglichen Offenlegung von Informationen BSI CERT-Bund (WID) · Jul 23, 2026
- openSUSE-SU-2026:21137-1 Security update for perl-Crypt-PasswdMD5 SUSE / openSUSE Security Updates · Jun 30, 2026
- openSUSE-SU-2026:11000-1 perl-Crypt-PasswdMD5-1.430.0-1.1 on GA media SUSE / openSUSE Security Updates · Jun 12, 2026
- ALAS2-2026-3343 Moderate: perl-Crypt-PasswdMD5 security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · Jun 8, 2026
- ALAS2023-2026-1796 Moderate: perl-Crypt-PasswdMD5 security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Jun 8, 2026
References
- https://metacpan.org/release/RSAVAGE/Crypt-PasswdMD5-1.43/changes release-notes
- https://github.com/ronsavage/Crypt-PasswdMD5/pull/3 issue-tracking
- https://github.com/ronsavage/Crypt-PasswdMD5/commit/a2f821637db0296082297aa4b02254ab08f0dc5e.patch patch
- https://metacpan.org/release/RSAVAGE/Crypt-PasswdMD5-1.42/source/lib/Crypt/PasswdMD5.pm#L35-47