LOW 3.7

CVE-2026-41848

Spring Framework Denial of Service via AntPathMatcher

Description

Applications may be vulnerable to a Regular Expression Denial of Service (ReDoS) attack if an attacker is able to provide a pattern which is then directly or indirectly supplied to one of the following methods in AntPathMatcher: match(String pattern, String path), matchStart(String pattern, String path), extractUriTemplateVariables(String pattern, String path).

Affected versions: Spring Framework 7.0.0 through 7.0.7; 6.2.0 through 6.2.18; 6.1.0 through 6.1.27; 5.3.0 through 5.3.48.

Affected Maven artifacts (1)

ArtifactAffected versionsFixed in
org.springframework » spring-core
<= 5.3.39>= 6.1.0, <= 6.1.21>= 6.2.0, < 6.2.19>= 7.0.0, < 7.0.8
6.2.19, 7.0.8

Blast radius

1affected artifacts
484affected versions
111,524dependent artifacts (est.)
4,780,556dependent versions

78% of the dependent artifacts (86,994) still pull an affected version in their latest release.

DepthDependent versions
Direct
347,251
2 hops
1,676,514
3 hops
1,715,766
4 hops
701,509
5 hops
243,421
6 hops
96,095

Most used dependents

Computed from the dependency graph of build 20261124.0621 (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.