CVE-2025-22234
Spring Security - BCrypt Password Encoder maximum password length breaks timing attack mitigation
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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- Low
- Integrity
- None
- Availability
- None
Exploit likelihood
What each source reports
CVE List Score used
5.3
Spring Security - BCrypt Password Encoder maximum password length breaks timing attack mitigation
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.
- Record
CVE-2025-22234- CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N - Weakness
- CWE-208
- Updated
- 2026-11-02
EUVDEUVD-2026-3787
5.3
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.
- Record
EUVD-2026-3787- CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-vqxh-445g-37fc
5.3
Spring Security has a broken timing attack mitigation implemented in DaoAuthenticationProvide
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.
- Record
GHSA-vqxh-445g-37fc- CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N - Weakness
- CWE-208
- Updated
- 2026-11-02
NVD
5.3
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.
- Record
CVE-2025-22234- CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N - Weakness
- CWE-208
- Updated
- 2026-11-02
OSVGHSA-vqxh-445g-37fc
5.3
Spring Security has a broken timing attack mitigation implemented in DaoAuthenticationProvide
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.
- Record
GHSA-vqxh-445g-37fc- CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N - Weakness
- CWE-208
- Updated
- 2026-11-02
OSVCLSA-2025-1754525015 No score
TuxCare security update for org.springframework.security (1 CVE)
TuxCare rebuilt 2 org.springframework.security packages to address 1 CVE. Fixed in 5.8.16.tuxcare.3.
- Record
CLSA-2025-1754525015- Updated
- 2026-11-02
Show 7 moreShow less
OSVCLSA-2026-1774570925 No score
TuxCare security update for org.springframework.security (2 CVEs)
TuxCare rebuilt 2 org.springframework.security packages to address 2 CVEs. Fixed in 5.7.12-tuxcare.2.
- Record
CLSA-2026-1774570925- Updated
- 2026-11-02
OSVCLSA-2026-1774570926 No score
TuxCare security update for org.springframework.security (2 CVEs)
TuxCare rebuilt 2 org.springframework.security packages to address 2 CVEs. Fixed in 6.1.6-tuxcare.3.
- Record
CLSA-2026-1774570926- Updated
- 2026-11-02
OSVCLSA-2026-1774570928 No score
TuxCare security update for org.springframework.security (5 CVEs)
TuxCare rebuilt 3 org.springframework.security packages to address 5 CVEs. Fixed in 5.7.11-tuxcare.1.
- Record
CLSA-2026-1774570928- Updated
- 2026-11-02
OSVCLSA-2026-1775435426 No score
TuxCare security update for org.springframework.security (6 CVEs)
TuxCare rebuilt 3 org.springframework.security packages to address 6 CVEs. Fixed in 6.2.2-tuxcare.1.
- Record
CLSA-2026-1775435426- Updated
- 2026-11-02
OSVCLSA-2026-1775694712 No score
TuxCare security update for org.springframework.security (5 CVEs)
TuxCare rebuilt 4 org.springframework.security packages to address 5 CVEs. Fixed in 6.4.3-tuxcare.1.
- Record
CLSA-2026-1775694712- Updated
- 2026-11-02
OSVCLSA-2026-1776126833 No score
TuxCare security update for org.springframework.security (5 CVEs)
TuxCare rebuilt 3 org.springframework.security packages to address 5 CVEs. Fixed in 5.6.10-tuxcare.1.
- Record
CLSA-2026-1776126833- Updated
- 2026-11-02
OSVCLSA-2026-1789583743 No score
TuxCare security update for org.springframework.security (3 CVEs)
TuxCare rebuilt 3 org.springframework.security packages to address 3 CVEs. Fixed in 4.2.20.RELEASE-tuxcare.7.
- Record
CLSA-2026-1789583743- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
org.springframework.security:spring-security-coreMaven |
6.3.8 to 6.3.8 | 6.3.9 |
org.springframework.security:spring-security-coreMaven |
6.4.4 to 6.4.4 | 6.4.5 |
org.springframework.security:spring-security-coreTuxCare:Maven |
5.8.16 up to 5.8.16.tuxcare.3, plus listed versions 5.8.16.tuxcare5.8.16.tuxcare.15.8.16.tuxcare.2 |
5.8.16.tuxcare.3 |
org.springframework.security:spring-security-cryptoTuxCare:Maven |
5.8.16 up to 5.8.16.tuxcare.3, plus listed versions 5.8.16.tuxcare5.8.16.tuxcare.15.8.16.tuxcare.2 |
5.8.16.tuxcare.3 |
org.springframework.security:spring-security-coreTuxCare:Maven From an advisory covering 2 CVEs |
5.7.12 up to 5.7.12-tuxcare.2, plus listed versions 5.7.12-tuxcare.1 |
5.7.12-tuxcare.2 |
org.springframework.security:spring-security-cryptoTuxCare:Maven From an advisory covering 2 CVEs |
5.7.12 up to 5.7.12-tuxcare.2, plus listed versions 5.7.12-tuxcare.1 |
5.7.12-tuxcare.2 |
org.springframework.security:spring-security-coreTuxCare:Maven From an advisory covering 2 CVEs |
6.1.6 up to 6.1.6-tuxcare.3, plus listed versions 6.1.6-tuxcare.16.1.6-tuxcare.2 |
6.1.6-tuxcare.3 |
org.springframework.security:spring-security-cryptoTuxCare:Maven From an advisory covering 2 CVEs |
6.1.6 up to 6.1.6-tuxcare.3, plus listed versions 6.1.6-tuxcare.16.1.6-tuxcare.2 |
6.1.6-tuxcare.3 |
org.springframework.security:spring-security-coreTuxCare:Maven From an advisory covering 5 CVEs |
5.7.11 up to 5.7.11-tuxcare.1, plus listed versions 5.7.11.tuxcare |
5.7.11-tuxcare.1 |
org.springframework.security:spring-security-cryptoTuxCare:Maven From an advisory covering 5 CVEs |
5.7.11 up to 5.7.11-tuxcare.1, plus listed versions 5.7.11.tuxcare |
5.7.11-tuxcare.1 |
Show 16 moreShow less
| Package | Affected | Fixed |
|---|---|---|
org.springframework.security:spring-security-webTuxCare:Maven From an advisory covering 5 CVEs |
5.7.11 up to 5.7.11-tuxcare.1, plus listed versions 5.7.11.tuxcare |
5.7.11-tuxcare.1 |
org.springframework.security:spring-security-coreTuxCare:Maven From an advisory covering 6 CVEs |
6.2.2 up to 6.2.2-tuxcare.1 | 6.2.2-tuxcare.1 |
org.springframework.security:spring-security-cryptoTuxCare:Maven From an advisory covering 6 CVEs |
6.2.2 up to 6.2.2-tuxcare.1 | 6.2.2-tuxcare.1 |
org.springframework.security:spring-security-webTuxCare:Maven From an advisory covering 6 CVEs |
6.2.2 up to 6.2.2-tuxcare.1 | 6.2.2-tuxcare.1 |
org.springframework.security:spring-security-configTuxCare:Maven From an advisory covering 5 CVEs |
6.4.3 up to 6.4.3-tuxcare.1 | 6.4.3-tuxcare.1 |
org.springframework.security:spring-security-coreTuxCare:Maven From an advisory covering 5 CVEs |
6.4.3 up to 6.4.3-tuxcare.1 | 6.4.3-tuxcare.1 |
org.springframework.security:spring-security-cryptoTuxCare:Maven From an advisory covering 5 CVEs |
6.4.3 up to 6.4.3-tuxcare.1 | 6.4.3-tuxcare.1 |
org.springframework.security:spring-security-webTuxCare:Maven From an advisory covering 5 CVEs |
6.4.3 up to 6.4.3-tuxcare.1 | 6.4.3-tuxcare.1 |
org.springframework.security:spring-security-coreTuxCare:Maven From an advisory covering 5 CVEs |
5.6.10 up to 5.6.10-tuxcare.1 | 5.6.10-tuxcare.1 |
org.springframework.security:spring-security-cryptoTuxCare:Maven From an advisory covering 5 CVEs |
5.6.10 up to 5.6.10-tuxcare.1 | 5.6.10-tuxcare.1 |
org.springframework.security:spring-security-webTuxCare:Maven From an advisory covering 5 CVEs |
5.6.10 up to 5.6.10-tuxcare.1 | 5.6.10-tuxcare.1 |
org.springframework.security:spring-security-coreTuxCare:Maven From an advisory covering 3 CVEs |
4.2.20.RELEASE up to 4.2.20.RELEASE-tuxcare.7, plus listed versions 4.2.20.RELEASE-tuxcare.14.2.20.RELEASE-tuxcare.24.2.20.RELEASE-tuxcare.34.2.20.RELEASE-tuxcare.44.2.20.RELEASE-tuxcare.54.2.20.RELEASE-tuxcare.6 |
4.2.20.RELEASE-tuxcare.7 |
org.springframework.security:spring-security-cryptoTuxCare:Maven From an advisory covering 3 CVEs |
4.2.20.RELEASE up to 4.2.20.RELEASE-tuxcare.7, plus listed versions 4.2.20.RELEASE-tuxcare.14.2.20.RELEASE-tuxcare.24.2.20.RELEASE-tuxcare.34.2.20.RELEASE-tuxcare.44.2.20.RELEASE-tuxcare.54.2.20.RELEASE-tuxcare.6 |
4.2.20.RELEASE-tuxcare.7 |
org.springframework.security:spring-security-webTuxCare:Maven From an advisory covering 3 CVEs |
4.2.20.RELEASE up to 4.2.20.RELEASE-tuxcare.7, plus listed versions 4.2.20.RELEASE-tuxcare.14.2.20.RELEASE-tuxcare.24.2.20.RELEASE-tuxcare.34.2.20.RELEASE-tuxcare.44.2.20.RELEASE-tuxcare.54.2.20.RELEASE-tuxcare.6 |
4.2.20.RELEASE-tuxcare.7 |
org.springframework.security:spring-security-coreMaven |
6.3.8 up to 6.3.9 | 6.3.9 |
org.springframework.security:spring-security-coreMaven |
6.4.4 up to 6.4.5 | 6.4.5 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2025-22234 is a medium vulnerability (CVSS 5.3) in Spring Security, published January 22, 2026. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.39%, the 33rd percentile. Fixed in org.springframework.security:spring-security-core 6.3.9.