CPANSA-Crypt-ScryptKDF-2026-8647: Crypt-ScryptKDF vulnerability
| Publisher | giterlizzi | Document category | csaf_security_advisory |
|---|---|---|---|
| Initial release date | 2026-05-26T00:00:00 | Engine | CSAF Perl Toolkit 0.26 |
| Current release date | 2026-05-26T00:00:00 | Build Date | |
| Current version | 1 | Status | final |
| CVSS v3.1 Base Score | 4.8 | Severity | |
| Original language | Language | en | |
| Also referred to | |||
Vulnerability Description
Crypt::ScryptKDF versions through 0.010 for Perl uses insecure random number source when no CSPRNG module is available. The random_bytes function fell back to using the built-in rand() function when none of the Perl modules Crypt::PRNG, Crypt::OpenSSL::Random, Net::SSLeay, Crypt::Random, or Bytes::Random::Secure were available.
Vulnerabilities
CVE-2026-8647
Vulnerability DescriptionCrypt::ScryptKDF versions through 0.010 for Perl uses insecure random number source when no CSPRNG module is available.
The random_bytes function fell back to using the built-in rand() function when none of the Perl modules Crypt::PRNG, Crypt::OpenSSL::Random, Net::SSLeay, Crypt::Random, or Bytes::Random::Secure were available.
| Weakness | CWE-338 : Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG) |
|---|
Product status
Known affected
| Product | Score | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Crypt-ScryptKDF less than 0.11 |
|
Fixed
- Crypt-ScryptKDF greater than or equal 0.11
giterlizzi
Namespace: https://github.com/giterlizzi/
gdt@cpan.org
References
- CPANSA-Crypt-ScryptKDF-2026-8647 JSON self
https://raw.githubusercontent.com/giterlizzi/perl-CPANSA-CSAF/develop/csaf/white/2026/cpansa-crypt-scryptkdf-2026-8647.json - https://metacpan.org/release/MIK/Crypt-ScryptKDF-0.011/changes external
https://metacpan.org/release/MIK/Crypt-ScryptKDF-0.011/changes - https://metacpan.org/release/MIK/Crypt-ScryptKDF-0.011/diff/MIK/Crypt-ScryptKDF-0.010#lib/Crypt/ScryptKDF.pm external
https://metacpan.org/release/MIK/Crypt-ScryptKDF-0.011/diff/MIK/Crypt-ScryptKDF-0.010#lib/Crypt/ScryptKDF.pm - http://www.openwall.com/lists/oss-security/2026/05/26/8 external
http://www.openwall.com/lists/oss-security/2026/05/26/8 - CVE-2026-8647 (NVD) external
https://nvd.nist.gov/vuln/detail/CVE-2026-8647
Revision history
| Version | Date of the revision | Summary of the revision |
|---|---|---|
| 1 | Tue May 26 00:00:00 2026 | First release |
Sharing rules
TLP:WHITE
For the TLP version see: https://www.first.org/tlp/