CVE-2025-22228
HIGHCVSS 7.4/10EPSS 0.57%
Last modified
CVE-2025-22228 is a high-severity vulnerability rated 7.4/10 on the CVSS scale. BCryptPasswordEncoder.matches(CharSequence,String) will incorrectly return true for passwords larger than 72 characters as long as the first 72 characters are the same.. EPSS estimates a 0.57% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
Weakness Enumeration
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2025-22228?
BCryptPasswordEncoder.matches(CharSequence,String) will incorrectly return true for passwords larger than 72 characters as long as the first 72 characters are the same.
How severe is CVE-2025-22228?
CVE-2025-22228 has a CVSS score of 7.4/10 (HIGH severity). The EPSS model estimates a 0.57% probability of exploitation in the next 30 days.
How do I fix CVE-2025-22228?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2025
- CVE-2025-22222VMware Aria Operations contains an information disclosure vu…6.5
- CVE-2025-22223Spring Security 6.4.0 - 6.4.3 may not correctly locate metho…5.3
- CVE-2025-22224VMware ESXi, and Workstation contain a TOCTOU (Time-of-Check…8.2
- CVE-2025-22225VMware ESXi contains an arbitrary write vulnerability. A mal…8.2
- CVE-2025-22226VMware ESXi, Workstation, and Fusion contain an information …6
- CVE-2025-22227In some specific scenarios with chained redirects, Reactor N…6.1
- CVE-2025-2223CWE-20: Improper Input Validation vulnerability exists that …8.4
- CVE-2025-22230VMware Tools for Windows contains an authentication bypass v…7.8
- CVE-2025-22231VMware Aria Operations contains a local privilege escalation…7.8
- CVE-2025-22232Spring Cloud Config Server may not use Vault token sent by c…5.3
- CVE-2025-22233CVE-2024-38820 ensured Locale-independent, lowercase convers…3.1
- CVE-2025-22234The fix applied in CVE-2025-22228 inadvertently broke the ti…5.3
Are you affected by CVE-2025-22228?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
