CVE-2025-40918: Authen::SASL::Perl::DIGEST_MD5 versions 2.04 through 2.1800 for Perl generates the cnonce insecurely
EHUELS · Authen::SASL::Perl::DIGEST_MD5
Vendor fix available · Affected: EHUELS Authen::SASL::Perl::DIGEST_MD5 · Exploitation: unlikely (under 1%)
Not in CyberSIXT coverage yet: no article names this CVE. This page shows the public record.
Higher than 40% of scored CVEs
DescriptionCVE.org
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 products1
From the CVE record. A product or version that is not listed is unknown, not unaffected.
- EHUELS · Authen::SASL::Perl::DIGEST_MD5from 2.04 up to and including 2.1800
On the Atlas
Every published CVE is on the CyberSIXT Atlas, grouped by weakness, vendor and month.
- Exploitation
- Unlikely (under 1%). EPSS under 1%, or no score yet.
- CISA KEV
- Not listed
- Public check
- No public nuclei template
- Published
- July 2025
CoverageNo articles yet
No CyberSIXT article names CVE-2025-40918 yet, so there is no coverage timeline, action brief or change log for it. Everything on this page comes from the public CVE record, CISA KEV, EPSS and the nuclei template index. Search the archive or see the CVEs in the news.
References
- NVD entrynvd.nist.gov
- CVE recordcve.org
- Weakness CWE-340cwe.mitre.org
- Patchsecurity.metacpan.org
- metacpan.org/release/EHUELS/Authen-SASL-2.1900/changesmetacpan.org
- metacpan.org/dist/Authen-SASL/source/lib/Authen/SASL/Perl/DIGESTmetacpan.org
- datatracker.ietf.org/doc/html/rfc2831datatracker.ietf.org
- Issue trackergithub.com
- openwall.com/lists/oss-security/2025/07/16/5openwall.com