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.
Advisories
Source ID Title
Github GHSA Github GHSA GHSA-vqxh-445g-37fc Spring Security has a broken timing attack mitigation implemented in DaoAuthenticationProvide
Fixes

Solution

Upgrade to a fixed version: 5.7.17, 5.8.19, 6.0.17, 6.1.15, 6.2.11, 6.3.9, or 6.4.5 (depending on your release line).


Workaround

No workaround given by the vendor.

References
History

Thu, 22 Jan 2026 23:00:00 +0000

Type Values Removed Values Added
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.
Title Spring Security - BCrypt Password Encoder maximum password length breaks timing attack mitigation
Weaknesses CWE-208
References
Metrics cvssV3_1

{'score': 5.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: vmware

Published:

Updated: 2026-01-22T21:27:13.558Z

Reserved: 2025-01-02T04:29:59.191Z

Link: CVE-2025-22234

cve-icon Vulnrichment

Updated: 2026-01-22T21:27:08.374Z

cve-icon NVD

Status : Received

Published: 2026-01-22T21:15:49.420

Modified: 2026-01-22T21:15:49.420

Link: CVE-2025-22234

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.

Weaknesses