# CVE-2025-22234: Spring Security - BCrypt Password Encoder maximum password length breaks timing attack mitigation

- Priority: **Routine**
- Reason: Not severe (CVSS 5.3, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-01-22 · Modified: 2026-01-22
- Aliases: GHSA-vqxh-445g-37fc
- Record: https://cvemate.com/vulnerability/CVE-2025-22234 · JSON: https://cvemate.com/vulnerability/CVE-2025-22234/json

## Description

```text
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.
```

## Signals

- CVSS: 5.3 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
- EPSS: 0.39%, percentile 35.283%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- org.springframework.security spring-security-core (Maven): ≥ 6.3.8, \< 6.3.9 \| ≥ 6.4.4, \< 6.4.5
- spring spring security: 5.7.16 \| 5.8.18 \| 6.0.16 \| 6.1.14 \| 6.2.10 \| 6.3.8 \| 6.4.4

## References

- <https://spring.io/security/cve-2025-22234/>
- <https://nvd.nist.gov/vuln/detail/CVE-2025-22234>
- <https://github.com/spring-projects/spring-security>
- <https://spring.io/security/cve-2025-22234>

---

Data as of 2026-12-05T07:37:48.908Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
