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 generates insecure random values for salts. The built-in rand function is predictable, and unsuitable for cryptography.
AI Analysis
Technical Summary
The RSAVAGE Crypt::PasswdMD5 Perl module versions up to 1.42 generate salts for password hashing using the built-in rand function, which is a cryptographically weak PRNG. This weakness (CWE-338) results in predictable salt values, reducing the effectiveness of the password hashing process. The vulnerability has a CVSS 3.1 base score of 7.5, reflecting high severity due to network attack vector, low attack complexity, no privileges required, and high confidentiality impact. No official patch or remediation level has been provided as of the publication date.
Potential Impact
The use of a predictable PRNG for salt generation can allow attackers to anticipate or reproduce salt values, potentially facilitating offline password cracking attacks. This compromises the confidentiality of hashed passwords but does not affect integrity or availability. No known exploits have been reported in the wild to date.
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 alternative modules or methods that use cryptographically secure random number generators for salt generation. Avoid relying on Crypt::PasswdMD5 for new deployments where strong password hashing is required.
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 generates insecure random values for salts. The built-in rand function is predictable, and unsuitable for cryptography.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The RSAVAGE Crypt::PasswdMD5 Perl module versions up to 1.42 generate salts for password hashing using the built-in rand function, which is a cryptographically weak PRNG. This weakness (CWE-338) results in predictable salt values, reducing the effectiveness of the password hashing process. The vulnerability has a CVSS 3.1 base score of 7.5, reflecting high severity due to network attack vector, low attack complexity, no privileges required, and high confidentiality impact. No official patch or remediation level has been provided as of the publication date.
Potential Impact
The use of a predictable PRNG for salt generation can allow attackers to anticipate or reproduce salt values, potentially facilitating offline password cracking attacks. This compromises the confidentiality of hashed passwords but does not affect integrity or availability. No known exploits have been reported in the wild to date.
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 alternative modules or methods that use cryptographically secure random number generators for salt generation. Avoid relying on Crypt::PasswdMD5 for new deployments where strong password hashing is required.
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: 5/8/2026, 8:06:26 PM
Last enriched: 5/8/2026, 8:21:19 PM
Last updated: 5/9/2026, 1:59:22 AM
Views: 10
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.