Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2024-58040

published critical CVSS 3.1 · 9.1

Crypt::RandomEncryption for Perl uses insecure rand() function during encryption

Published
29 Sep 2025, 23:54:22 UTC
Updated
30 Sep 2025, 13:37:53 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
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.

en · CPANSec · cna

Vendor advisories explicitly linked to this CVE.

0

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.

Affected vendor and product assertions
VendorProductVersion statusSource
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) (CPANSec · cna)
  • CWE-331 CWE-331 Insufficient Entropy (CPANSec · cna)

References

3

Provider assertions

2

CPANSec · 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

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected