{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2025-22228","id":"CVE-2025-22228","title":"CVE-2025-22228: Spring Security BCryptPasswordEncoder does not enforce maximum password length","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.","descriptionLong":"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-20T05:49:19.275Z","updated":"2026-06-17T08:45:45.500Z","reserved":"2025-01-02T04:29:59.191Z","status":"Deferred","rejected":false,"assigner":"vmware","metric":{"version":"3.1","score":7.4,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","rating":"high","source":"vmware"},"metrics":[{"version":"3.1","score":7.4,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","rating":"high","source":"vmware"},{"version":"3.1","score":7.4,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","rating":"high","source":"vmware.com"}],"rating":"high","products":["Spring Security"],"affectedProducts":[{"vendor":"Spring","product":"Spring Security","defaultStatus":"affected","versions":[{"lessThan":"5.7.16","status":"affected","version":"5.7.x","versionType":"Enterprise Support Only"},{"lessThan":"5.8.18","status":"affected","version":"5.8.x","versionType":"Enterprise Support Only"},{"lessThan":"6.0.16","status":"affected","version":"6.0.x","versionType":"Enterprise Support Only"},{"lessThan":"6.1.14","status":"affected","version":"6.1.x","versionType":"Enterprise Support Only"},{"lessThan":"6.2.10","status":"affected","version":"6.2.x","versionType":"Enterprise Support Only"},{"lessThan":"6.3.8","status":"affected","version":"6.3.x","versionType":"OSS"},{"lessThan":"6.4.4","status":"affected","version":"6.4.x","versionType":"OSS"}],"platforms":[]}],"packages":[],"cwes":["CWE-287"],"aliases":[],"references":[{"url":"https://spring.io/security/cve-2025-22228","tags":[]},{"url":"https://security.netapp.com/advisory/ntap-20250425-0009/","tags":[]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total"},"epss":0.0061,"epssPercentile":0.50026,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2025-22228","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-22228","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2025-22228","ok":false,"note":"no open-source package data"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2025-22228","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":["spring"],"critical":[],"attention":null}