CVE-2025-22228
BCryptPasswordEncoder.matches(CharSequence,String) will incorrectly …
BCryptPasswordEncoder.matches(CharSequence,String) will incorrectly return true for passwords larger than 72 characters as long as the first 72 characters are the same.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- spring.io/security/cve-2025-22228
- security.netapp.com/advisory/ntap-20250425-0009/
- nvd.nist.gov/vuln/detail/CVE-2025-22228
- github.com/spring-projects/spring-security/commit/46f0dc6dfc8402cd556c598fdf2d31f9d46cdbf3
- security.netapp.com/advisory/ntap-20250425-0009
- github.com/advisories/GHSA-mg83-c7gq-rv5c
- nvd.nist.gov/vuln/detail/CVE-2025-22228
- cve.org/CVERecord?id=CVE-2025-22228
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.