CVE-2026-59276

Timing Attack via Non-Constant-Time Comparison of Sensitive Values

State
Published
Severity
5.9 Medium
Published
Aug 27, 2026
Updated
Aug 28, 2026
Reserved
Jul 4, 2026

Read the record on cve.org

Description

Several components in Spring Security compare security-sensitive values using standard string equality (String.equals()) rather than a constant-time comparison. Because String.equals() returns as soon as it finds a differing character, the time taken to reject an incorrect value is proportional to the number of leading characters that match the expected value. Spring Security 7.1.0 Spring Security 7.0.0 - 7.0.6 Spring Security 6.5.0 - 6.5.11 Spring Security 6.4.0 - 6.4.18 Spring Security 5.8.0 - 5.8.27 Spring Security 5.7.0 - 5.7.25

Scores

CVSSScoreVectorSource
3.15.9 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:Nvmware

Weaknesses

  • CWE-208 Observable Timing Discrepancy

Affected Products

ProductVersions
Spring SecuritySpring
  • 7.1.0Affected
  • 7.0.0 through 7.0.6Affected
  • 6.5.0 through 6.5.11Affected
  • 6.4.0 through 6.4.18Affected
  • 5.8.0 through 5.8.27Affected
  • 5.7.0 through 5.7.25Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.