{"cve":"CVE-2025-22228","nvd":{"published":"2025-03-20T06:15:23.087","modified":"2026-06-17T08:45:45.500","status":"Deferred","description":"BCryptPasswordEncoder.matches(CharSequence,String) will incorrectly return true for passwords larger than 72 characters as long as the first 72 characters are the same.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","score":7.4},"cwes":["CWE-287"],"references":["https://spring.io/security/cve-2025-22228","https://security.netapp.com/advisory/ntap-20250425-0009/"],"products":[],"source":"nvd","synced_at":"2026-10-19T22:00:17.429720821+00:00"},"epss":{"cve":"CVE-2025-22228","score":0.0061,"percentile":0.49225,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-mg83-c7gq-rv5c","url":"https://osv.dev/vulnerability/GHSA-mg83-c7gq-rv5c","summary":"Spring Security Does Not Enforce Password Length","modified":"2026-09-10T03:49:48.718826613Z","packages":[{"ecosystem":"Maven","name":"org.springframework.security:spring-security-crypto","purl":"pkg:maven/org.springframework.security/spring-security-crypto","ranges":[">=6.3.0 <6.3.8"],"fixed":["6.3.8"]},{"ecosystem":"Maven","name":"org.springframework.security:spring-security-crypto","purl":"pkg:maven/org.springframework.security/spring-security-crypto","ranges":[">=6.4.0 <6.4.4"],"fixed":["6.4.4"]},{"ecosystem":"Maven","name":"org.springframework.security:spring-security-crypto","purl":"pkg:maven/org.springframework.security/spring-security-crypto","ranges":[">=6.2.0 <6.2.10"],"fixed":["6.2.10"]},{"ecosystem":"Maven","name":"org.springframework.security:spring-security-crypto","purl":"pkg:maven/org.springframework.security/spring-security-crypto","ranges":[">=6.1.0 <6.1.14"],"fixed":["6.1.14"]},{"ecosystem":"Maven","name":"org.springframework.security:spring-security-crypto","purl":"pkg:maven/org.springframework.security/spring-security-crypto","ranges":[">=6.0.0 <6.0.16"],"fixed":["6.0.16"]},{"ecosystem":"Maven","name":"org.springframework.security:spring-security-crypto","purl":"pkg:maven/org.springframework.security/spring-security-crypto","ranges":[">=5.8.0 <5.8.18"],"fixed":["5.8.18"]},{"ecosystem":"Maven","name":"org.springframework.security:spring-security-crypto","purl":"pkg:maven/org.springframework.security/spring-security-crypto","ranges":["<5.7.16"],"fixed":["5.7.16"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}