Vulnerability · Published Jun 16, 2025 · Assigned by CPANSec

CVE-2025-40916Mojolicious::Plugin::CaptchaPNG version 1.05 for Perl uses a weak random number source for generating the captcha text

Critical 9.1

In plain English

A critical-severity security flaw in Mojolicious::Plugin::CaptchaPNG from GRYPHON. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 37% of all known vulnerabilities).

Severity (CVSS 3.1)9.1Critical
Exploit odds (30 days)0.4%top 63.4% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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.

Affected products (as reported)

VendorProductVersions
GRYPHON Mojolicious::Plugin::CaptchaPNG 1.05

Weakness: CWE-338, CWE-804 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

References