CVE-2025-22228
CVE.org · Published
- Record status
- Published
- Identifier year (not publication year)
- 2025
- Source publication
- Source updated
- Imported by cveboard
- Source snapshot
- cve_2026-10-24_midnight_baseline ·
CNA source text (English)
CVE-2025-22228: Spring Security BCryptPasswordEncoder does not enforce maximum password length
BCryptPasswordEncoder.matches(CharSequence,String) will incorrectly return true for passwords larger than 72 characters as long as the first 72 characters are the same.
Scoped product and version facts
Fix information unknown; no fixed version is derived here. Missing information does not prove that no fix exists.
Exploitation unknown; this catalogue does not assess exploitation.
Spring Security
- Vendor
- Spring
- Product
- Spring Security
- Platforms
- Unknown
- Default status
affected- Package
- Spring Security
| Version (version) | Status (status) | Version scheme (versionType) | Exclusive end (lessThan) | Inclusive end (lessThanOrEqual) | Status changes (at → status) |
|---|---|---|---|---|---|
| 5.7.x | affected | Enterprise Support Only | 5.7.16 | Unavailable | None listed |
| 5.8.x | affected | Enterprise Support Only | 5.8.18 | Unavailable | None listed |
| 6.0.x | affected | Enterprise Support Only | 6.0.16 | Unavailable | None listed |
| 6.1.x | affected | Enterprise Support Only | 6.1.14 | Unavailable | None listed |
| 6.2.x | affected | Enterprise Support Only | 6.2.10 | Unavailable | None listed |
| 6.3.x | affected | OSS | 6.3.8 | Unavailable | None listed |
| 6.4.x | affected | OSS | 6.4.4 | Unavailable | None listed |