CVE-2025-22228 — 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.
Published: 2025-03-20 · CVSS: 7.4 · CVSS 3.1
BCryptPasswordEncoder.matches(CharSequence,String) will incorrectly return true for passwords larger than 72 characters as long as the first 72 characters are the same.
Source: CVE Program · Revision 8b16575c39f1e1810c5e863010da073d2d3285e7