CVEvulnerability
CVE-2025-40916
9.1 CRITICAL
Official page ↗
- Status
- Deferred
- Published
- 2025-06-16
- Last modified
- 2026-06-17
- Assigner
- 9b29abf9-4ab0-4765-b253-1875cd9b441e
- CVSS 3.1 (134c704f-9b21-4f2e-91b3-4a467353bcc0)
- 9.1 CRITICAL — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
- Weaknesses
- CWE-338, CWE-804
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.
Related
References
- https://metacpan.org/pod/perlfunc#rand metacpan.org
- https://metacpan.org/release/GRYPHON/Mojolicious-Plugin-CaptchaPNG-1.04/diff/GRYPHON/Mojolicious-Plugin-CaptchaPNG-1.05/lib/Mojolicious/Plugin/CaptchaPNG.pm metacpan.org
- https://metacpan.org/release/GRYPHON/Mojolicious-Plugin-CaptchaPNG-1.06/changes metacpan.org
- https://security.metacpan.org/docs/guides/random-data-for-security.html security.metacpan.org