Inefficient regular expression complexity in Spring Framework - CVE-2026-59429

 

Inefficient regular expression complexity in Spring Framework - CVE-2026-59429

Published: November 20, 2026


Vulnerability identifier: #VU168647
CSH Severity: Low
CVSS v4: 6.3 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-59429
CWE-ID: CWE-1333
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to cause a denial of service by consuming excessive CPU time during request matching.

The vulnerability exists due to excessive regular expression backtracking in Spring Framework's PathPattern matcher when it evaluates a {name:regex} path variable whose expression is prone to excessive backtracking. A remote attacker can send a request path that triggers this behavior to cause a denial of service.

The issue applies to request mappings in Spring MVC and Spring WebFlux applications.


Affected software

Spring Framework

How to mitigate CVE-2026-59429

Install security update from vendor's website.

Spring Framework - addressed in versions 5.2.27, 5.3.51, 6.0.33, 6.1.30, 6.2.21, 7.0.10.1, 7.0.11

External References

Related Security Bulletins