MTIby Motiontic
Colour theme
VulnerabilityCVE-2025-22228GHSA-mg83-c7gq-rv5cWID-SEC-W-2025-0602:CVE-2025-22228WID-SEC-W-2025-1344:CVE-2025-22228WID-SEC-W-2025-1439:CVE-2025-22228WID-SEC-W-2025-1989:CVE-2025-22228WID-SEC-W-2026-0163:CVE-2025-22228WID-SEC-W-2026-0351:CVE-2025-22228WID-SEC-W-2026-1955:CVE-2025-22228

CVE-2025-22228: Spring Security BCryptPasswordEncoder does not enforce maximum password length

Not on CISA KEV
  • Overview

Summary

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

See the full record, free

  • Every source, score and reference in one place
  • Timeline and related records
  • Watch an entry and get an alert when it changes

Sources and credits

  • BSI CERT-Bund Source: BSI CERT-Bund
  • CISA Vulnrichment Source: CISA Vulnrichment
  • CVE List Source: CVE Program (cve.org)
  • GitHub Advisory DB Source: GitHub Advisory Database (CC BY 4.0)