CVE-2025-22234 json
Spring Security - BCrypt Password Encoder maximum password length breaks timing attack mitigation
published 2026-01-22 9 mo ago modified 2026-06-17 4 mo ago also GHSA-vqxh-445g-37fc , EUVD-2026-3787
- cvss
- 5.3
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.4%
- EPSS 0.4% chance of exploitation in 30 days, percentile 33%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- maven org.springframework.security:spring-security-core 6.3.9, 6.4.5
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2025-22234 updated cvss 5.3
org.springframework.security/spring-security-core: Spring Security - BCrypt Password Encoder maximum password length breaks timing attack mitigation
-
Red Hat OpenShift Developer Tools and Services ocp-tools-4/jenkins-rhel8, ocp-tools-4/jenkins-rhel9 Red Hat build of Apache Camel - HawtIO 4 spring-security-core Red Hat build of Apache Camel for Spring Boot 4 spring-security-core Red Hat Data Grid 8 spring-security-core Red Hat Fuse 7 spring-security-core Red Hat JBoss Enterprise Application Platform 7 spring-security-coreaffected: workaround, no fix available “Fix deferred”
+5 more productsfewer
Red Hat JBoss Enterprise Application Platform 8 spring-security-core Red Hat JBoss Enterprise Application Platform Expansion Pack spring-security-core Red Hat OpenShift Dev Spaces devspaces/openvsx-rhel9, devspaces/pluginregistry-rhel9 Red Hat Process Automation 7 spring-security-core Red Hat Single Sign-On 7 spring-security-core
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 9 mo ago
Exploit prediction
0.39% chance of exploitation in the next 30 days, higher than 33% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
| GitHub | 3.1 | 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | org.springframework.security:spring-security-core | >=6.3.8, <6.3.9 >=6.4.4, <6.4.5 |
6.3.9 6.4.5 |
Affected products
- Spring Spring Security
Classification
- Weakness
-
- CWE-208 Observable Timing Discrepancy
- Technology feeds
References
-
spring.io
/security/cve-2025-22234/
vendor-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2025-22234
advisory
-
github.com
/spring-projects/spring-security
package
-
spring.io
/security/cve-2025-22234
web
Sources
- CVE List CVE-2025-22234
- GitHub Advisory GHSA-vqxh-445g-37fc
- NVD CVE-2025-22234
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.