CVE-2025-22234 MEDIUM

CVE-2025-22234: Spring Security - BCrypt Password Encoder maximum password length breaks timing attack mitigation

Vendor Spring
Product Spring Security
Weakness CWE-208
Published January 22, 2026
Last update January 22, 2026

CVSS base score

5.3/10
Attack vector Network
Attack complexity Low
Privileges required None
User interaction None
Confidentiality Low
Integrity None

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

January 22, 2026 CVE published
January 22, 2026 Record updated