CVE-2025-40918: Libauthen sasl perl · Authen::SASL::Perl::DIGEST_MD5 versions 2.04 through 2.1800 for Perl generates
Affects libauthen-sasl-perlSource GCVE Database
Not known to be exploited · CVSS 6.5 Medium.
Data as of 24 Nov 2026, 21:15 UTC
Thin evidence
One scorer or none| CISA-ADP | CVSS 3.1 | 6.5 |
|---|
- EPSS
- 0.4% chance of exploitation in 30 days – higher than 40% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:NExploitation evidence
Disclosed: evidence found.
CVE published 16 Jul 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 26.10libauthen-sasl-perlpkg:deb/ubuntu/libauthen-sasl-perl?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Ubuntu 26.04 LTSlibauthen-sasl-perlpkg:deb/ubuntu/libauthen-sasl-perl?arch=source&distro=resoluteOther threats | Affected
| Fixed in– |
Ubuntu 25.10libauthen-sasl-perlpkg:deb/ubuntu/libauthen-sasl-perl?arch=source&distro=questingOther threats | Affected
| Fixed in– |
Ubuntu 24.04 LTSlibauthen-sasl-perlpkg:deb/ubuntu/libauthen-sasl-perl?arch=source&distro=nobleOther threats | Affected
| Fixed in– |
Ubuntu 22.04 LTSlibauthen-sasl-perlpkg:deb/ubuntu/libauthen-sasl-perl?arch=source&distro=jammyOther threats | Affected
| Fixed in– |
Ubuntu Pro 20.04 LTSlibauthen-sasl-perlpkg:deb/ubuntu/libauthen-sasl-perl?arch=source&distro=esm-infra/focalOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
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.
References
- ubuntu.com/security/CVE-2025-40918 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2025-40918 (opens in a new tab)
- lists.security.metacpan.org/cve-announce/msg/31224910/ (opens in a new tab)
- datatracker.ietf.org/doc/html/rfc2831 (opens in a new tab)
- metacpan.org/dist/Authen-SASL/source/lib/Authen/SASL/Perl/DIGEST_MD5.pm (opens in a new tab)