libauthen-sasl-perl: Authen::SASL::Perl::DIGEST_MD5 versions 2.04 through 2.1800 for Perl generates the cnonce insecurely
CVE-2025-40918 is fixed in 3 products on 1 platform, first by DEBIAN-CVE-2025-40918, released July 16, 2025. It is not reported as exploited. Patch Radar priority: Routine.
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.
Where it's fixed
| Product | Fixed in | Fix | Released |
|---|---|---|---|
| Linux | |||
| libauthen-sasl-perl · Debian 14 | 2.1900-1 | DEBIAN-CVE-2025-40918 | Jul 16, 2025 |
| perl-Authen-SASL · amzn 2023 | 2.16-23.amzn2023.0.3 | ALAS2023-2025-1156 | Aug 18, 2025 |
| perl-Authen-SASL · opensuse-leap 15.6 | 2.16-150000.1.6.1 | SUSE-SU-2025:03087-1 | Sep 5, 2025 |
| perl-Authen-SASL · opensuse-leap 16.0 | 2.170.0-160000.3.1 | OPENSUSE-SU-2026:20480-1 | Apr 9, 2026 |
| perl-Authen-SASL · sles 15.6 | 2.16-150000.1.6.1 | SUSE-SU-2025:03087-1 | Sep 5, 2025 |
| perl-Authen-SASL · sles 15.7 | 2.16-150000.1.6.1 | SUSE-SU-2025:03087-1 | Sep 5, 2025 |
| perl-Authen-SASL · sles 16.0 | 2.170.0-160000.3.1 | SUSE-SU-2026:21145-1 | Apr 9, 2026 |
| perl-Crypt-URandom · opensuse-leap 15.6 | 0.540.0-150000.1.3.1 | SUSE-SU-2025:03087-1 | Sep 5, 2025 |
| perl-Crypt-URandom · opensuse-leap 16.0 | 0.550.0-160000.1.1 | OPENSUSE-SU-2026:20480-1 | Apr 9, 2026 |
| perl-Crypt-URandom · sles 15.6 | 0.540.0-150000.1.3.1 | SUSE-SU-2025:03087-1 | Sep 5, 2025 |
| perl-Crypt-URandom · sles 15.7 | 0.540.0-150000.1.3.1 | SUSE-SU-2025:03087-1 | Sep 5, 2025 |
| perl-Crypt-URandom · sles 16.0 | 0.550.0-160000.1.1 | SUSE-SU-2026:21145-1 | Apr 9, 2026 |
Patch Radar data is free to use with attribution. Terms and how to credit it.
Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.