Skip to main content

Spring Cloud Function EUVDEUVD-2026-33733

| CVE-2026-40989 MEDIUM
Uncontrolled Recursion (CWE-674)
2026-06-01 vmware GHSA-x9c7-5h6g-hq8q
6.5
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Gain low-privilege access to target
  2. Delivery
    Interact with Spring Cloud Function routing endpoint
  3. Exploit
    Submit self-referential or cyclically-routed request
  4. Install
    Routing layer enters unbounded recursion
  5. C2
    JVM heap exhaustion triggers OOM error
  6. Execute
    Application process crashes
  7. Impact
    Denial 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Spring Cloud Function 4.3.0 <4.3.3
Spring Cloud Function 4.2.0 <4.2.6
Spring Cloud Function 3.2.0 <3.2.16
Spring Cloud Function 4.1.0 <4.1.10
Spring Cloud Function 5.0.0 <5.0.2

Affected Packages

maven org.springframework.cloud:spring-cloud-function-context fix: 4.3.3, 5.0.2
euvd spring_cloud_function fix: 3.2.16, 4.1.10, 4.2.6, 4.3.3, 5.0.2

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

NVD PRIMARY 6.5 MEDIUM
AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Red Hat 6.5 MEDIUM

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

2
CVSS changed
Jul 22, 2026 - 07:22 NVD
5.7 (MEDIUM) 6.5 (MEDIUM)
Patch available
Jun 01, 2026 - 20:02 EUVD

DescriptionNVD

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
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 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

EPSS Score
0.0%
Top 95% exploitable
Social Media
1
Sightings
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor CIRCL VulDB

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

More in Spring

View all
CVE-2025-70982 CRITICAL POC
9.9 Jan 26

Access control bypass in SpringBlade v4.5.0 importUser function allows low-privileged users to import sensitive user dat

CVE-2026-22739 HIGH POC
8.6 Mar 24

Spring Cloud Config Server contains a path traversal vulnerability when using the native file system backend, allowing u

CVE-2026-59415 CRITICAL
10.0 Nov 24

Document ID injection in Spring AI's TypesenseVectorStore delete path lets a remote unauthenticated caller who controls

CVE-2025-41242 MEDIUM POC
5.9 Aug 18

Spring Framework MVC applications can be vulnerable to a “Path Traversal Vulnerability” when deployed on a non-compliant

CVE-2025-70983 CRITICAL
9.9 Jan 23

SpringBlade v4.5.0 has an access control flaw in authRoutes allowing low-privileged users to escalate to admin through t

CVE-2026-41699 CRITICAL
9.8 Jun 11

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

CVE-2026-59313 CRITICAL
9.8 Aug 27

Server-Sent Events (SSE) stream corruption affects Spring MVC applications built on the functional web framework across

CVE-2026-22738 CRITICAL
9.8 Mar 27

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

CVE-2026-41855 CRITICAL
9.8 Jun 09

Unsafe JSON deserialization in Spring Framework's JMS message converters (MappingJackson2MessageConverter and JacksonJso

CVE-2025-41232 CRITICAL
9.1 May 21

Spring Security Aspects may not correctly locate method security annotations on private methods. Rated critical severity

CVE-2026-59283 CRITICAL
9.1 Aug 27

Safety-guard bypass in the Spring Framework SpEL engine (VMware/Broadcom) lets attacker-controlled expression input esca

CVE-2026-40982 CRITICAL
9.1 May 07

Directory traversal in Spring Cloud Config server module allows remote unauthenticated attackers to read arbitrary files

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy