Description
Authen::SASL::Perl::DIGEST_MD5 versions 2.04 through 2.1800 for Perl generates the cnonce insecurely.
The cnonce (client nonce) is generated from an MD5 hash of the PID, the epoch time and the built-in rand function. The PID will come from a small set of numbers, and the epoch time may be guessed, if it is not leaked from the HTTP Date header. The built-in rand function is unsuitable for cryptographic usage.
According to RFC 2831, The cnonce-value is an opaque quoted string value provided by the client and used by both client and server to avoid chosen plaintext attacks, and to provide mutual authentication. The security of the implementation
depends on a good choice. It is RECOMMENDED that it contain at least 64 bits of entropy.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| EHUELS | Authen::SASL::Perl::DIGEST_MD5 | 2.04 – ≤ 2.1800 | — |
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 | libauthen-sasl-perl | 2.1900-1 | — |
| Debian 13 | libauthen-sasl-perl | No fix yet | — |
| Debian 12 | libauthen-sasl-perl | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | libauthen-sasl-perl | No fix yet | — |
| Ubuntu 26.04 LTS | libauthen-sasl-perl | No fix yet | — |
| Ubuntu 25.10 | libauthen-sasl-perl | No fix yet | — |
| Ubuntu 24.04 LTS | libauthen-sasl-perl | No fix yet | — |
| Ubuntu 22.04 LTS | libauthen-sasl-perl | No fix yet | — |
Show 4 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 20.04 LTS | libauthen-sasl-perl | No fix yet | — |
| Ubuntu Pro 18.04 LTS | libauthen-sasl-perl | No fix yet | — |
| Ubuntu Pro 16.04 LTS | libauthen-sasl-perl | No fix yet | — |
| Ubuntu Pro 14.04 LTS | libauthen-sasl-perl | No fix yet | — |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP7 | perl-Authen-SASL | 2.16-150000.1.6.1 | SUSE-SU-2025:03087-1 |
| SLES 15 SP7 | perl-Crypt-URandom | 0.540.0-150000.1.3.1 | SUSE-SU-2025:03087-1 |
| SLES 15 SP6 | perl-Authen-SASL | 2.16-150000.1.6.1 | SUSE-SU-2025:03087-1 |
| SLES 15 SP6 | perl-Crypt-URandom | 0.540.0-150000.1.3.1 | SUSE-SU-2025:03087-1 |
| SLES 15 SP5 | perl-Authen-SASL | 2.16-150000.1.6.1 | SUSE-SU-2025:03087-1 |
| SLES 15 SP5 | perl-Crypt-URandom | 0.540.0-150000.1.3.1 | SUSE-SU-2025:03087-1 |
| SLES 15 SP4 | perl-Authen-SASL | 2.16-150000.1.6.1 | SUSE-SU-2025:03087-1 |
| SLES 15 SP4 | perl-Crypt-URandom | 0.540.0-150000.1.3.1 | SUSE-SU-2025:03087-1 |
| SLES 15 SP3 | perl-Authen-SASL | 2.16-150000.1.6.1 | SUSE-SU-2025:03087-1 |
| SLES 15 SP3 | perl-Crypt-URandom | 0.540.0-150000.1.3.1 | SUSE-SU-2025:03087-1 |
Show 10 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 12 SP5 | perl-Authen-SASL | 2.16-5.3.1 | SUSE-SU-2025:03088-1 |
| SLES 12 SP5 | perl-Crypt-URandom | 0.540.0-1.3.1 | SUSE-SU-2025:03088-1 |
| SLES for SAP 16.0 | perl-Authen-SASL | 2.170.0-160000.3.1 | SUSE-SU-2026:21145-1 |
| SLES for SAP 16.0 | perl-Crypt-URandom | 0.550.0-160000.1.1 | SUSE-SU-2026:21145-1 |
| SLES for SAP 15 SP5 | perl-Authen-SASL | 2.16-150000.1.6.1 | SUSE-SU-2025:03087-1 |
| SLES for SAP 15 SP5 | perl-Crypt-URandom | 0.540.0-150000.1.3.1 | SUSE-SU-2025:03087-1 |
| SLES for SAP 15 SP4 | perl-Authen-SASL | 2.16-150000.1.6.1 | SUSE-SU-2025:03087-1 |
| SLES for SAP 15 SP4 | perl-Crypt-URandom | 0.540.0-150000.1.3.1 | SUSE-SU-2025:03087-1 |
| SLES for SAP 15 SP3 | perl-Authen-SASL | 2.16-150000.1.6.1 | SUSE-SU-2025:03087-1 |
| SLES for SAP 15 SP3 | perl-Crypt-URandom | 0.540.0-150000.1.3.1 | SUSE-SU-2025:03087-1 |
| SLES 16.0 | perl-Authen-SASL | 2.170.0-160000.3.1 | SUSE-SU-2026:21145-1 |
| SLES 16.0 | perl-Crypt-URandom | 0.550.0-160000.1.1 | SUSE-SU-2026:21145-1 |
| SLE HPC 15 SP5 | perl-Authen-SASL | 2.16-150000.1.6.1 | SUSE-SU-2025:03087-1 |
| SLE HPC 15 SP5 | perl-Crypt-URandom | 0.540.0-150000.1.3.1 | SUSE-SU-2025:03087-1 |
| SLE HPC 15 SP4 | perl-Authen-SASL | 2.16-150000.1.6.1 | SUSE-SU-2025:03087-1 |
| SLE HPC 15 SP4 | perl-Crypt-URandom | 0.540.0-150000.1.3.1 | SUSE-SU-2025:03087-1 |
| SLE HPC 15 SP3 | perl-Authen-SASL | 2.16-150000.1.6.1 | SUSE-SU-2025:03087-1 |
| SLE HPC 15 SP3 | perl-Crypt-URandom | 0.540.0-150000.1.3.1 | SUSE-SU-2025:03087-1 |
| SUSE Enterprise Storage 7.1 | perl-Authen-SASL | 2.16-150000.1.6.1 | SUSE-SU-2025:03087-1 |
| SUSE Enterprise Storage 7.1 | perl-Crypt-URandom | 0.540.0-150000.1.3.1 | SUSE-SU-2025:03087-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | perl-Authen-SASL | 2.180.0-2.1 | openSUSE-SU-2025:15385-1 |
| openSUSE Leap 16.0 | perl-Authen-SASL | 2.170.0-160000.3.1 | openSUSE-SU-2026:20480-1 |
| openSUSE Leap 16.0 | perl-Crypt-URandom | 0.550.0-160000.1.1 | openSUSE-SU-2026:20480-1 |
| openSUSE Leap 15.6 | perl-Authen-SASL | 2.16-150000.1.6.1 | SUSE-SU-2025:03087-1 |
| openSUSE Leap 15.6 | perl-Crypt-URandom | 0.540.0-150000.1.3.1 | SUSE-SU-2025:03087-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | perl-authen-sasl | 2.1900 | — |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2023 | perl-Authen-SASL | 2.16-23.amzn2023.0.3 | ALAS2023-2025-1156 |
| Amazon Linux 2 | perl-Authen-SASL | 2.15-10.amzn2.0.1 | ALAS2-2025-2967 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 2 (CBL-Mariner) | perl-Authen-SASL | No fix yet | — |
Advisories 8
- WID-SEC-2026-1032 IBM Tivoli Network Manager: Mehrere Schwachstellen BSI CERT-Bund (WID) · Jun 7, 2026
- openSUSE-SU-2026:20480-1 Security update for perl-Authen-SASL SUSE / openSUSE Security Updates · Apr 22, 2026
- SUSE-SU-2026:21145-1 Security update for perl-Authen-SASL SUSE / openSUSE Security Updates · Apr 22, 2026
- openSUSE-SU-2025:15385-1 perl-Authen-SASL-2.180.0-2.1 on GA media SUSE / openSUSE Security Updates · Mar 23, 2026
- SUSE-SU-2025:03087-1 Security update for perl-Authen-SASL, perl-Crypt-URandom SUSE / openSUSE Security Updates · Mar 23, 2026
- SUSE-SU-2025:03088-1 Security update for perl-Authen-SASL, perl-Crypt-URandom SUSE / openSUSE Security Updates · Mar 23, 2026
- ALAS2023-2025-1156 Moderate: perl-Authen-SASL security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Sep 8, 2025
- ALAS2-2025-2967 Moderate: perl-Authen-SASL security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · Aug 19, 2025
References
- https://metacpan.org/release/EHUELS/Authen-SASL-2.1900/changes
- https://metacpan.org/dist/Authen-SASL/source/lib/Authen/SASL/Perl/DIGEST_MD5.pm#L263
- https://datatracker.ietf.org/doc/html/rfc2831
- https://security.metacpan.org/patches/A/Authen-SASL/2.1800/CVE-2025-40918-r1.patch patch
- https://github.com/gbarr/perl-authen-sasl/pull/22 issue-tracking