Live threats

All CVEs / Kaptcha Project

CVE-2018-18531Kaptcha Project Kaptcha

Critical 9.8 No auth needed

Priority
74
CVSS 3.0
9.8
EPSS
1.5%
probability of exploitation in 30 days · percentile 74
Auth required
No
Published
Oct 19, 2018
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-330
Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

text/impl/DefaultTextCreator.java, text/impl/ChineseTextProducer.java, and text/impl/FiveLetterFirstNameTextCreator.java in kaptcha 2.3.2 use the Random (rather than SecureRandom) function for generating CAPTCHA values, which makes it easier for remote attackers to bypass intended access restrictions via a brute-force approach.

Original NVD text.

What to do

  1. Apply the vendor's security update for Kaptcha.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Maven com.github.penggle:kaptcha ≤ 2.3.2 no fixed version —

Per OSV / GitHub Advisories (GHSA-8q89-pwhh-7wfq). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
kaptcha_projectkaptcha2.3.2

Official sources

References

Links published by the sources. Open them with care.