CVE-2025-22228

Updated on 20 Mar 2025

Severity

7.4 High severity

Details

CVSS score
7.4
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N

Overview

About vulnerability

BCryptPasswordEncoder.matches(CharSequence,String) will incorrectly return true for passwords larger than 72 characters as long as the first 72 characters are the same.

Details

Affected product:
Spring , cxf , logging-log4j2
Affected packages:
spring-ws-test @ 3.1.8 (+957 more)
BCryptPasswordEncoder.matches(CharSequence,String) will incorrectly return true for passwords larger than 72 characters as long as the first 72 characters are the same.

Fixes