cve.bz

CWE-331: Insufficient Entropy, published in 2025

Filter

The product uses an algorithm or scheme that produces insufficient entropy, leaving patterns or clusters of values that are more likely to occur than others.

What the weakness is: CWE-331 at MITRE. OWASP Top 10: A04:2025 Cryptographic Failures. All weaknesses

Related attack patterns (CAPEC): 1
  • CAPEC-59 Session Credential Falsification through Prediction Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to CWE-331, as MITRE names them. Credits.

Ask an AI about CWE-331

Show the promptExplain CWE-331: Insufficient Entropy and how to prevent and detect it in code. Use https://cwe.mitre.org/data/definitions/331.html and https://cve.bz/cve/cwe/331?via=ask-ai-copy for recent CVEs with this weakness. Cite the sources.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this weakness's id and public links.

By year: all 2026 2025 2024 2023 2022 2021

  1. 8.7CVE-2025-15387qno technology vpn firewallEPSS 0.7%

    VPN Firewall developed by QNO Technology has a Insufficient Entropy vulnerability, allowing unauthenticated remote attackers to obtain any logged-in user session through brute-force attacks and subsequently log into the system.

  2. 9.8CVE-2025-67504wbce cmsEPSS 0.9%

    WBCE CMS is a content management system. Versions 1.6.4 and below use function GenerateRandomPassword() to create passwords using PHP's rand(). rand() is not cryptographically secure, which allows password sequences to be predicted or brut…

  3. 9.3CVE-2025-66565gofiber utilsEPSS 0.7%

    Fiber Utils is a collection of common functions created for Fiber. In versions 2.0.0-rc.3 and below, when the system's cryptographic random number generator (crypto/rand) fails, both functions silently fall back to returning predictable UU…

  4. 7.1CVE-2025-14261litmuschaos litmusEPSS 0.6%

    The Litmus platform uses JWT for authentication and authorization, but the secret being used for signing the JWT is only 6 bytes long at its core, which makes it extremely easy to crack.

  5. 4.7CVE-2025-32898kde kde connect verification-code protocolEPSS 0.2%

    The KDE Connect verification-code protocol before 2025-04-18 uses only 8 characters and therefore allows brute-force attacks. This affects KDE Connect before 1.33.0 on Android, KDE Connect before 25.04 on desktop, KDE Connect before 0.5 on…

  6. 3.1CVE-2025-62774mercku m6aEPSS 0.3%

    On Mercku M6a devices through 2.1.0, the authentication system uses predictable session tokens based on timestamps.

  7. 9.1CVE-2024-58040qwer crypt\EPSS 0.4%

    Crypt::RandomEncryption for Perl version 0.01 uses insecure rand() function during encryption.

  8. 6.3CVE-2025-59015typo3EPSS 0.3%

    A deterministic three‑character prefix in the Password Generation component of TYPO3 CMS versions 12.0.0–12.4.36 and 13.0.0–13.4.17 reduces entropy, allowing attackers to carry out brute‑force attacks more quickly.

  9. 6.9CVE-2025-54885simbo1905 thinbus-srp-npmEPSS 0.7%

    Thinbus Javascript Secure Remote Password is a browser SRP6a implementation for zero-knowledge password authentication. In versions 2.0.0 and below, a protocol compliance bug causes the client to generate a fixed 252 bits of entropy instea…

  10. 8.9CVE-2025-50122schneider electric ecostruxure™ it data center expertEPSS 0.3%

    A CWE-331: Insufficient Entropy vulnerability exists that could cause root password discovery when the password generation algorithm is reverse engineered with access to installation or upgrade artifacts.

  11. 2.9CVE-2025-6931dlinkEPSS 3.9%

    A vulnerability classified as problematic was found in D-Link DCS-6517 and DCS-7517 up to 2.02.0. Affected by this vulnerability is the function generate_pass_from_mac of the file /bin/httpd of the component Root Password Generation Handle…

  12. 9.5CVE-2025-52464meshtastic firmwareEPSS 0.9%

    Meshtastic is an open source mesh networking solution. In versions from 2.5.0 to before 2.6.11, the flashing procedure of several hardware vendors was resulting in duplicated public/private keys. Additionally, the Meshtastic was failing to…

  13. 9.8CVE-2025-47781ralllyEPSS 1.0%

    Rallly is an open-source scheduling and collaboration tool. Versions up to and including 3.22.1 of the application features token based authentication. When a user attempts to login to the application, they insert their email and a 6 digit…

  14. 8.1CVE-2024-58134mojoliciousEPSS 1.0%

    Mojolicious versions from 0.999922 for Perl uses a hard coded string, or the application's class name, as an HMAC session cookie secret by default. These predictable default secrets can be exploited by an attacker to forge session cookies…

  15. 4.0CVE-2025-2814lds crypt cbcEPSS 0.3%

    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'…

  16. 6.5CVE-2024-56370elliott net xeroEPSS 0.6%

    Net::Xero 0.044 and earlier for Perl uses the rand() function as the default source of entropy, which is not cryptographically secure, for cryptographic functions. Specifically Net::Xero uses the Data::Random library which specifically st…

  17. 5.5CVE-2024-52322localshop webservice\EPSS 0.6%

    WebService::Xero 0.11 and earlier for Perl uses the rand() function as the default source of entropy, which is not cryptographically secure, for cryptographic functions. Specifically WebService::Xero uses the Data::Random library which sp…

  18. 5.5CVE-2024-58036norbu09 net\EPSS 0.5%

    Net::Dropbox::API 1.9 and earlier for Perl uses the rand() function as the default source of entropy, which is not cryptographically secure, for cryptographic functions. Specifically Net::Dropbox::API uses the Data::Random library which s…

  19. 5.5CVE-2024-57868lev web\EPSS 0.5%

    Web::API 2.8 and earlier for Perl uses the rand() function as the default source of entropy, which is not cryptographically secure, for cryptographic functions. Specifically Web::API uses the Data::Random library which specifically states…

  20. 7.7CVE-2025-1860zefram data entropyEPSS 0.3%

    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.

  21. 4.0CVE-2025-27552wreis dbix class encodedcolumnEPSS 0.2%

    DBIx::Class::EncodedColumn use the rand() function, which is not cryptographically secure to salt password hashes. This vulnerability is associated with program files Crypt/Eksblowfish/Bcrypt.pm. This issue affects DBIx::Class::EncodedCo…

  22. 4.0CVE-2025-27551wreis dbix class encodedcolumnEPSS 0.2%

    DBIx::Class::EncodedColumn use the rand() function, which is not cryptographically secure to salt password hashes. This vulnerability is associated with program files lib/DBIx/Class/EncodedColumn/Digest.pm. This issue affects DBIx::Class…

  23. 7.5CVE-2025-29311opennetworking onosEPSS 0.7%

    Limited secret space in LLDP packets used in onos v2.7.0 allows attackers to obtain the private key via a bruteforce attack. Attackers are able to leverage this vulnerability into creating crafted LLDP packets.

  24. 4.2CVE-2024-9055silicon labs simplicity sdkEPSS 0.3%

    The DPA countermeasures on Silicon Labs' Series 2 devices are not reseeded periodically as they should be. This may allow an attacker to eventually extract secret keys through a DPA attack.

  25. 8.8CVE-2025-1828timlegge crypt\EPSS 0.9%

    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 no…

  26. 7.5CVE-2024-53522EPSS 1.1%

    Bangkok Medical Software HOSxP XE v4.64.11.3 was discovered to contain a hardcoded IDEA Key-IV pair in the HOSxPXE4.exe and HOS-WIN32.INI components. This allows attackers to access sensitive information.