WaratekVRT Sign in

CVE-2025-22228

Severity7.4 High CVSS 3.1
Fixed in6.3.8, 6.4.4, 6.2.10, 6.1.14, 6.0.16, 5.8.18, 5.7.16
WeaknessImproper authentication (CWE-287)
Published20 Mar 2025
Updated17 Jun 2026

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.

CWE-521

Exploitation status

No public exploit

No exploit has been reported in the sources we check. Published a year ago.

  • CISA KEV not listed
  • VulnCheck KEV not listed
  • CISA Vulnrichment exploitation: none
  • Indexed PoC none indexed
  • EPSS 0.61% chance in 30 days

Waratek protection

No exploit published

Within Waratek scope. In the sources we check, nobody has published exploit code for this CVE or reported it being exploited.

A public code fix exists: spring-projects/spring-security 46f0dc6.

  • Protection none
  • Action unverified
  • Review automated Upstream data
  • Record active
Decided by Exploit code for this candidate, published in a reviewed catalogue or a GitHub repository with 5 or more stars, or in use per CISA or VulnCheck; not only a CISA verdict, a forecast, or nothing at all
Finding This CVE is not listed in CISA KEV or VulnCheck KEV, CISA Vulnrichment records no active exploitation, no reviewed exploit catalogue carries an entry for it, and no GitHub PoC repository for it has 5 or more stars. Nobody has published exploit code worth tracing, so it is not a candidate for a rule ahead of the ones where somebody has; an upstream fix path does exist, so the remediation half of the candidacy still holds. This is a statement about what has been published, not about whether the defect is reachable or serious.

Affected software and releases

Oracle advisories

AdvisoryTypeQuarterProducts Oracle names in its risk matrix
Oracle Critical Patch Update January 2026 ↗ CPU 2026-Q1 Oracle Financial Services Applications / Common Core (Spring Security) (14.5.0.14.0)

Oracle components and versions

FamilyComponentVersions, as Oracle lists themRead as
Oracle Financial Services Applications Common Core (Spring Security) 14.5.0.14.0 14.5.0.14.0

Maven packages

Affected and fixed versions, from OSV.dev
PackageIntroducedFixedLast affected
org.springframework.security:spring-security-crypto 6.3.0 6.3.8 unbounded
org.springframework.security:spring-security-crypto 6.4.0 6.4.4 unbounded
org.springframework.security:spring-security-crypto 6.2.0 6.2.10 unbounded
org.springframework.security:spring-security-crypto 6.1.0 6.1.14 unbounded
org.springframework.security:spring-security-crypto 6.0.0 6.0.16 unbounded
org.springframework.security:spring-security-crypto 5.8.0 5.8.18 unbounded
org.springframework.security:spring-security-crypto 0 5.7.16 unbounded

Products and versions

1 product, 7 version entries
SourceVendorProductSchemeAffected versions
osv org.springframework.security spring-security-crypto generic < 5.7.16 · ≥ 5.8.0 and < 5.8.18 · ≥ 6.0.0 and < 6.0.16 · ≥ 6.1.0 and < 6.1.14 · ≥ 6.2.0 and < 6.2.10 · ≥ 6.3.0 and < 6.3.8 · ≥ 6.4.0 and < 6.4.4

References

URLTags
https://github.com/spring-projects/spring-security/commit/46f0dc6dfc8402cd556c598fdf2d31f9d46cdbf3 WEB
https://github.com/spring-projects/spring-security PACKAGE
https://security.netapp.com/advisory/ntap-20250425-0009 WEB
https://spring.io/security/cve-2025-22228 WEB
https://security.netapp.com/advisory/ntap-20250425-0009/

Timeline

Published2025-03-20By the CVE Program.
NVD record modified2026-06-17NVD's own last-modified date for this record.