CVE-2025-22234CWE-208

Spring Security - BCrypt Password Encoder maximum password length breaks timing attack mitigation

Medium · published January 22, 2026

CVSS v3.1
5.3
EPSS
0%
Percentile
32.0
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
5.3 · MEDIUM
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
CVSS v4.0
Not supplied
EPSS
0.00390 · 32.0th percentile
Weakness
CWE-208 · Observable Timing Discrepancy
Published
2026-01-22T21:02Z
EPSS history
Timeline
  • 22 JAN 21:02Z
    Spring Security - BCrypt Password Encoder maximum password length breaks timing attack mitigation
    cvelistv5