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)
| Artifact | Affected versions | Fixed 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
78% of the dependent artifacts (86,994) still pull an affected version in their latest release.
| Depth | Dependent 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
- org.springframework.boot » spring-boot-starter-test20,993 usages
- org.springframework.boot » spring-boot-starter-web19,081 usages
- org.springframework » spring-context18,670 usages
- org.springframework.boot » spring-boot-configuration-processor15,807 usages
- org.springframework.boot » spring-boot-autoconfigure15,709 usages
- org.springframework.boot » spring-boot-starter12,901 usages
- org.springframework » spring-test12,234 usages
- org.springframework » spring-web12,086 usages
- org.springframework » spring-beans8,721 usages
- org.springframework.boot » spring-boot-maven-plugin8,665 usages
- org.springframework » spring-webmvc7,538 usages
- org.springframework.boot » spring-boot-starter-actuator6,564 usages
- org.springframework » spring-jdbc5,611 usages
- org.springframework.boot » spring-boot5,107 usages
- org.springframework » spring-tx5,095 usages
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.
References
- Advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2026-41848
- Webhttps://github.com/spring-projects/spring-framework/commit/12b44f2545a1bec6150c7a05e66092c732597a94
- Packagehttps://github.com/spring-projects/spring-framework
- Webhttps://github.com/spring-projects/spring-framework/releases/tag/v6.2.19
- Webhttps://github.com/spring-projects/spring-framework/releases/tag/v7.0.8
- Webhttps://spring.io/security/cve-2026-41848
