Skip to content
CVE PROGRAM SOURCE RECORD5.3 Medium

CVE-2025-22234

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

Description

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Spring Spring Security

Default version status: affected

  • 5.7.16affected
  • 5.8.18affected
  • 6.0.16affected
  • 6.1.14affected
  • 6.2.10affected
  • 6.3.8affected
  • 6.4.4affected

References