{"id":"CVE-2025-40916","published":"2025-06-16T11:01:08Z","modified":"2025-06-16T13:31:45Z","title":"Mojolicious::Plugin::CaptchaPNG version 1.05 for Perl uses a weak random number source for generating the captcha text","vendor":"GRYPHON","product":"Mojolicious::Plugin::CaptchaPNG","tier":"tail","description":{"text":"Mojolicious::Plugin::CaptchaPNG version 1.05 for Perl uses a weak random number source for generating the captcha.\n\nThat version uses the built-in rand() function for generating the captcha text as well as image noise, which is insecure.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.1,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00439,"percentile":0.38996,"provenance":"source"},"cwes":[{"id":"CWE-338","name":"Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG)"},{"id":"CWE-804","name":"Guessable CAPTCHA"}],"references":[{"url":"https://metacpan.org/release/GRYPHON/Mojolicious-Plugin-CaptchaPNG-1.04/diff/GRYPHON/Mojolicious-Plugin-CaptchaPNG-1.05/lib/Mojolicious/Plugin/CaptchaPNG.pm","tags":[]},{"url":"https://metacpan.org/release/GRYPHON/Mojolicious-Plugin-CaptchaPNG-1.06/changes","tags":[]},{"url":"https://metacpan.org/pod/perlfunc#rand","tags":[]},{"url":"https://security.metacpan.org/docs/guides/random-data-for-security.html","tags":[]}],"priority":{"score":14.2,"factors":[{"name":"EPSS percentile","points":7.8},{"name":"CVSS severity","points":6.37}]},"vendorSlug":"gryphon","affectedVersions":[{"vendor":"GRYPHON","product":"Mojolicious::Plugin::CaptchaPNG","versions":["1.05"]}],"solutions":{"items":["Users should upgrade to version 1.06 or later."],"from":"CVE.org CNA","provenance":"source"},"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2025-06-16T13:31:12.359144Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2025-18387","exploited":false,"provenance":"source"}}