CVE-2025-22234
published medium CVSS 3.1 · 5.3Spring Security - BCrypt Password Encoder maximum password length breaks timing attack mitigation
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Spring | — | Spring Security5.7.16 · 5.8.18 · 6.0.16 · 6.1.14 · 6.2.10 · 6.3.8 · 6.4.4 · Other versions: affected | Affected | Not stated | vmware |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.3 / 10
- Severity
- medium
- Provider
- vmware · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Spring | Spring Security | 5.7.16 (affected · semver)5.8.18 (affected · semver)6.0.16 (affected · semver)6.1.14 (affected · semver)6.2.10 (affected · semver)6.3.8 (affected · semver)6.4.4 (affected · semver)Default: affected | vmware · cna |
Weaknesses
1- CWE-208 CWE-208 Timing Descrepency
References
1- Spring Security Advisory: CVE-2025-22234 https://spring.io/security/cve-2025-22234/
Provider assertions
2vmware · cna
Spring Security - BCrypt Password Encoder maximum password length breaks timing attack mitigation
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 0bacb716d51936d57796cd62516718593fe1aea4b55d7cab64227d4e86777d92
- Ingested
- 23 Sep 2026, 08:40:04 UTC
- Source record
- Official CVE record