CVE-2025-1828

Perl's Crypt::Random module after 1.05 and before 1.56 may use rand() function for cryptographic functions

HIGH
8.8
CVSS Score
Published: March 10, 2025 at 11:51 PM UTC
Updated: June 17, 2026 at 08:39 AM UTC
2 products affected across 2 vendorsCrypt::randomCrypt

Using Crypt::Random by perl?

Get instant alerts when new vulnerabilities affect Crypt::Random - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH8.8
Exploit prediction
EPSS 0.4%
SSVC
No known exploit

Description

Crypt::Random Perl package 1.05 through 1.55 may use rand() function, which is not cryptographically strong, for cryptographic functions. If the Provider is not specified and /dev/urandom or an Entropy Gathering Daemon (egd) service is not available Crypt::Random will default to use the insecure Crypt::Random::rand provider. In particular, Windows versions of perl will encounter this issue by default.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

1.05 ≤ v ≤ 1.55
1.05 ≤ v < 1.561.05
Affected range stops below 1.56, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

References (3)

Issue TrackingPatch
Source: 9b29abf9-4ab0-4765-b253-1875cd9b441e
https://github.com/perl-Crypt-OpenPGP/Crypt-Random/pull/1
Patch
Source: 9b29abf9-4ab0-4765-b253-1875cd9b441e
https://perldoc.perl.org/functions/rand

SSVC — Action Prioritization

SSVCNo known exploitNot automatableTotal impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

8.8HIGHCISA-ADP
Attack Vector
NETWORK
Complexity
LOW
Privileges
NONE
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
CWE-331CWE-338

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card