Integer Overflow or Wraparound in JBCrypt
Integer overflow in the crypt_raw method in the key-stretching implementation in JBCrypt before 0.4 makes it easier for remote attackers to determine cleartext values of password hashes via a brute-force attack against hashes associated with the maximum exponent.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Java / Kotlin (Maven) | org.mindrot:jbcrypt | < 0.4 | 0.4 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2015-0886
- https://bugzilla.mindrot.org/show_bug.cgi?id=2097
- https://lists.apache.org/thread.html/rbd23e3ac8113b4da0a025c0e45170b6ec317383a1cf06090c2c717aa@%3Ccommits.cassandra.apache.org%3E
- https://lists.apache.org/thread.html/rd5c2256b8dc9935e4bb5e9be90adce58408054bb42523730a40c5548@%3Ccommits.cassandra.apache.org%3E
- https://lists.apache.org/thread.html/re330cfe9e5d84e3f7da8ace23ec32f38cb3fbd328bf177badd7ad942@%3Ccommits.cassandra.apache.org%3E
- http://jvn.jp/en/jp/JVN77718330/index.html
- http://jvndb.jvn.jp/jvndb/JVNDB-2015-000033
- http://lists.fedoraproject.org/pipermail/package-announce/2015-March/151496.html
- http://lists.fedoraproject.org/pipermail/package-announce/2015-March/151786.html
- http://lists.fedoraproject.org/pipermail/package-announce/2015-March/151797.html
- http://www.mindrot.org/projects/jBCrypt/news/rel04.html
- Weakness (CWE)
CWE-190- Platform
- Java / Kotlin (Maven)
- Package
org.mindrot:jbcrypt- Disclosed
- 13.05.2022
- Updated
- 11.10.2026 13:19
Sources and licenses
OSV / GitHub Advisory Database - GHSA-9h6p-92jq-888x - CC BY 4.0
Vulnerability history: org.mindrot:jbcrypt
All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.
This is the only known vulnerability of this package.
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.