CVE-2025-40916

CRITICALCVSS 9.1/10EPSS 0.33%

Last modified

CVE-2025-40916 is a critical-severity vulnerability rated 9.1/10 on the CVSS scale. 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.. EPSS estimates a 0.33% chance of exploitation in the next 30 days.

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.

Metrics

CVSS 3.1
9.1/10

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

EPSS Probability
0.33%

25.0th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

References

Timeline

Published
Last Modified
Status
Deferred

Frequently Asked Questions

What is CVE-2025-40916?
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.
How severe is CVE-2025-40916?
CVE-2025-40916 has a CVSS score of 9.1/10 (CRITICAL severity). The EPSS model estimates a 0.33% probability of exploitation in the next 30 days.
How do I fix CVE-2025-40916?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

Are you affected by CVE-2025-40916?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST