CVE-2026-41848

Spring Framework Denial of Service via AntPathMatcher

Published Jun 9, 2026 CVSS 3.1 · 3.7 Low EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The vulnerability allows an attacker to supply a regular expression that is processed by AntPathMatcher, leading to a Regular Expression Denial of Service. The malicious pattern can cause excessive CPU consumption and eventual application unavailability, classified as a denial of service weakness (CWE-1333).

Affected Systems

Spring Framework is affected in versions 7.0.0 through 7.0.7, 6.2.0 through 6.2.18, 6.1.0 through 6.1.27, and 5.3.0 through 5.3.48.

Risk and Exploitability

The CVSS score of 3.7 indicates moderate severity. EPSS is not available and the vulnerability is not listed in the CISA KEV catalog. An attacker would need the ability to supply a crafted pattern to methods such as match, matchStart, or extractUriTemplateVariables, which may be achieved through input exposed via URLs or API endpoints. If exploited, the attacker could cause high CPU usage and potential service interruption, affecting application availability.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Spring Framework to a fixed release (7.0.8 or later, 6.2.19 or later, 6.1.28 or later, or 5.3.49 or later).
  • If an upgrade cannot be performed immediately, sanitize or validate any user‑supplied patterns before passing them to AntPathMatcher, ensuring that regular expressions are well‑formed and do not include excessive backtracking constructs.
  • Continuously monitor application performance metrics for sudden spikes in CPU usage or process hangs that could indicate an ongoing ReDoS attack.

Generated by OpenCVE AI on June 9, 2026 at 05:21 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-659m-px2c-25wj Spring Framework Denial of Service via AntPathMatcher
References
History
Type Values Removed Values Added
First Time appeared Vmware
Vmware spring Framework
CPEs cpe:2.3:a:vmware:spring_framework:*:*:*:*:*:*:*:*
Vendors & Products Vmware
Vmware spring Framework
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Spring
Spring spring Framework
Vendors & Products Spring
Spring spring Framework
Type Values Removed Values Added
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.
Title Spring Framework Denial of Service via AntPathMatcher
Weaknesses CWE-1333
References
Metrics cvssV3_1

{'score': 3.7, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L'}

Weaknesses
  • CWE-1333

    Inefficient Regular Expression Complexity

Sources

Status
PUBLISHED
Assigner
vmware
Published
Updated
Jun 27, 2026, 9:02 PM
Reserved
Apr 22, 2026, 6:22 AM
Status
Analyzed
Published
Jun 9, 2026, 5:16 AM
Modified
Jul 23, 2026, 8:10 AM