{"id":"CVE-2025-40916","aliases":["EUVD-2025-18387","GHSA-w6w2-2wxg-ggwx"],"status":"published","title":"Mojolicious::Plugin::CaptchaPNG version 1.05 for Perl uses a weak random number source for generating the captcha text","description":"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.","severity":{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","level":"critical","assessor":"adp","from":"cve"},"epss":{"day":"2026-11-09","score":0.0042,"percentile":0.36646,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-338","CWE-804"],"published":"2025-06-16T11:01:08Z","modified":"2026-10-28T02:30:27Z","products":[{"vendor":"gryphon","product":"mojolicious::plugin::captchapng"}],"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":["web"]},{"url":"https://metacpan.org/release/GRYPHON/Mojolicious-Plugin-CaptchaPNG-1.06/changes","tags":["web"]},{"url":"https://metacpan.org/pod/perlfunc#rand","tags":["web"]},{"url":"https://security.metacpan.org/docs/guides/random-data-for-security.html","tags":["web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-40916","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-w6w2-2wxg-ggwx"},{"url":"https://cpan.org/modules","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/40xxx/CVE-2025-40916.json","tags":["advisory"]},{"url":"https://github.com/gryphonshafer/Mojo-Plugin-CaptchaPNG","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2025-40916","title":"Mojolicious::Plugin::CaptchaPNG version 1.05 for Perl uses a weak random number source for generating the captcha text","description":"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.","status":"published","published":"2025-06-16T11:01:08.871Z","modified":"2025-06-16T13:31:45.621Z","cvss":[{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","level":"critical","assessor":"adp"}],"cwes":["CWE-338","CWE-804"],"updated_at":"2026-11-02T14:32:34.434755Z"}],"euvd":[{"id":"EUVD-2025-18387","description":"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.","status":"published","published":"2025-06-16T11:01:08Z","modified":"2025-06-16T13:31:45Z","cvss":[{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","level":"critical"}],"updated_at":"2026-11-02T20:32:23.637399Z"}],"ghsa":[{"id":"GHSA-w6w2-2wxg-ggwx","title":"Mojolicious::Plugin::CaptchaPNG version 1.05 for Perl uses a weak random number source for...","description":"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.","status":"published","published":"2025-06-16T12:30:26Z","modified":"2025-06-16T15:32:26Z","cvss":[{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","level":"critical"}],"cwes":["CWE-338"],"updated_at":"2026-11-02T15:02:44.030349Z"}],"nvd":[{"id":"CVE-2025-40916","description":"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.","status":"published","published":"2025-06-16T11:15:17.793Z","modified":"2026-06-17T09:22:17.377Z","cvss":[{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","level":"critical","assessor":"secondary"}],"cwes":["CWE-338","CWE-804"],"updated_at":"2026-11-02T14:11:13.247441Z"}],"osv":[{"id":"CVE-2025-40916","title":"Mojolicious::Plugin::CaptchaPNG version 1.05 for Perl uses a weak random number source for generating the captcha text","description":"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.","status":"published","published":"2025-06-16T11:01:08.871Z","modified":"2026-10-28T02:30:27.260447929Z","cvss":[{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","level":"critical"}],"cwes":["CWE-338","CWE-804"],"updated_at":"2026-11-02T15:44:49.394967Z"}]}}
