CVE-2024-58040
published critical CVSS 3.1 · 9.1Crypt::RandomEncryption for Perl uses insecure rand() function during encryption
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| QWER | — | Crypt-RandomEncryptionCrypt::RandomEncryption · 0.01 and later · Other versions: unaffected | Affected | Not stated | CPANSec |
Description
Crypt::RandomEncryption for Perl version 0.01 uses insecure rand() function during encryption.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 9.1 / 10
- Severity
- critical
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| QWER | Crypt::RandomEncryption | 0.01 and later (affected · custom)Default: unaffected | CPANSec · cna |
Weaknesses
2- CWE-338 CWE-338 Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG)
- CWE-331 CWE-331 Insufficient Entropy
References
3Provider assertions
2CPANSec · cna
Crypt::RandomEncryption for Perl uses insecure rand() function during encryption
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 238895e1ce75f80ce21045284122e31c469ba3ac92bbd5f2f33457e236c57660
- Ingested
- 23 Sep 2026, 08:32:14 UTC
- Source record
- Official CVE record