{"id":"CVE-2025-22234","aliases":["CVE-2025-22234","GHSA-vqxh-445g-37fc"],"related":[],"kind":"vulnerability","state":"published","title":"Spring Security - BCrypt Password Encoder maximum password length breaks timing attack mitigation","summary":"The fix applied in CVE-2025-22228 inadvertently broke the timing attack mitigation implemented in DaoAuthenticationProvider. This can allow attackers to infer valid usernames or other authentication behavior via response-time differences under certain configurations.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"The fix applied in CVE-2025-22228 inadvertently broke the timing attack mitigation implemented in DaoAuthenticationProvider. This can allow attackers to infer valid usernames or other authentication behavior via response-time differences under certain configurations.","source":"cvelist"},{"lang":"es","text":"La corrección aplicada en CVE-2025-22228 rompió inadvertidamente la mitigación de ataques de temporización implementada en DaoAuthenticationProvider. Esto puede permitir a los atacantes inferir nombres de usuario válidos u otro comportamiento de autenticación a través de diferencias en el tiempo de respuesta bajo ciertas configuraciones.","source":"nvd"}],"published":"2026-01-22T21:02:23.992Z","modified":"2026-06-17T08:45:47.980Z","severity":{"scorer":"vmware","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","score":5.3,"rating":"MEDIUM"},"severities":[{"scorer":"vmware","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","score":5.3,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","score":5.3,"rating":"MEDIUM"}],"cwes":["CWE-208"],"affected":[{"ranges":[{"type":"semver","version":"5.7.16","status":"affected"},{"type":"semver","version":"5.8.18","status":"affected"},{"type":"semver","version":"6.0.16","status":"affected"},{"type":"semver","version":"6.1.14","status":"affected"},{"type":"semver","version":"6.2.10","status":"affected"},{"type":"semver","version":"6.3.8","status":"affected"},{"type":"semver","version":"6.4.4","status":"affected"}],"vendor":"Spring","product":"Spring Security","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"6.3.8","status":"affected","fixed":"6.3.9"}],"ecosystem":"Maven","package":"org.springframework.security:spring-security-core","purl":"pkg:maven/org.springframework.security/spring-security-core","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"6.4.4","status":"affected","fixed":"6.4.5"}],"ecosystem":"Maven","package":"org.springframework.security:spring-security-core","purl":"pkg:maven/org.springframework.security/spring-security-core","source":"ghsa"}],"references":[{"url":"https://spring.io/security/cve-2025-22234/","tags":["vendor-advisory"],"sources":["cvelist","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-22234","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/spring-projects/spring-security","tags":["package"],"sources":["ghsa"]},{"url":"https://spring.io/security/cve-2025-22234","tags":["web"],"sources":["ghsa"]}],"credits":["Jonas Robl"],"assigner":"vmware","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2026-01-22T21:27:06.559Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-22234","url":"https://www.cve.org/CVERecord?id=CVE-2025-22234","licence":"CVE Terms of Use","modified":"2026-01-22T21:27:13.558Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-vqxh-445g-37fc","url":"https://github.com/advisories/GHSA-vqxh-445g-37fc","licence":"CC-BY-4.0","modified":"2026-02-03T03:12:29.099Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-22234","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-22234","licence":"Public domain","modified":"2026-06-17T08:45:47.980Z"}],"updatedAt":"2026-11-25T22:59:10.822Z","epss":{"score":0.0039,"percentile":0.35287,"date":"2026-12-01T12:00:22.000Z"}}