CVE-2026-40990: Unbounded cache for function definitions
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 Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
Spring Cloud Functionto a version that resolves this vulnerability.Fixed in 3.2.16 - Upgrade
Upgrade
Spring Cloud Functionto a version that resolves this vulnerability.Fixed in 4.1.10 - Upgrade
Upgrade
Spring Cloud Functionto a version that resolves this vulnerability.Fixed in 4.2.6 - Upgrade
Upgrade
Spring Cloud Functionto a version that resolves this vulnerability.Fixed in 4.3.3 - Upgrade
Upgrade
Spring Cloud Functionto a version that resolves this vulnerability.Fixed in 5.0.2
Event History
Frequently Asked Questions
What is the severity of CVE-2026-40990?
The severity of CVE-2026-40990 is rated as medium with a score of 5.7.
How do I fix CVE-2026-40990?
To fix CVE-2026-40990, upgrade to Spring Cloud Function version 3.2.16 or higher, 4.1.10 or higher, or 4.2.6 or higher.
What products are affected by CVE-2026-40990?
CVE-2026-40990 affects Spring Cloud Function versions prior to 3.2.16, 4.1.10, and 4.2.6.
What are the potential impacts of CVE-2026-40990?
The potential impact of CVE-2026-40990 includes an Out of Memory (OOM) error due to an unbounded cache for function definitions.
When was CVE-2026-40990 published?
CVE-2026-40990 was published on June 1, 2026.