CVE-2026-40989
MEDIUM 6.5CVSS 3.1Spring Cloud Function Context has Uncontrolled Recursion
Under infinite recursion in the routing layer, request-handling can cause OOM error.
Affected Spring Products and Versions:
Spring Cloud Function 3.2.x: versions prior to 3.2.16
Spring Cloud Function 4.1.x: versions prior to 4.1.10
Spring Cloud Function 4.2.x: versions prior to 4.2.6
Spring Cloud Function 4.3.x: versions prior to 4.3.3
Spring Cloud Function 5.0.x: versions prior to 5.0.2
Older, unsupported versions are also affected.
- Published
- 1 Jun 2026
- Last modified
- 22 Jul 2026
- Assigned by
- security@vmware.com
- NVD status
- Analyzed
- Weakness
- CWE-674
- Also known as
- GHSA-x9c7-5h6g-hq8q
- Sources
- NVDJSONOSV GHSA-x9c7-5h6g-hq8qJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| NVD | security@vmware.com (Secondary) | CVSS 3.1 | MEDIUM 5.7 | CVSS:3.1/AV:P/AC:L/PR:L/UI:R/S:C/C:N/I:L/A:H |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.7 | CVSS:3.1/AV:P/AC:L/PR:L/UI:R/S:C/C:N/I:L/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | vmware | spring_cloud_functioncpe:2.3:a:vmware:spring_cloud_function:*:*:*:*:*:*:*:* |
>= 3.2.0, < 3.2.16 | 3.2.16 |
| NVD | vmware | spring_cloud_functioncpe:2.3:a:vmware:spring_cloud_function:*:*:*:*:*:*:*:* |
>= 4.1.0, < 4.1.10 | 4.1.10 |
| NVD | vmware | spring_cloud_functioncpe:2.3:a:vmware:spring_cloud_function:*:*:*:*:*:*:*:* |
>= 4.2.0, < 4.2.6 | 4.2.6 |
| NVD | vmware | spring_cloud_functioncpe:2.3:a:vmware:spring_cloud_function:*:*:*:*:*:*:*:* |
>= 4.3.0, < 4.3.3 | 4.3.3 |
| NVD | vmware | spring_cloud_functioncpe:2.3:a:vmware:spring_cloud_function:*:*:*:*:*:*:*:* |
>= 5.0.0, < 5.0.2 | 5.0.2 |
| OSV | Maven | org.springframework.cloud:spring-cloud-function-context | >= 4.3.0, < 4.3.3 | 4.3.3 |
| OSV | Maven | org.springframework.cloud:spring-cloud-function-context | >= 5.0.0, < 5.0.2 | 5.0.2 |
| OSV | Maven | org.springframework.cloud:spring-cloud-function-context | >= 3.2.10, <= 3.2.15 | |
| OSV | Maven | org.springframework.cloud:spring-cloud-function-context | >= 4.1.0, <= 4.1.9 | |
| OSV | Maven | org.springframework.cloud:spring-cloud-function-context | >= 4.2.0, <= 4.2.5 |
References
- https://spring.io/security/cve-2026-40989 · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-40989 · ADVISORY
- https://github.com/spring-cloud/spring-cloud-function/commit/6bcd55803c5a2ce0adec794fee1e03c2fac36cf9 · WEB
- https://github.com/spring-cloud/spring-cloud-function · PACKAGE
History
- 25 Nov 2026 21:02 UTC · NVD: first stored (published 1 Jun 2026)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 1 Jun 2026)