CVE-2018-18531
CRITICAL 9.8CVSS 3.0Use of Insufficiently Random Values in penggle:kaptcha
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.
- Published
- 19 Oct 2018
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-330
- Also known as
- GHSA-8q89-pwhh-7wfq
- Sources
- NVDJSONOSV GHSA-8q89-pwhh-7wfqJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.0 | CRITICAL 9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.0 | CRITICAL 9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.0 | AV:N/AC:L/Au:N/C:P/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | kaptcha_project | kaptchacpe:2.3:a:kaptcha_project:kaptcha:2.3.2:*:*:*:*:*:*:* |
= 2.3.2 | |
| OSV | Maven | com.github.penggle:kaptcha | <= 2.3.2 |
References
- https://github.com/penggle/kaptcha/issues/3 · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2018-18531 · ADVISORY
- https://github.com/advisories/GHSA-8q89-pwhh-7wfq · ADVISORY
- https://github.com/penggle/kaptcha · PACKAGE
History
- 25 Nov 2026 20:21 UTC · NVD: first stored (published 19 Oct 2018)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 23 Oct 2018)