CVE-2025-1860
published high CVSS 3.1 · 7.7Data::Entropy for Perl uses insecure rand() function for cryptographic functions
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| ZEFRAM | — | Data-EntropyData::Entropy · 0 to < 0.008 · Other versions: unaffected | Affected | Not stated | CPANSec |
| Debian | bullseye | libdata-entropy-perl | Advisory build | 0.007-3.1+deb11u1 | DLA-4100-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | perl-Data-Entropynoarch | Advisory build | 0.8.0-bp156.4.3.1 | OPENSUSE-SU-2025:0123-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | perl-Data-Entropyaarch64 | Advisory build | 0.8.0-1.1 | OPENSUSE-SU-2025:14960-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | perl-Data-Entropyppc64le | Advisory build | 0.8.0-1.1 | OPENSUSE-SU-2025:14960-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | perl-Data-Entropys390x | Advisory build | 0.8.0-1.1 | OPENSUSE-SU-2025:14960-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | perl-Data-Entropyx86_64 | Advisory build | 0.8.0-1.1 | OPENSUSE-SU-2025:14960-1 |
Description
Data::Entropy for Perl 0.007 and earlier use the rand() function as the default source of entropy, which is not cryptographically secure, for cryptographic functions.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.7 / 10
- Severity
- high
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:L/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.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| ZEFRAM | Data::Entropy | 0 to < 0.008 (affected · custom)Default: unaffected | CPANSec · cna |
Weaknesses
2- CWE-338 CWE-338 Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG)
- CWE-331 CWE-331 Insufficient Entropy
References
3Provider assertions
3CPANSec · cna
Data::Entropy for Perl uses insecure rand() function for cryptographic functions
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 903b8037d9995fa7e782fa4d7a49a4fdcd6bf09bec5a32c19d73e83dc9e1d0dc
- Ingested
- 23 Sep 2026, 08:38:52 UTC
- Source record
- Official CVE record