Vulnerability · Published Jun 1, 2026 · Assigned by vmware
CVE-2026-40990Unbounded cache for function definitions
Medium 5.7
In plain English
A medium-severity resource allocation without limits in Spring Cloud Function from Spring. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 11% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Maven | org.springframework.cloud:spring-cloud-function-context | 4.3.3 | GHSA-x4h3-g2x4-8gqv |
| Maven | org.springframework.cloud:spring-cloud-function-context | 5.0.2 | GHSA-x4h3-g2x4-8gqv |
| Maven | org.springframework.cloud:spring-cloud-function-context | no fix listed | GHSA-x4h3-g2x4-8gqv |
| Maven | org.springframework.cloud:spring-cloud-function-context | no fix listed | GHSA-x4h3-g2x4-8gqv |
| Maven | org.springframework.cloud:spring-cloud-function-context | no fix listed | GHSA-x4h3-g2x4-8gqv |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Spring | Spring Cloud Function | 3.2.0 – before 3.2.164.1.0 – before 4.1.104.2.0 – before 4.2.64.3.0 – before 4.3.35.0.0 – before 5.0.2 |
Weakness: CWE-770 · Vector: CVSS:3.1/AV:P/AC:L/PR:L/UI:R/S:C/C:N/I:L/A:H