CVE-2018-18531Kaptcha Project Kaptcha
Critical 9.8 No auth needed
Follow: this CVE · Kaptcha Project · Kaptcha Project Kaptcha We alert you by email or Slack (account required).
- 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.
What to do
- Apply the vendor's security update for Kaptcha.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How 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)
| Vendor | Product | Versions |
|---|---|---|
| kaptcha_project | kaptcha | 2.3.2 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Third Party Advisory