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-2025-2814

published medium CVSS 3.1 · 4.0

Crypt::CBC versions between 1.21 and 3.05 for Perl may use insecure rand() function for cryptographic functions

Published
12 Apr 2025, 23:41:48 UTC
Updated
05 Sep 2025, 13:21:32 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
LDS — Crypt-CBCCrypt::CBC · 1.21 through 3.05 · Other versions: unaffected Affected Not stated CPANSec
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
SUSE / openSUSE openSUSE-Tumbleweed perl-Crypt-CBCaarch64 Advisory build 3.70.0-1.1 OPENSUSE-SU-2025:15495-1
SUSE / openSUSE openSUSE-Tumbleweed perl-Crypt-CBCppc64le Advisory build 3.70.0-1.1 OPENSUSE-SU-2025:15495-1
SUSE / openSUSE openSUSE-Tumbleweed perl-Crypt-CBCs390x Advisory build 3.70.0-1.1 OPENSUSE-SU-2025:15495-1
SUSE / openSUSE openSUSE-Tumbleweed perl-Crypt-CBCx86_64 Advisory build 3.70.0-1.1 OPENSUSE-SU-2025:15495-1

Description

Crypt::CBC versions between 1.21 and 3.05 for Perl may use the rand() function as the default source of entropy, which is not cryptographically secure, for cryptographic functions. This issue affects operating systems where "/dev/urandom'" is unavailable.  In that case, Crypt::CBC will fallback to use the insecure rand() function.

en · CPANSec · cna

Vendor advisories explicitly linked to this CVE.

1

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
4.0 / 10
Severity
medium
Provider
CISA-ADP · adp
Vector string
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
LDS Crypt::CBC 1.21 through 3.05 (affected · custom)Default: unaffected CPANSec · cna

Weaknesses

4
  • CWE-338 CWE-338 Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG) (CPANSec · cna)
  • CWE-329 CWE-329 Generation of Predictable IV with CBC Mode (CPANSec · cna)
  • CWE-331 CWE-331 Insufficient Entropy (CPANSec · cna)
  • CWE-338 CWE-338 Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG) (CISA-ADP · adp)

References

4

Provider assertions

2

CPANSec · cna

Crypt::CBC versions between 1.21 and 3.05 for Perl may use insecure rand() function for cryptographic functions

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.1
Searchable
yes
Content hash
6f9d8d7ef3d093931a0838adee20744a5537ff132887be5908308a5574f2f188
Ingested
23 Sep 2026, 08:43:47 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