Medium severity5.7NVD Advisory· Published Jun 1, 2026· Updated Jul 22, 2026
CVE-2026-40989
CVE-2026-40989
Description
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
org.springframework.cloud:spring-cloud-function-contextMaven | >= 4.3.0, < 4.3.3 | 4.3.3 |
org.springframework.cloud:spring-cloud-function-contextMaven | >= 5.0.0, < 5.0.2 | 5.0.2 |
org.springframework.cloud:spring-cloud-function-contextMaven | >= 3.2.10, <= 3.2.15 | — |
org.springframework.cloud:spring-cloud-function-contextMaven | >= 4.1.0, <= 4.1.9 | — |
org.springframework.cloud:spring-cloud-function-contextMaven | >= 4.2.0, <= 4.2.5 | — |
Affected products
2- Range: 3.2.x prior to 3.2.16, 4.1.x prior to 4.1.10, 4.2.x prior to 4.2.6, 4.3.x prior to 4.3.3, 5.0.x prior to 5.0.2
- cpe:2.3:a:vmware:spring_cloud_function:*:*:*:*:*:*:*:*Range: >=3.2.0,<3.2.16
Patches
Vulnerability mechanics
References
4- github.com/advisories/GHSA-x9c7-5h6g-hq8qghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2026-40989ghsaADVISORY
- spring.io/security/cve-2026-40989nvdVendor AdvisoryWEB
- github.com/spring-cloud/spring-cloud-function/commit/6bcd55803c5a2ce0adec794fee1e03c2fac36cf9ghsaWEB
News mentions
0No linked articles in our index yet.