SecurityContext

CVE-2025-40916: Mojolicious::Plugin::CaptchaPNG - Broken Authentication

  • Cve: CVE-2025-40916
  • Name: Mojolicious::Plugin::CaptchaPNG - Broken Authentication
  • 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.
  • Impact: Attackers can predict captcha values, bypassing captcha protections and enabling automated attacks.
  • Remediation: Update to the latest version with secure random number generation.
  • Vulnerability type: broken_authentication
  • Vulnerability impact: broken_authentication
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: critical
  • Cvss score: 9.1
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
  • Epss score: 0.00439
  • Epss percentile: 0.38887
  • Assignee: 9b29abf9-4ab0-4765-b253-1875cd9b441e
  • Published at: 2025-06-16T11:15:17Z
  • Age in days: 526
  • Modified at: 2026-06-17T09:22:17Z
  • References total: 4
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2025-40916
  • Nvd status: deferred
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, products total, products, oss, projects total, projects, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-338Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG)

References

Same in every row:

  • Source: nvd
  • Tags:
Url
https://metacpan.org/pod/perlfunc#rand
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://security.metacpan.org/docs/guides/random-data-for-security.html

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts