CVE-2026-41848
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.
How to fix
- vmware spring_framework5.3.49, 6.1.28, 6.2.18.1, 7.0.7.1 or later
- org.springframework:spring-core7.0.8, 6.2.19 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| vmware spring_framework | 5.3.0 ≤ v < 5.3.49, 6.1.0 ≤ v < 6.1.28, 6.2.0 ≤ v < 6.2.18.1, 7.0.0 ≤ v < 7.0.7.1 | 5.3.49, 6.1.28, 6.2.18.1, 7.0.7.1 |
| org.springframework:spring-coreMaven | 7.0.0 ≤ v < 7.0.8, 6.2.0 ≤ v < 6.2.19, 6.1.0 ≤ v ≤ 6.1.21, v ≤ 5.3.39 | 7.0.8, 6.2.19 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.