Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconIdentify endpoint accepting user-supplied pattern
-
DeliveryCraft ReDoS pattern with catastrophic backtracking
-
ExploitSubmit pattern via HTTP request
-
InstallAntPathMatcher compiles to regex
-
C2CPU pegged on matching thread
-
ExecuteRepeat concurrently to exhaust thread pool
-
ImpactApplication unavailable
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V2 - Validation and Business Logic Regex complexity limits
MITRE ATT&CK
1 technique across 1 tactic: Impact The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | The application must expose attacker-controllable input - directly or indirectly - to the pattern parameter of AntPathMatcher.match(), matchStart(), or extractUriTemplateVariables(); the path parameter being attacker-controlled is not sufficient. This is a non-default deployment pattern: typical Spring MVC/WebFlux applications hardcode patterns in @RequestMapping annotations or security config and are NOT exploitable. Limiting factors include the need for the application to accept pattern strings from HTTP input (admin consoles, tenant configuration APIs, dynamic ACL builders), the absence of input length validation, and the absence of per-request execution timeouts in the servlet container. |
| Impact | Signals diverge: CVSS 3.1 base score is 7.5 (High) reflecting network-reachable, no-auth, no-UI availability impact (AV:N/AC:L/PR:N/UI:N/A:H), but EPSS is 0.01% (2nd percentile) and SSVC scores Exploitation:none, Automatable:no, Technical Impact:partial - all consistent with a low-priority finding. The key caveat is that exploitation requires an application to expose the pattern parameter to attacker control, which is non-default usage; most Spring applications hardcode AntPathMatcher patterns at the developer level, so reachability is application-specific rather than universal. Treat this as a hygiene patch on the normal Spring upgrade cadence rather than an emergency; prioritize only for apps that demonstrably accept user-supplied patterns (e.g. dynamic authorization frameworks, multi-tenant routing engines). |
| Exploit ScenarioDerived | In an application that lets tenants register custom Ant-style path rules (for routing, authorization, or webhook filtering), an attacker submits a crafted pattern such as one containing nested alternation and repetition that triggers catastrophic backtracking when matched against a long crafted path. Each request consumes a servlet thread for seconds-to-minutes of CPU, and a handful of concurrent requests starve the thread pool, taking the application offline. No public exploit identified at time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv3 – Jun 11, 2026
Denial of service in Spring Framework's AntPathMatcher allows remote unauthenticated attackers to exhaust CPU resources via Regular Expression Denial of Service (ReDoS) when attacker-controlled patterns are passed to match(), matchStart(), or extractUriTemplateVariables(). Affects Spring Framework 5.3.0-5.3.48, 6.1.0-6.1.27, 6.2.0-6.2.18, and 7.0.0-7.0.7. No public exploit identified at time of analysis, EPSS is very low (0.01%, 2nd percentile), and SSVC indicates no observed exploitation.
Earlier versions of this analysis (2)
Denial of service in Spring Framework's AntPathMatcher allows remote unauthenticated attackers to exhaust CPU resources via crafted patterns processed by match(), matchStart(), or extractUriTemplateVariables(). The flaw affects Spring Framework 5.3.x, 6.1.x, 6.2.x, and 7.0.x through specific versions, and no public exploit identified at time of analysis. EPSS exploitation probability is very low at 0.01% (2nd percentile), and SSVC rates exploitation as 'none' with only partial technical impact.
ReDoS (Regular Expression Denial of Service) in Spring Framework's AntPathMatcher exposes applications to partial availability loss when an attacker can supply a crafted pattern string consumed by match(), matchStart(), or extractUriTemplateVariables(). Affected branches span all major actively maintained lines - 5.3.x through 7.0.x - covering a wide installed base across Java enterprise deployments. No public exploit identified at time of analysis and no CISA KEV listing; the CVSS score of 3.7 reflects the high attack complexity, limited availability impact (A:L), and the prerequisite that attacker-controlled input reaches the vulnerable AntPathMatcher methods.
RemediationAI
Vendor-released patch: upgrade Spring Framework to 5.3.49, 6.1.28, 6.2.19, or 7.0.8 depending on the branch in use, per https://spring.io/security/cve-2026-41848. If immediate upgrade is not possible, audit application code for any call path where untrusted input reaches the pattern argument of AntPathMatcher.match(), matchStart(), or extractUriTemplateVariables() and either remove the data flow, validate the input against a strict allow-list of Ant-style metacharacters, or impose a length cap (e.g. 256 characters) before passing it to the matcher; trade-off is that strict input validation may reject legitimate complex patterns in admin UIs. As a runtime control, deploying request timeouts at the servlet container or reverse-proxy layer limits CPU consumption per request but does not prevent thread starvation under concurrent abuse.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in maven, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
AntPathMatcher is Spring's path-pattern matcher used throughout Spring MVC, WebFlux, and Spring Security for URL routing, security filter chains, and resource resolution. It supports Ant-style wildcards (?, *, **) and URI template variables ({var}), which are internally compiled into Java regular expressions. CWE-1333 (Inefficient Regular Expression Complexity) describes catastrophic backtracking, where certain crafted patterns combined with specific input strings cause exponential matching time. The vulnerability surfaces when application code allows untrusted input to flow into the 'pattern' argument of AntPathMatcher.match(), matchStart(), or extractUriTemplateVariables() - an unusual data flow because patterns are typically developer-defined, but possible in frameworks that build dynamic ACLs, multi-tenant routing rules, or pattern-driven resource lookups from user input. The affected CPE is cpe:2.3:a:spring:spring_framework across all listed branches.
Know when Spring gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Network-reachable and no auth, but AC:H because exploitation requires the uncommon condition of attacker-controlled pattern input reaching AntPathMatcher; impact is availability-only.
Primary rating from NVD.
CVSS VectorNVD
Lifecycle Timeline
5DescriptionNVD
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.
Blast Radius
ecosystem impact- 424 maven packages depend on org.springframework:spring-core (57 direct, 367 indirect)
Ecosystem-wide dependent count for version 7.0.0.
Executive ViewAI
Spring Framework's AntPathMatcher is vulnerable to remote Denial of Service through Regular Expression Denial of Service (ReDoS), affecting versions 5.3.0-5.3.48, 6.1.0-6.1.27, 6.2.0-6.2.18, and 7.0.0-7.0.7. Unauthenticated attackers can exhaust CPU resources by sending malicious path patterns to vulnerable methods, potentially disrupting services across organizations using these Spring versions. Although rated CVSS 7.5 (HIGH), exploitation likelihood is minimal with no public exploit code and no observed active attacks as of the analysis date.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
Related Vulnerabilities in Spring Framework DoS, Injection, and Auth Vulnerabilities
View all 18Access control bypass in SpringBlade v4.5.0 importUser function allows low-privileged users to import sensitive user dat
Spring Cloud Config Server contains a path traversal vulnerability when using the native file system backend, allowing u
Spring Framework MVC applications can be vulnerable to a “Path Traversal Vulnerability” when deployed on a non-compliant
SpringBlade v4.5.0 has an access control flaw in authRoutes allowing low-privileged users to escalate to admin through t
Remote code execution in Spring for GraphQL versions 1.3.0-1.3.8, 1.4.0-1.4.5, and 2.0.0-2.0.3 allows unauthenticated at
Server-Sent Events (SSE) stream corruption affects Spring MVC applications built on the functional web framework across
Spring AI versions 1.0.0 through 1.0.4 and 1.1.0 through 1.1.3 allow unauthenticated remote code execution through Sprin
Spring Security Aspects may not correctly locate method security annotations on private methods. Rated critical severity
Safety-guard bypass in the Spring Framework SpEL engine (VMware/Broadcom) lets attacker-controlled expression input esca
Directory traversal in Spring Cloud Config server module allows remote unauthenticated attackers to read arbitrary files
Spring Security fails to properly write HTTP response headers in servlet applications across multiple versions (5.7.0-5.
EUVD-2026-35336
GHSA-659m-px2c-25wj
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB