
10/3/2025

11/3/2025
CVE-2025-1828: Perl's Crypt::Random module after 1.05 and before 1.56 may use rand() function for cryptographic functions
First published: Mon Mar 10 2025(Updated: )
Crypt::Random Perl package 1.05 through 1.55 may use rand() function, which is not cryptographically strong, for cryptographic functions.
Crypt::Random::rand 1.05 through 1.55 uses the rand() function. 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.
Credit: 9b29abf9-4ab0-4765-b253-1875cd9b441e
Affected Software | Affected Version | How to fix |
---|
Crypt::Random | >=1.05<=1.55 | |
Remedy
Upgrade to version 1.56 or higher
Never miss a vulnerability like this again
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
Frequently Asked Questions
What is the severity of CVE-2025-1828?
The severity of CVE-2025-1828 is considered high due to the use of a non-cryptographically strong random number generator.
How do I fix CVE-2025-1828?
To fix CVE-2025-1828, upgrade the Crypt::Random Perl package to a version beyond 1.55, ensuring to use a secure random number generator.
What versions are affected by CVE-2025-1828?
CVE-2025-1828 affects Crypt::Random Perl package versions 1.05 through 1.55.
What is the risk of using Crypt::Random versions 1.05 to 1.55 in relation to CVE-2025-1828?
Using affected versions of Crypt::Random increases the risk of cryptographic weaknesses due to reliance on the insecure rand() function.
Is CVE-2025-1828 a known issue in Crypt::Random?
Yes, CVE-2025-1828 is a documented vulnerability that was identified in the Crypt::Random Perl package.
- collector/mitre-cve
- source/MITRE
- agent/weakness
- agent/type
- agent/title
- agent/description
- agent/references
- agent/first-publish-date
- agent/remedy
- agent/guess-ai
- agent/software-canonical-lookup
- agent/software-canonical-lookup-request
- agent/softwarecombine
- agent/source
- agent/author
- agent/tags
- collector/nvd-api
- source/NVD
- agent/severity
- agent/last-modified-date
- agent/event
- vendor/cpan
- canonical/crypt::random
Contact
SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.coBy using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203