MODERATE 5.7

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)

ArtifactAffected versionsFixed 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

1affected artifacts
20affected versions
791dependent artifacts (est.)
7,226dependent versions

49% of the dependent artifacts (388) still pull an affected version in their latest release.

DepthDependent versions
Direct
398
2 hops
2,719
3 hops
2,516
4 hops
768
5 hops
580
6 hops
245

Most used dependents

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

Advisorynvd.nist.gov
Webspring.io