Vulnerability Description
Mojolicious::Plugin::CaptchaPNG version 1.05 for Perl uses a weak random number source for generating the captcha. That version uses the built-in rand() function for generating the captcha text as well as image noise, which is insecure.
CVSS Score
CRITICAL
Related Weaknesses (CWE)
References
- https://metacpan.org/pod/perlfunc#rand
- https://metacpan.org/release/GRYPHON/Mojolicious-Plugin-CaptchaPNG-1.04/diff/GRY
- https://metacpan.org/release/GRYPHON/Mojolicious-Plugin-CaptchaPNG-1.06/changes
- https://security.metacpan.org/docs/guides/random-data-for-security.html
FAQ
What is CVE-2025-40916?
CVE-2025-40916 is a vulnerability with a CVSS score of 9.1 (CRITICAL). Mojolicious::Plugin::CaptchaPNG version 1.05 for Perl uses a weak random number source for generating the captcha. That version uses the built-in rand() function for generating the captcha text as we...
How severe is CVE-2025-40916?
CVE-2025-40916 has been rated CRITICAL with a CVSS base score of 9.1/10. This is considered a critical vulnerability requiring immediate attention.
Is there a patch for CVE-2025-40916?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.