CVE-2025-2814
Reported by cpansec · Published April 12, 2025
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| Crypt-CBC | cpan.org | 3.05 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| LDS | Crypt::CBC | 1.21 |
| LDS | Crypt::CBC | 1.21 |
Timeline
- Apr 12, 2025 CVE Published
- Apr 13, 2025 EPSS Score (30 in total, the first dated here)
- Apr 13, 2025 PoC Published
- Apr 18, 2025 Coalition ESS Score (18 in total, the first dated here)
- Sep 5, 2025 CVE Updated
- Apr 1, 2026 Security Advisory
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2025-2814
vulnetix vdb fixes CVE-2025-2814
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-2814/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart