Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconGain low-privilege access to target
-
DeliveryInteract with Spring Cloud Function routing endpoint
-
ExploitSubmit self-referential or cyclically-routed request
-
InstallRouting layer enters unbounded recursion
-
C2JVM heap exhaustion triggers OOM error
-
ExecuteApplication process crashes
-
ImpactDenial of service achieved
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Recursion depth limits
|
| Exploitation Conditions | Per CVSS, exploitation requires: low-privilege credentials on the target system (PR:L), user interaction (UI:R), and physical access (AV:P) - though the physical access requirement appears inconsistent with a network-facing routing component and should be verified against the vendor advisory. The vulnerability is triggered specifically within the routing layer of Spring Cloud Function, meaning deployments that do not use the routing functionality may not be exposed. Exploitation is bounded by the requirement for user interaction (UI:R), preventing fully automated or autonomous attacks. What limits exploitation: physical access requirement (if confirmed), low-privilege authentication, and user interaction - three compounding prerequisites that substantially restrict the realistic attacker population. If the AV:P designation is incorrect and network access is the true vector, these mitigations reduce but do not eliminate risk. |
| Impact | The CVSS base score of 5.7 (Medium) reflects a constrained exploit path. The CVSS 3.1 vector AV:P/AC:L/PR:L/UI:R/S:C/C:N/I:L/A:H presents a critical inconsistency: AV:P designates Physical access as required, which is atypical for a routing-layer vulnerability in a network-facing framework - this conflicts with the standard deployment model of Spring Cloud Function as a remotely invoked service. Security teams should verify with the Spring/VMware advisory at https://spring.io/security/cve-2026-40989 before drawing conclusions about real-world attack surface. If the physical vector is accurate, real-world risk is low and exploitation is inherently bounded. If the vector is erroneous and the true access is network-based, the risk profile increases substantially. Availability impact is High (A:H), confirming complete service disruption is achievable upon successful exploitation. Low Integrity impact (I:L) and Changed Scope (S:C) suggest limited secondary effects beyond the crash. No EPSS score was provided in the source data. No KEV listing and no public POC exist at time of analysis, placing this at lower immediate priority absent the AV:P clarification. |
| Exploit ScenarioDerived | An attacker or authorized low-privilege user with the required access level (PR:L per CVSS, plus UI:R and AV:P per vector) submits or triggers a request through the Spring Cloud Function routing layer that induces a recursive call chain - for example, a function route that resolves back to itself. The JVM heap is progressively exhausted across recursive invocations until an OutOfMemoryError terminates the application process, resulting in a complete denial of service. No public proof-of-concept code has been identified at time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 01, 2026
Uncontrolled recursion in Spring Cloud Function's routing layer triggers an Out-of-Memory (OOM) condition, resulting in a denial of service across all active release trains (3.2.x through 5.0.x). The vulnerability is rooted in CWE-674 (Uncontrolled Recursion), where the routing layer lacks depth limits or cycle detection, allowing recursive request-handling to exhaust JVM heap space. No public exploit code or CISA KEV listing has been identified at time of analysis; however, the CVSS physical attack vector (AV:P) appears inconsistent with a routing-layer vulnerability and warrants verification against the Spring/VMware advisory.
RemediationAI
The primary fix is to upgrade Spring Cloud Function to a patched release matching your current branch: 3.2.16, 4.1.10, 4.2.6, 4.3.3, or 5.0.2. Consult the official advisory at https://spring.io/security/cve-2026-40989 for release artifact details. For teams running unsupported versions (e.g., 3.x branches prior to 3.2.x), the HeroDevs advisory at https://www.herodevs.com/vulnerability-directory/cve-2026-40989 may provide extended support options. If an immediate upgrade is not feasible, consider restricting routing-layer input sources to trusted, validated callers only - untrusted or externally-supplied routing inputs represent the primary trigger surface. Enforcing JVM heap limits and enabling OOM crash restarts via orchestration tooling (Kubernetes liveness probes, systemd restart policies) reduces availability impact duration but does not eliminate the vulnerability. Note that restarting on OOM may create a repeated-crash loop if the triggering input is replayed.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in maven, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Spring Cloud Function is a Java-based framework (CPE: cpe:2.3:a:spring:spring_cloud_function:*:*:*:*:*:*:*:*) that abstracts function deployment across cloud runtimes including AWS Lambda, Azure Functions, and Apache OpenWhisk. The routing layer dispatches incoming requests to registered functions. CWE-674 (Uncontrolled Recursion) identifies the root cause: the router can enter an unbounded recursive call chain - either due to circular function references, self-referential routing rules, or missing base-case guards - causing the JVM call stack and heap to grow until an OutOfMemoryError is thrown and the process terminates. The CVSS scope is Changed (S:C), indicating the OOM condition can affect resources beyond the vulnerable Spring application component itself, consistent with a JVM-level crash impacting co-hosted workloads. The 'Information Disclosure' tag in the intelligence metadata conflicts with the CVSS C:N (no confidentiality impact); this tag may reflect secondary behavior such as stack traces leaking internal paths before the crash.
Know when Spring gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Primary rating from NVD.
CVSS VectorNVD
Lifecycle Timeline
2DescriptionNVD
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.
Blast Radius
ecosystem impact- 161 maven packages depend on org.springframework.cloud:spring-cloud-function-context (16 direct, 145 indirect)
Ecosystem-wide dependent count for version 4.3.0.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
Access control bypass in SpringBlade v4.5.0 importUser function allows low-privileged users to import sensitive user dat
Spring Cloud Config Server contains a path traversal vulnerability when using the native file system backend, allowing u
Document ID injection in Spring AI's TypesenseVectorStore delete path lets a remote unauthenticated caller who controls
Spring Framework MVC applications can be vulnerable to a “Path Traversal Vulnerability” when deployed on a non-compliant
SpringBlade v4.5.0 has an access control flaw in authRoutes allowing low-privileged users to escalate to admin through t
Remote code execution in Spring for GraphQL versions 1.3.0-1.3.8, 1.4.0-1.4.5, and 2.0.0-2.0.3 allows unauthenticated at
Server-Sent Events (SSE) stream corruption affects Spring MVC applications built on the functional web framework across
Spring AI versions 1.0.0 through 1.0.4 and 1.1.0 through 1.1.3 allow unauthenticated remote code execution through Sprin
Unsafe JSON deserialization in Spring Framework's JMS message converters (MappingJackson2MessageConverter and JacksonJso
Spring Security Aspects may not correctly locate method security annotations on private methods. Rated critical severity
Safety-guard bypass in the Spring Framework SpEL engine (VMware/Broadcom) lets attacker-controlled expression input esca
Directory traversal in Spring Cloud Config server module allows remote unauthenticated attackers to read arbitrary files
EUVD-2026-33733
GHSA-x9c7-5h6g-hq8q
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB