CVE-2026-40989
Received Received - Intake
Infinite Recursion Leads to OOM in Spring Cloud Function

Publication date: 2026-06-01

Last updated on: 2026-06-01

Assigner: VMware

Description
Under infinite recursion in the routing layer, request-handling can cause OOM error. 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.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-06-01
Last Modified
2026-06-01
Generated
2026-06-02
AI Q&A
2026-06-01
EPSS Evaluated
N/A
NVD
EUVD
Affected Vendors & Products
Showing 5 associated CPEs
Vendor Product Version / Range
vmware spring_cloud_function to 3.2.16 (exc)
vmware spring_cloud_function to 4.1.10 (exc)
vmware spring_cloud_function to 4.2.6 (exc)
vmware spring_cloud_function to 4.3.3 (exc)
vmware spring_cloud_function to 5.0.2 (exc)
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-674 The product does not properly control the amount of recursion that takes place, consuming excessive resources, such as allocated memory or the program stack.
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?

CVE-2026-40989 is a security vulnerability in multiple versions of Spring Cloud Function. It occurs due to infinite recursion in the routing layer during request handling, which can cause an out-of-memory (OOM) error.

This means that when certain functions are composed or routed incorrectly, the system can enter a loop that consumes all available memory, leading to a crash or denial of service.


How can this vulnerability impact me? :

The vulnerability can cause your application to run out of memory and crash due to infinite recursion in the routing layer. This can lead to denial of service, making your services unavailable to users.

If exploited, it may disrupt normal operations and degrade system reliability, especially in environments where Spring Cloud Function is used for handling requests.


What immediate steps should I take to mitigate this vulnerability?

To mitigate the vulnerability CVE-2026-40989, affected users should upgrade to the fixed versions of Spring Cloud Function as specified:

  • For versions 3.2.x, 4.1.x, and 4.2.x, upgrade to the fixed versions available through Enterprise Support.
  • For versions 4.3.x and 5.0.x, upgrade to the fixed open-source software (OSS) versions.

If upgrading is not possible immediately, users should prevent functions from being composed with themselves to avoid triggering the infinite recursion and subsequent out-of-memory error.


How does this vulnerability affect compliance with common standards and regulations (like GDPR, HIPAA)?:

The provided information does not specify any direct impact of this vulnerability on compliance with common standards and regulations such as GDPR or HIPAA.


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart