CVE-2025-40916CRITICAL 9.1EPSS p24.9%
CVE-2025-40916CVE-2025-40916
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.
Scoring
| CVSS 3.1 | 9.1 (CRITICAL) |
| Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
| EPSS | 0.33% probability of exploitation · percentile 24.9% · 2026-06-19T12:03:05Z |
| Published | 2025-06-16 |
| Last modified | 2026-04-15 |
Underlying weaknesses· 2
References
- https://metacpan.org/pod/perlfunc#rand
- https://metacpan.org/release/GRYPHON/Mojolicious-Plugin-CaptchaPNG-1.04/diff/GRYPHON/Mojolicious-Plugin-CaptchaPNG-1.05/lib/Mojolicious/Plugin/CaptchaPNG.pm
- https://metacpan.org/release/GRYPHON/Mojolicious-Plugin-CaptchaPNG-1.06/changes
- https://security.metacpan.org/docs/guides/random-data-for-security.html
2
| Type | Target | Confidence | Tier |
|---|---|---|---|
| Weakness | Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG)cwe-338 | 0% | live |
| Weakness | Guessable CAPTCHAcwe-804 | 0% | live |
Related by meaning· 6
Nearest entities by semantic similarity across the cs-graph corpus.