CVE-2026-40990
Spring Cloud Function Context: Uncontrolled Recursion is possible while attempting to add infinite amount of functions to Function Registry
Description
OOM error is possible while attempting to add infinite amount of functions to Function Registry.
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.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.springframework.cloud » spring-cloud-function-context | >= 3.2.10, <= 3.2.15>= 4.1.0, <= 4.1.9>= 4.2.0, <= 4.2.5>= 4.3.0, < 4.3.3>= 5.0.0, < 5.0.2 | 4.3.3, 5.0.2 |
Blast radius
49% of the dependent artifacts (388) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 398 |
| 2 hops | 2,719 |
| 3 hops | 2,516 |
| 4 hops | 768 |
| 5 hops | 580 |
| 6 hops | 245 |
Most used dependents
- org.springframework.cloud » spring-cloud-stream435 usages
- org.springframework.cloud » spring-cloud-starter-stream-kafka280 usages
- org.springframework.cloud » spring-cloud-starter-stream-rabbit236 usages
- org.springframework.cloud » spring-cloud-stream-binder-rabbit181 usages
- org.springframework.cloud » spring-cloud-stream-binder-kafka174 usages
- org.springframework.cloud » spring-cloud-stream-test-support134 usages
- org.springframework.ai » spring-ai-core124 usages
- org.springframework.ai » spring-ai-openai121 usages
- org.springframework.cloud » spring-cloud-starter-bus-amqp81 usages
- org.springframework.ai » spring-ai-retry68 usages
- com.alibaba.cloud.ai » spring-ai-alibaba-core63 usages
- org.springframework.cloud » spring-cloud-stream-test-binder52 usages
- org.springframework.ai » spring-ai-transformers47 usages
- org.springframework.cloud » spring-cloud-stream-binder-test44 usages
- org.springframework.ai » spring-ai-ollama43 usages
Computed from the dependency graph of build 20261202.0245 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
References
| Advisory | NVD CVE-2026-40990 | nvd.nist.gov |
| Web | security/cve-2026-40990 | spring.io |
