Inefficient regular expression complexity in Spring Framework - CVE-2026-41848

 

Inefficient regular expression complexity in Spring Framework - CVE-2026-41848

Published: August 31, 2026


Vulnerability identifier: #VU146408
CSH Severity: Low
CVSS v4: 6.3 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-41848
CWE-ID: CWE-1333
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to cause a denial of service.

The vulnerability exists due to regular expression denial of service in AntPathMatcher when processing an attacker-supplied pattern in match, matchStart, or extractUriTemplateVariables. A remote attacker can provide a crafted pattern to cause a denial of service.

The issue is exposed only if attacker-controlled input is directly or indirectly supplied as the pattern argument to the affected methods.


Affected software

Spring Framework

How to mitigate CVE-2026-41848

Install security update from vendor's website.

Spring Framework - addressed in versions 5.3.49, 6.1.28, 6.2.18.1, 6.2.19, 7.0.7.1, 7.0.8

External References

Related Security Bulletins