Quick answers
- Is CVE-2026-40990 exploited in the wild?
- No. Junglewise Threat Intelligence has no report of CVE-2026-40990 being exploited in the wild.
- How severe is CVE-2026-40990?
- Medium severity, with a CVSS score of 5.7, published 1 June 2026.
- Which products and versions are affected?
- org.springframework.cloud:spring-cloud-function-context (Maven) ECOSYSTEM:introduced=4.3.0,fixed=4.3.3; VMware Spring Cloud Function 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.
- Is there a fix for CVE-2026-40990?
- Yes. org.springframework.cloud:spring-cloud-function-context (Maven): upgrade to 4.3.3 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
- How is CVE-2026-40990 attacked?
- It is attacked with physical access, in a software library.
- Am I affected by CVE-2026-40990?
- Check whether you run org.springframework.cloud:spring-cloud-function-context (Maven) or VMware Spring Cloud Function at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
How to fix
- org.springframework.cloud:spring-cloud-function-context (Maven): upgrade to 4.3.3 or later
# set org.springframework.cloud:spring-cloud-function-context to 4.3.3 in your pom.xml or build.gradle
Technical details
A vulnerability exists in Spring Cloud Function's Function Registry component where uncontrolled recursion can occur. This issue is triggered when an attacker attempts to add an infinite or excessive number of functions to the registry, leading to an Out-of-Memory (OOM) condition. According to the vendor's CVSS metrics, exploitation requires physical access, low privileges, and user interaction, though NVD's alternative assessment suggests a network vector. The flaw is classified as CWE-770 (Allocation of Resources Without Limits or Throttling). Patches are available in versions 3.2.16, 4.1.10, 4.2.6, 4.3.3, and 5.0.2.
Affected products
- VMware Spring Cloud Function 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
Identifiers
- CVE-2026-40990
- GHSA-x4h3-g2x4-8gqv
Timeline
- 2026-06-01: disclosed
- 2026-06-01: advisory