CVE-2025-22228: Spring Security BCryptPasswordEncoder does not enforce maximum password length
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Spring | Spring Security | affected |
|
No data.
| Package | CPE | Advisory | Released Date |
|---|---|---|---|
| OCP-Tools-4.12-RHEL-8 | |||
| jenkins-0:2.504.2.1750932984-3.el8 | cpe:/a:redhat:ocp_tools:4.12::el8 | RHSA-2025:10118 | 2025-07-01T00:00:00Z |
| jenkins-2-plugins-0:4.12.1750933270-1.el8 | cpe:/a:redhat:ocp_tools:4.12::el8 | RHSA-2025:10118 | 2025-07-01T00:00:00Z |
| OCP-Tools-4.13-RHEL-8 | |||
| jenkins-0:2.504.2.1750916374-3.el8 | cpe:/a:redhat:ocp_tools:4.13::el8 | RHSA-2025:10119 | 2025-07-01T00:00:00Z |
| jenkins-2-plugins-0:4.13.1750916671-1.el8 | cpe:/a:redhat:ocp_tools:4.13::el8 | RHSA-2025:10119 | 2025-07-01T00:00:00Z |
| OCP-Tools-4.14-RHEL-8 | |||
| jenkins-0:2.504.2.1750903189-3.el8 | cpe:/a:redhat:ocp_tools:4.14::el8 | RHSA-2025:10120 | 2025-07-01T00:00:00Z |
| jenkins-2-plugins-0:4.14.1750903529-1.el8 | cpe:/a:redhat:ocp_tools:4.14::el8 | RHSA-2025:10120 | 2025-07-01T00:00:00Z |
| OCP-Tools-4.15-RHEL-8 | |||
| jenkins-0:2.504.2.1750856366-3.el8 | cpe:/a:redhat:ocp_tools:4.15::el8 | RHSA-2025:10104 | 2025-07-01T00:00:00Z |
| jenkins-2-plugins-0:4.15.1750856638-1.el8 | cpe:/a:redhat:ocp_tools:4.15::el8 | RHSA-2025:10104 | 2025-07-01T00:00:00Z |
| OCP-Tools-4.16-RHEL-9 | |||
| jenkins-0:2.504.2.1750857144-3.el9 | cpe:/a:redhat:ocp_tools:4.16::el9 | RHSA-2025:10098 | 2025-07-01T00:00:00Z |
| jenkins-2-plugins-0:4.16.1750857315-1.el9 | cpe:/a:redhat:ocp_tools:4.16::el9 | RHSA-2025:10098 | 2025-07-01T00:00:00Z |
| OCP-Tools-4.17-RHEL-9 | |||
| jenkins-0:2.504.2.1750851690-3.el9 | cpe:/a:redhat:ocp_tools:4.17::el9 | RHSA-2025:10097 | 2025-07-01T00:00:00Z |
| jenkins-2-plugins-0:4.17.1750851950-1.el9 | cpe:/a:redhat:ocp_tools:4.17::el9 | RHSA-2025:10097 | 2025-07-01T00:00:00Z |
| OCP-Tools-4.18-RHEL-9 | |||
| jenkins-0:2.504.2.1750846524-3.el9 | cpe:/a:redhat:ocp_tools:4.18::el9 | RHSA-2025:10092 | 2025-07-01T00:00:00Z |
| jenkins-2-plugins-0:4.18.1750846854-1.el9 | cpe:/a:redhat:ocp_tools:4.18::el9 | RHSA-2025:10092 | 2025-07-01T00:00:00Z |
| Red Hat build of Apache Camel 4.8.5 for Spring Boot | |||
| spring-security-core | cpe:/a:redhat:apache_camel_spring_boot:4.8.5 | RHSA-2025:3543 | 2025-04-02T00:00:00Z |
No data available yet.
| Source | ID | Title |
|---|---|---|
EUVD |
EUVD-2025-6744 | BCryptPasswordEncoder.matches(CharSequence,String) will incorrectly return true for passwords larger than 72 characters as long as the first 72 characters are the same. |
Github GHSA |
GHSA-mg83-c7gq-rv5c | Spring Security Does Not Enforce Password Length |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.610% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Redhat ocp Tools
|
|
| CPEs | cpe:/a:redhat:ocp_tools:4.12::el8 cpe:/a:redhat:ocp_tools:4.13::el8 cpe:/a:redhat:ocp_tools:4.14::el8 cpe:/a:redhat:ocp_tools:4.15::el8 cpe:/a:redhat:ocp_tools:4.16::el9 cpe:/a:redhat:ocp_tools:4.17::el9 cpe:/a:redhat:ocp_tools:4.18::el9 |
|
| Vendors & Products |
Redhat ocp Tools
|
| Type | Values Removed | Values Added |
|---|---|---|
| References |
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Redhat
Redhat apache Camel Spring Boot |
|
| CPEs | cpe:/a:redhat:apache_camel_spring_boot:4.8.5 | |
| Vendors & Products |
Redhat
Redhat apache Camel Spring Boot |
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| Weaknesses | CWE-863 | |
| References |
| |
| Metrics |
threat_severity
|
threat_severity
|
| Type | Values Removed | Values Added |
|---|---|---|
| Weaknesses | CWE-287 | |
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| Description | BCryptPasswordEncoder.matches(CharSequence,String) will incorrectly return true for passwords larger than 72 characters as long as the first 72 characters are the same. | |
| Title | CVE-2025-22228: Spring Security BCryptPasswordEncoder does not enforce maximum password length | |
| References |
| |
| Metrics |
cvssV3_1
|