CVE-2026-5088: CWE-338 Use of Cryptographically Weak Pseudo-Random Number Generator in JDEGUEST Apache::API::Password
CVE-2026-5088 is a vulnerability in Apache::API::Password versions up to 0. 5. 2 for Perl where salts used for password hashing may be generated using a cryptographically weak pseudo-random number generator. If the preferred secure modules Crypt::URandom or Bytes::Random::Secure are unavailable, the module falls back to Perl's built-in rand function, which is unsuitable for cryptographic purposes. This weakness can reduce the effectiveness of password hashing salts.
AI Analysis
Technical Summary
The vulnerability arises because Apache::API::Password attempts to generate salts for password hashing using secure random byte generators Crypt::URandom and Bytes::Random::Secure. However, if these modules are not present, it defaults to using Perl's built-in rand function to generate 16 bytes of salt. Since rand is not cryptographically secure, salts generated this way are predictable and weaken the security of password hashes. This issue affects all versions through 0.5.2 of Apache::API::Password.
Potential Impact
The use of a weak pseudo-random number generator for salt creation can lead to predictable salts, which undermines the security of password hashes. This may facilitate attacks such as precomputed hash attacks or reduce the effort required to crack hashed passwords. No known exploits are reported in the wild at this time.
Mitigation Recommendations
No official patch or remediation is currently documented. Users should ensure that the Crypt::URandom or Bytes::Random::Secure Perl modules are installed and available to Apache::API::Password to guarantee secure salt generation. Until an official fix is released, verifying the presence of these modules is the primary mitigation step. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance.
CVE-2026-5088: CWE-338 Use of Cryptographically Weak Pseudo-Random Number Generator in JDEGUEST Apache::API::Password
Description
CVE-2026-5088 is a vulnerability in Apache::API::Password versions up to 0. 5. 2 for Perl where salts used for password hashing may be generated using a cryptographically weak pseudo-random number generator. If the preferred secure modules Crypt::URandom or Bytes::Random::Secure are unavailable, the module falls back to Perl's built-in rand function, which is unsuitable for cryptographic purposes. This weakness can reduce the effectiveness of password hashing salts.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability arises because Apache::API::Password attempts to generate salts for password hashing using secure random byte generators Crypt::URandom and Bytes::Random::Secure. However, if these modules are not present, it defaults to using Perl's built-in rand function to generate 16 bytes of salt. Since rand is not cryptographically secure, salts generated this way are predictable and weaken the security of password hashes. This issue affects all versions through 0.5.2 of Apache::API::Password.
Potential Impact
The use of a weak pseudo-random number generator for salt creation can lead to predictable salts, which undermines the security of password hashes. This may facilitate attacks such as precomputed hash attacks or reduce the effort required to crack hashed passwords. No known exploits are reported in the wild at this time.
Mitigation Recommendations
No official patch or remediation is currently documented. Users should ensure that the Crypt::URandom or Bytes::Random::Secure Perl modules are installed and available to Apache::API::Password to guarantee secure salt generation. Until an official fix is released, verifying the presence of these modules is the primary mitigation step. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- CPANSec
- Date Reserved
- 2026-03-28T19:31:47.729Z
- Cvss Version
- null
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 69df426b82d89c981f9c89ce
Added to database: 4/15/2026, 7:46:51 AM
Last enriched: 4/15/2026, 8:01:49 AM
Last updated: 4/15/2026, 9:54:00 AM
Views: 6
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.