CVE-2025-22228
7.4
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
Summary
BCryptPasswordEncoder.matches(CharSequence,String) will incorrectly return true for passwords larger than 72 characters as long as the first 72 characters are the same.
Affected Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| Spring | Spring Security | 5.7.x < 5.7.16 | affected |
| Spring | Spring Security | 5.8.x < 5.8.18 | affected |
| Spring | Spring Security | 6.0.x < 6.0.16 | affected |
| Spring | Spring Security | 6.1.x < 6.1.14 | affected |
| Spring | Spring Security | 6.2.x < 6.2.10 | affected |
| Spring | Spring Security | 6.3.x < 6.3.8 | affected |
| Spring | Spring Security | 6.4.x < 6.4.4 | affected |
Weaknesses
ADP Enrichment
CISA ADP Vulnrichment
- SSVC:
- Exploitation: none
- Automatable: no
- Technical Impact: total
CVE Program Container
Additional References
References
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.