Skip to main content
CVE-2025-22234VulnerabilityPublished

CVE-2025-22234: Spring Security · Timing Descrepency

Affects Spring SecuritySource CVE Database V5

0

Mentioned vulnerabilities

Not known to be exploited · CVSS 5.3 Medium.

Data as of 25 Oct 2026, 19:02 UTC

CVSS 3.1 base score
5.3Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.3% chance of exploitation in 30 days – higher than 32% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 22 Jan 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-25.

What to do

Affected software

ProductAffectedFixed in
SpringSpring SecurityAffected
  • =5.7.16
  • =5.8.18
  • =6.0.16
  • =6.1.14
  • =6.2.10
  • =6.3.8
  • =6.4.4
Fixed in–
Mavenorg.springframework.security/spring-security-corepkg:maven/org.springframework.security/spring-security-coreOther threatsAffected
  • =5.7.16
  • =5.8.18
  • =6.0.16
  • =6.1.14
  • =6.2.10
  • =6.3.8
  • =6.4.4
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

European organizations should immediately identify and inventory all applications using affected Spring Security versions (5.7.16, 5.8.18, 6.0.16 through 6.4.4). Until an official patch is released, implement compensating controls such as introducing artificial delays or uniform response times in authentication workflows to obscure timing differences. Employ Web Application Firewalls (WAFs) with rate limiting and anomaly detection to detect and block suspicious probing activity targeting login endpoints. Review and enhance logging and monitoring to detect unusual authentication patterns indicative of enumeration attempts. Encourage use of multi-factor authentication (MFA) to reduce the impact of username enumeration. Educate development teams on secure coding practices to avoid timing side channels in authentication logic. Stay updated with Spring Security advisories for forthcoming patches and apply them promptly once available. Consider deploying application-layer defenses like CAPTCHA challenges after multiple failed login attempts to hinder automated attacks exploiting this vulnerability.

Description

The fix applied in CVE-2025-22228 inadvertently broke the timing attack mitigation implemented in DaoAuthenticationProvider. This can allow attackers to infer valid usernames or other authentication behavior via response-time differences under certain configurations.

References

Community reviews

Loading reviews…