Skip to content
OpenAdvisories

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.

Affected products

VendorProductAffectedFixed
Spring Spring Security 5.7.x – < 5.7.16, 5.8.x – < 5.8.18, 6.0.x – < 6.0.16, 6.1.x – < 6.1.14, 6.2.x – < 6.2.10, 6.3.x – < 6.3.8, 6.4.x – < 6.4.4 5.7.16

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Red Hat Ocp Tools 4 jenkins 2.504.2.1750846524-3.el9 RHSA-2025:10120, RHSA-2025:10119, RHSA-2025:10118
Red Hat Ocp Tools 4 jenkins-2-plugins 4.12.1750933270-1.el8 RHSA-2025:10120, RHSA-2025:10119, RHSA-2025:10118

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling keycloak-config-cli +2 6.4.0-r3 —
Wolfi rolling thingsboard +4 3.9.1-r2 —

Affected packages

Advisories 16

References