Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.2%top 87%

CVE-2026-8647: CWE-338 Use of Cryptographically Weak Pseudo-Random Number Generator in MIK Crypt::ScryptKDF

0
Medium
VulnerabilityCVE-2026-8647cvecve-2026-8647cwe-338
Published: 05/26/2026 (05/26/2026, 22:53:49 UTC)
Source: CVE Database V5
Vendor/Project: MIK
Product: Crypt::ScryptKDF

Description

CVE-2026-8647 is a medium severity vulnerability in the Perl module Crypt::ScryptKDF versions through 0.010. The module uses an insecure random number source when no cryptographically secure pseudo-random number generator (CSPRNG) module is available. Specifically, the random_bytes function falls back to the built-in rand() function, which is not cryptographically secure. This weakness can reduce the effectiveness of cryptographic operations relying on this module.

CVSS v3.1

Score 4.8medium

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
None
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N

Affected software

Affected versions
<=0.010

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 06/03/2026, 20:50:39 UTC

Technical Analysis

Crypt::ScryptKDF versions through 0.010 for Perl use an insecure random number source if no CSPRNG modules such as Crypt::PRNG, Crypt::OpenSSL::Random, Net::SSLeay, Crypt::Random, or Bytes::Random::Secure are installed. In this case, the random_bytes function falls back to the built-in rand() function, which is a cryptographically weak pseudo-random number generator. This behavior is classified under CWE-338. The CVSS v3.1 base score is 4.8 (medium severity) with network attack vector, high attack complexity, no privileges or user interaction required, and limited confidentiality and integrity impact.

Potential Impact

The use of a cryptographically weak pseudo-random number generator can weaken the security of cryptographic operations that depend on randomness from Crypt::ScryptKDF. This may lead to reduced confidentiality and integrity guarantees in applications using this module without a proper CSPRNG installed. There are no known exploits in the wild reported at this time.

Mitigation Recommendations

Patch status is not yet confirmed — no official fix or remediation level has been published by the vendor. Users should ensure that at least one supported CSPRNG Perl module (e.g., Crypt::PRNG, Crypt::OpenSSL::Random, Net::SSLeay, Crypt::Random, or Bytes::Random::Secure) is installed and available in their environment to avoid fallback to the insecure rand() function. Monitor the vendor advisory for updates regarding an official fix.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
CPANSec
Date Reserved
2026-05-14T22:46:50.791Z
Cvss Version
null
State
PUBLISHED
Remediation Level
null

Threat ID: 6a162a4be29bf47b50736dde

Added to database: 05/26/2026, 23:18:35 UTC

Last enriched: 06/03/2026, 20:50:39 UTC

Last updated: 07/31/2026, 19:23:00 UTC

Views: 98

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses