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 products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Spring | Spring Framework | 7.0.0 – < 7.0.7.1, 6.2.0 – < 6.2.18.1, 6.1.0 – < 6.1.28, 5.3.0 – < 5.3.49 | 7.0.7.1 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | libspring-java | No fix yet | — |
| Debian 13 | libspring-java | No fix yet | — |
| Debian 12 | libspring-java | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | libspring-java | No fix yet | — |
| Ubuntu 26.04 LTS | libspring-java | No fix yet | — |
| Ubuntu 25.10 | libspring-java | No fix yet | — |
Show 6 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 24.04 LTS | libspring-java | No fix yet | — |
| Ubuntu Pro 22.04 LTS | libspring-java | No fix yet | — |
| Ubuntu Pro 20.04 LTS | libspring-java | No fix yet | — |
| Ubuntu Pro 18.04 LTS | libspring-java | No fix yet | — |
| Ubuntu Pro 16.04 LTS | libspring-java | No fix yet | — |
| Ubuntu Pro 14.04 LTS | libspring-java | No fix yet | — |
Wolfi
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Wolfi rolling | apache-nifi-registry +1 | 2.10.0-r6 | — |
| Wolfi rolling | keycloak-config-cli +1 | 6.5.1-r11 | — |
| Wolfi rolling | zipkin +1 | 3.6.1-r19 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Maven | org.springframework:spring-core | >= 7.0.0, < 7.0.8 | 7.0.8 | GHSA-659m-px2c-25wj |
| Maven | org.springframework:spring-core | >= 6.2.0, < 6.2.19 | 6.2.19 | GHSA-659m-px2c-25wj |
| Maven | org.springframework:spring-core | >= 6.1.0, <= 6.1.21 | — | GHSA-659m-px2c-25wj |
| Maven | org.springframework:spring-core | <= 5.3.39 | — | GHSA-659m-px2c-25wj |
Advisories 1
- WID-SEC-2026-1828 VMware Tanzu Spring Framework: Mehrere Schwachstellen BSI CERT-Bund (WID) · Oct 25, 2026