🛡️ CVE-2025-40916

🔴 CVSS 9.1 — Critical ✅ No Known Exploit CWE-338 NVD
9.1
CVSS Score
0 Low4 Medium7 High9 Critical10

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.

How this vulnerability can be exploited

This issue can be reached over the network, attack complexity is low, an attacker needs no privileges on the target. No user interaction is required. The scope is unchanged, so the impact stays within the vulnerable component. Rated impact: confidentiality high, integrity high, availability none.

Weakness class

CVE-2025-40916 is classified as CWE-338: Use of Cryptographically Weak PRNG. A general-purpose random number generator is used where a cryptographic one is required.

Affected software

CVE-2025-40916 is recorded against 1 package.

  • unknown

Timeline and source

Published on 16 June 2025 and last revised on 17 June 2026. No public exploit is currently recorded for this entry. Record sourced from NVD.

References

metacpan.org
metacpan.org
metacpan.org
security.metacpan.org

Details

Severity CRITICAL
CVSS Score 9.1
CVSS Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
CWE CWE-338
Public Exploit ✅ No
Source NVD
Published 2025-06-16
Updated 2026-08-11
Modified 2026-06-17
Fix URL N/A

Affected Packages

Software From version Fixed in
unknown

Similar Threats

Exploit Protection

Are you running the affected software?

CVE-2025-40916 carries CVSS 9.1 Critical rating. BotEraser checks your installation against this and other known CVE records, and blocks IPs associated with exploit activity.

Check My Site For CVE-2025-40916 →

No credit card required  ·  Results in minutes

ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.

Browse related advisories

All advisoriesCVECVE 2025