CVE-2025-40916: Mojolicious::Plugin::CaptchaPNG version 1.05 for Perl uses a weak random number source for generating the captcha text

Published Jun 16, 2025
·
Updated

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

1 affected component
Mojolicious Plugin::CaptchaPNG

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Mojolicious::Plugin::CaptchaPNG to a version that resolves this vulnerability.

    Fixed in 1.06

Event History

Jun 16, 2025
CVE Published
via MITRE·11:01 AM
Data Sourced
via MITRE·11:01 AM
RemedyDescriptionWeakness
Data Sourced
via NVD·11:15 AM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

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.

2

How do I fix CVE-2025-40916?

To fix CVE-2025-40916, upgrade to Mojolicious::Plugin::CaptchaPNG version 1.06 or later.

3

What component is impacted by CVE-2025-40916?

CVE-2025-40916 affects the Mojolicious::Plugin::CaptchaPNG version 1.05 for Perl.

4

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.

5

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.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203