CVE-2018-25107
The Crypt::Random::Source package before 0.13 for Perl has a fallback to the built-in rand()...
The Crypt::Random::Source package before 0.13 for Perl has a fallback to the built-in rand() function, which is not a secure source of random bits.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- None
- Availability
- None
Exploit likelihood
What each source reports
CVE List Score used
7.5
The Crypt::Random::Source package before 0.13 for Perl has a fallback to the built-in rand() function, which is not a secure source of random bits.
- Record
CVE-2018-25107- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N - Weakness
- CWE-338
- Updated
- 2026-11-02
EUVDEUVD-2018-21596
7.5
The Crypt::Random::Source package before 0.13 for Perl has a fallback to the built-in rand() function, which is not a secure source of random bits.
- Record
EUVD-2018-21596- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N - Updated
- 2026-11-03
GitHub AdvisoriesGHSA-r3m8-7h2r-2mp6
7.5
The Crypt::Random::Source package before 0.13 for Perl has a fallback to the built-in rand()...
The Crypt::Random::Source package before 0.13 for Perl has a fallback to the built-in rand() function, which is not a secure source of random bits.
- Record
GHSA-r3m8-7h2r-2mp6- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N - Weakness
- CWE-338
- Updated
- 2026-11-02
NVD
7.5
The Crypt::Random::Source package before 0.13 for Perl has a fallback to the built-in rand() function, which is not a secure source of random bits.
- Record
CVE-2018-25107- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N - Weakness
- CWE-338
- Updated
- 2026-11-02
OSV
7.5
The Crypt::Random::Source package before 0.13 for Perl has a fallback to the built-in rand() function, which is not a secure source of random bits.
- Record
CVE-2018-25107- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N - Updated
- 2026-11-02
OSVDEBIAN-CVE-2018-25107
7.5
The Crypt::Random::Source package before 0.13 for Perl has a fallback to the built-in rand() function, which is not a secure source of random bits.
- Record
DEBIAN-CVE-2018-25107- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N - Updated
- 2026-11-02
OSVUBUNTU-CVE-2018-25107
7.5
The Crypt::Random::Source package before 0.13 for Perl has a fallback to the built-in rand() function, which is not a secure source of random bits.
- Record
UBUNTU-CVE-2018-25107- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N - Updated
- 2026-11-02
Affected packages
| Package | Affected | Fixed |
|---|---|---|
libcrypt-random-source-perlDebian:12 |
before 0.14-1 | 0.14-1 |
libcrypt-random-source-perlDebian:13 |
before 0.14-1 | 0.14-1 |
libcrypt-random-source-perlDebian:14 |
before 0.14-1 | 0.14-1 |
libcrypt-random-source-perlUbuntu:16.04:LTS |
All versions, plus listed versions 0.08-20.11-10.11-2 |
None known |
libcrypt-random-source-perlUbuntu:18.04:LTS |
All versions, plus listed versions 0.11-30.12-1 |
None known |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2018-25107 is a high vulnerability (CVSS 7.5) in libcrypt-random-source-perl, published December 29, 2024. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.43%, the 37th percentile. Fixed in libcrypt-random-source-perl 0.14-1.
References
github.com/karenetheridge/Crypt-Random-Source/pull/3
metacpan.org/release/ETHER/Crypt-Random-Source-0.13/changes
nvd.nist.gov/vuln/detail/CVE-2018-25107
github.com/advisories/GHSA-r3m8-7h2r-2mp6
security-tracker.debian.org/tracker/CVE-2018-25107
ubuntu.com/security/CVE-2018-25107
cve.org/CVERecord?id=CVE-2018-25107