LOW

CVE-2026-59429

Spring Framework Denial of Service via PathPattern

Description

Applications may be vulnerable to a Regular Expression Denial of Service (ReDoS) attack if they use PathPattern with a pattern that contains a {name:regex} variable, and that regular expression is prone to excessive backtracking.

This applies to request mappings in Spring MVC and Spring WebFlux applications, as well as PathPatternParser being used directly by applications.

When those conditions are met, an attacker can send crafted request paths that consume excessive CPU time during request matching.

Affected Maven artifacts (1)

ArtifactAffected versionsFixed in
org.springframework » spring-web
<= 5.2.26.RELEASE>= 5.3.0, <= 5.3.50>= 6.0.0, <= 6.0.32>= 6.1.0, <= 6.1.29>= 6.2.0, <= 6.2.20>= 7.0.0, < 7.0.11
7.0.11

Blast radius

1affected artifacts
496affected versions
62,815dependent artifacts (est.)
2,872,657dependent versions

81% of the dependent artifacts (51,034) still pull an affected version in their latest release.

DepthDependent versions
Direct
303,092
2 hops
854,466
3 hops
958,289
4 hops
496,405
5 hops
184,533
6 hops
75,872

Most used dependents

Computed from the dependency graph of build 20261125.0317 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.