CVE-2026-47372: CWE-338 Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG) in RRWO Crypt::SaltedHash
Crypt::SaltedHash versions through 0. 09 for Perl use the built-in rand function to generate salts, which is a cryptographically weak pseudo-random number generator. This weakness makes the generated salts predictable and unsuitable for cryptographic purposes, potentially weakening the security of hashed data.
AI Analysis
Technical Summary
The vulnerability CVE-2026-47372 affects Crypt::SaltedHash versions up to 0.09, where the module uses Perl's built-in rand function to generate salts. Since rand is predictable and not designed for cryptographic use, the salts generated are insecure. This falls under CWE-338, indicating the use of a cryptographically weak pseudo-random number generator. No patch or official remediation has been documented yet, and no known exploits are reported in the wild.
Potential Impact
The use of a predictable pseudo-random number generator for salt generation reduces the effectiveness of salting in password hashing or similar cryptographic operations. This can make it easier for attackers to perform precomputed hash attacks or reduce the entropy of the salt, weakening overall security. However, no direct exploit or active attacks have been reported.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, users should avoid using affected versions of Crypt::SaltedHash or implement their own cryptographically secure salt generation using a suitable cryptographic random number generator.
CVE-2026-47372: CWE-338 Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG) in RRWO Crypt::SaltedHash
Description
Crypt::SaltedHash versions through 0. 09 for Perl use the built-in rand function to generate salts, which is a cryptographically weak pseudo-random number generator. This weakness makes the generated salts predictable and unsuitable for cryptographic purposes, potentially weakening the security of hashed data.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability CVE-2026-47372 affects Crypt::SaltedHash versions up to 0.09, where the module uses Perl's built-in rand function to generate salts. Since rand is predictable and not designed for cryptographic use, the salts generated are insecure. This falls under CWE-338, indicating the use of a cryptographically weak pseudo-random number generator. No patch or official remediation has been documented yet, and no known exploits are reported in the wild.
Potential Impact
The use of a predictable pseudo-random number generator for salt generation reduces the effectiveness of salting in password hashing or similar cryptographic operations. This can make it easier for attackers to perform precomputed hash attacks or reduce the entropy of the salt, weakening overall security. However, no direct exploit or active attacks have been reported.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, users should avoid using affected versions of Crypt::SaltedHash or implement their own cryptographically secure salt generation using a suitable cryptographic random number generator.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- CPANSec
- Date Reserved
- 2026-05-19T16:17:52.855Z
- Cvss Version
- null
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a0e3339ba1db47362b060b1
Added to database: 5/20/2026, 10:18:33 PM
Last enriched: 5/20/2026, 10:33:29 PM
Last updated: 5/20/2026, 11:20:22 PM
Views: 5
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.