CVE-2025-40916: Mojolicious::Plugin::CaptchaPNG version 1.05 for Perl uses a weak random number source for generating the captcha text
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.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
Mojolicious::Plugin::CaptchaPNGto a version that resolves this vulnerability.Fixed in 1.06
Event History
Frequently Asked Questions
What is the severity of CVE-2025-40916?
CVE-2025-40916 is classified as a high-severity vulnerability due to its potential to compromise captcha security.
How do I fix CVE-2025-40916?
To fix CVE-2025-40916, upgrade to Mojolicious::Plugin::CaptchaPNG version 1.06 or later.
What component is impacted by CVE-2025-40916?
CVE-2025-40916 affects the Mojolicious::Plugin::CaptchaPNG version 1.05 for Perl.
Why is CVE-2025-40916 considered insecure?
CVE-2025-40916 is considered insecure because it relies on the built-in rand() function, which provides weak randomness for captcha generation.
What are the potential risks of CVE-2025-40916?
The potential risks of CVE-2025-40916 include increased vulnerability to automated attacks that can bypass captchas.