CVE-2015-0886 — jbcrypt
CVE-2015-0886 is a CWE-190 vulnerability in org.mindrot:jbcrypt. A fix is available for org.mindrot:jbcrypt — see the affected versions and patch details below.
Integer Overflow or Wraparound in JBCrypt
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
Real-World Exposure
org.mindrot:jbcryptReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Maven packages — download data is not available via public APIs for these ecosystems.
Description
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 Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| ☕Maven | org.mindrot:jbcrypt | all versions | 0.4org.mindrot:jbcrypt:0.4 |
Affected Products
fedorafedoraprojectjbcryptmindrotDetection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for org.mindrot:jbcrypt, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update org.mindrot:jbcrypt to 0.4 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2015-0886 is resolved across your whole dependency graph.
Workarounds
Constrain what reaches the vulnerable code: limit the size and shape of untrusted input, isolate the affected component in a sandboxed or least-privileged process, and enable the platform's memory-safety mitigations (ASLR, stack protector, hardened allocator) so an out-of-bounds access is more likely to fail closed than to be exploitable.
Frequently Asked Questions
Is CVE-2015-0886 in your dependencies?
Find it across Maven, including transitive dependencies.