CVE-2025-1828

Source
https://cve.org/CVERecord?id=CVE-2025-1828
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-1828.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-1828
Published
2025-03-10T23:51:33.279Z
Modified
2026-08-12T03:51:47.277292383Z
Severity
  • 8.8 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H CVSS Calculator
Summary
Perl's Crypt::Random module after 1.05 and before 1.56 may use rand() function for cryptographic functions
Details

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.

Database specific
{
    "cwe_ids": [
        "CWE-331",
        "CWE-338"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/1xxx/CVE-2025-1828.json",
    "cna_assigner": "CPANSec"
}
References

Affected packages

Git / github.com/perl-crypt-openpgp/crypt-random

Affected ranges

Type
GIT
Repo
https://github.com/perl-crypt-openpgp/crypt-random
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
Show details
{
    "cpe": "cpe:2.3:a:timlegge:crypt\\:\\:random:*:*:*:*:*:perl:*:*",
    "extracted_events": [
        {
            "introduced": "1.05"
        },
        {
            "last_affected": "1.55"
        }
    ],
    "source": [
        "CPE_RANGE",
        "REFERENCES"
    ]
}

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-1828.json"