CVE-2026-6659: CWE-338 Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG) in RSAVAGE Crypt::PasswdMD5
Crypt::PasswdMD5 versions through 1.42 for Perl use the built-in rand function to generate salts, which is cryptographically weak and predictable. This vulnerability (CVE-2026-6659) results in insecure random values for salts, weakening the cryptographic strength of password hashing. The issue is classified under CWE-338 for use of a weak pseudo-random number generator. No official patch or remediation has been indicated yet.
AI Analysis
Technical Summary
CVE-2026-6659 identifies a vulnerability in Crypt::PasswdMD5 (up to version 1.42) where the module uses Perl's built-in rand function to generate salts for password hashing. The rand function is predictable and not suitable for cryptographic purposes, leading to weak salt values. This weakness can reduce the effectiveness of password hashing by making it easier for attackers to predict or reproduce salts, thereby facilitating certain cryptographic attacks. The CVSS 3.1 base score is 7.5, indicating a high severity with network attack vector, low attack complexity, no privileges required, no user interaction, and impact on confidentiality only. There is no vendor advisory or patch information available at this time.
Potential Impact
The use of a predictable pseudo-random number generator for salt generation compromises the confidentiality of hashed passwords by making salts easier to guess or reproduce. This weakens the cryptographic protection of stored passwords, potentially enabling attackers to perform more efficient precomputed or rainbow table attacks. There is no indication of impact on integrity or availability.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, users should consider avoiding Crypt::PasswdMD5 for cryptographic purposes or implement alternative, cryptographically secure random number generators for salt generation.
CVE-2026-6659: CWE-338 Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG) in RSAVAGE Crypt::PasswdMD5
Description
Crypt::PasswdMD5 versions through 1.42 for Perl use the built-in rand function to generate salts, which is cryptographically weak and predictable. This vulnerability (CVE-2026-6659) results in insecure random values for salts, weakening the cryptographic strength of password hashing. The issue is classified under CWE-338 for use of a weak pseudo-random number generator. No official patch or remediation has been indicated yet.
CVSS v3.1
Score 7.5high
Affected software
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-6659 identifies a vulnerability in Crypt::PasswdMD5 (up to version 1.42) where the module uses Perl's built-in rand function to generate salts for password hashing. The rand function is predictable and not suitable for cryptographic purposes, leading to weak salt values. This weakness can reduce the effectiveness of password hashing by making it easier for attackers to predict or reproduce salts, thereby facilitating certain cryptographic attacks. The CVSS 3.1 base score is 7.5, indicating a high severity with network attack vector, low attack complexity, no privileges required, no user interaction, and impact on confidentiality only. There is no vendor advisory or patch information available at this time.
Potential Impact
The use of a predictable pseudo-random number generator for salt generation compromises the confidentiality of hashed passwords by making salts easier to guess or reproduce. This weakens the cryptographic protection of stored passwords, potentially enabling attackers to perform more efficient precomputed or rainbow table attacks. There is no indication of impact on integrity or availability.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, users should consider avoiding Crypt::PasswdMD5 for cryptographic purposes or implement alternative, cryptographically secure random number generators for salt generation.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- CPANSec
- Date Reserved
- 2026-04-20T08:24:35.812Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 69fe4242cbff5d8610241d82
Added to database: 05/08/2026, 20:06:26 UTC
Last enriched: 06/12/2026, 11:18:29 UTC
Last updated: 07/31/2026, 19:23:00 UTC
Views: 135
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.