Mojolicious::Plugin::CaptchaPNG version 1.05 for Perl uses a weak random number source for generating the captcha text
Priority MEDIUM 46CWE-338Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · None
- Fix status
- No fix listed
Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA.
Summary
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.
Why it matters now
Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.0042 36th percentileScored 2026-11-07
Fix No fix listed No fixed version in the sources yet
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
No fixed version listed by the sources yet.
Timeline
- 2026-10-02 Threatist record created from CVE-2025-40916
- 2026-10-03 Alias added: GHSA-w6w2-2wxg-ggwx
References
Other 4
- 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://metacpan.org/pod/perlfunc#rand
- https://security.metacpan.org/docs/guides/random-data-for-security.html
More GRYPHON vulnerabilities
- TI-2008-02621 SQL injection vulnerability in login.php in Gryphon gllcTS2 4.2.4 allows remote attackers… CVSS 2.0HIGH 7.5
- TI-2025-27309 Mojolicious::Plugin::CSRF 1.03 for Perl uses a weak random number source for generating… CVSS 3.1HIGH 7.0
Sources
- CVE-2025-40916 · CVE Program
- CVE-2025-40916 · NVD
- FIRST EPSS
- GHSA-w6w2-2wxg-ggwx · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences