Skip to main content

Spring Cloud Function CVE-2026-40990

| EUVDEUVD-2026-33734 MEDIUM
Allocation of Resources Without Limits or Throttling (CWE-770)
2026-06-01 vmware GHSA-x4h3-g2x4-8gqv
6.5
CVSS 3.1 · NVD
View

Attack ChainAIDerived

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

  1. Recon
    Gain physical or console access to target system
  2. Delivery
    Authenticate with low-privileged account
  3. Exploit
    Trigger user-interaction-dependent registration event
  4. Install
    Submit unbounded function registrations to Function Registry
  5. C2
    Exhaust JVM heap memory with unthrottled allocations
  6. Execute
    Application OutOfMemoryError crash
  7. Impact
    Denial of service to all function consumers

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V2 - Validation and Business Logic Resource allocation limits
MITRE ATT&CK

1 technique across 1 tactic: Impact

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

The CVSS vector (AV:P/AC:L/PR:L/UI:R/S:C) specifies three concurrent prerequisites for exploitation. First, physical or equivalent direct access to the target system is required (AV:P) - remote network-based exploitation is not supported by the CVSS data, though the architectural reason for this physical access requirement is not explained in available sources and should be verified with VMware/Spring. Second, the attacker must hold a low-privileged authenticated session (PR:L); fully unauthenticated exploitation is not indicated. Third, user interaction is required (UI:R), meaning the vulnerability cannot be triggered autonomously - some user-initiated action must occur, such as invoking a registration flow or triggering a configuration event. The root enabling condition is the absence of any limit on function registration in the Function Registry itself. Exploitation is limited by the physical access requirement, the need for authentication, and the user interaction dependency - all three must be satisfied simultaneously. Defenders should assess which interfaces in their deployment allow function registration and whether low-privileged users have access to those paths.

Impact

The CVSS 3.1 base score of 5.7 (Medium) is anchored by High availability impact (A:H), but the remainder of the vector substantially constrains real-world risk. AV:P (Physical attack vector) is the most significant limiting factor, indicating the attacker must have physical or equivalent direct console access rather than a remote network path - this is architecturally unusual for a Java web framework and warrants verification with the vendor, as it may imply the vulnerable code path is accessible only through a local administrative interface or embedded console, not a network-exposed API. PR:L requires a low-privileged authenticated session, and UI:R mandates user-initiated interaction, meaning fully autonomous or unauthenticated remote exploitation is not supported by the CVSS data. No EPSS score was provided in the source data, so exploitation probability cannot be quantified independently. The vulnerability is not listed in CISA KEV, and no public proof-of-concept has been identified. In practical terms, this is a low-urgency patching item for most organizations, but warrants prioritization in multi-tenant or shared-hosting deployments where low-privileged users have access to function registration interfaces and where application availability is business-critical.

Exploit ScenarioDerived

A low-privileged user with physical or direct console access to a system running an unpatched Spring Cloud Function application performs a user-interaction-dependent action - such as invoking an administrative endpoint or triggering a configuration reload - that causes the application to register functions iteratively without bound. As the Function Registry accumulates entries with no throttle, JVM heap is exhausted and an OutOfMemoryError is thrown, crashing or hanging the application and denying service to all downstream consumers of the function runtime. No public exploit code has been identified, so this scenario is inferred from the vulnerability description and CVSS vector rather than observed attack behavior.

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

Denial-of-service in Spring Cloud Function allows a low-privileged actor with physical access and required user interaction to exhaust JVM heap memory by registering an unbounded number of functions into the Function Registry, triggering an Out-of-Memory (OOM) crash. Five actively maintained release lines (3.2.x through 5.0.x) plus all unsupported versions are affected. No public exploit code exists and the vulnerability is not listed in CISA KEV at time of analysis; the CVSS score of 5.7 reflects the physical access vector and user interaction dependency that substantially constrain real-world exploitability compared to the High availability impact alone.

RemediationAI

The primary remediation is upgrading Spring Cloud Function to a patched release: 3.2.16 for the 3.2.x line, 4.1.10 for 4.1.x, 4.2.6 for 4.2.x, 4.3.3 for 4.3.x, or 5.0.2 for 5.0.x, as documented in the Spring Security Advisory at https://spring.io/security/cve-2026-40990. Users on older, unsupported versions should migrate to a supported and patched release; HeroDevs may offer commercial extended support guidance at https://www.herodevs.com/vulnerability-directory/cve-2026-40990. Where immediate patching is not feasible, restrict access to any interface that permits dynamic function registration to only explicitly authorized and trusted principals, reducing the likelihood a low-privileged user can trigger unbounded registration. Configuring explicit JVM heap limits (e.g., -Xmx) and deploying the application in a containerized environment with memory cgroup limits can bound the blast radius of an OOM event and prevent host-level impact, though this trades available performance headroom and may introduce premature GC pressure under normal load. Monitoring for anomalous spikes in registered function counts or heap utilization can serve as a detection control.

Affected VersionsENISA

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

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 (CPE: cpe:2.3:a:spring:spring_cloud_function:*:*:*:*:*:*:*:*) is a Java framework developed under VMware/Broadcom's Spring portfolio that abstracts business logic as portable functions deployable across serverless runtimes, messaging platforms, and web endpoints. The Function Registry is a core internal component responsible for maintaining named function beans available to the runtime. The root cause is CWE-770 (Allocation of Resources Without Limits or Throttling): the registry imposes no cap on the quantity of functions that can be registered, allowing heap-allocated objects to accumulate without bound. In a JVM environment, uncontrolled heap growth results in an OutOfMemoryError, which can terminate the process or render it unresponsive. The CVSS scope value of Changed (S:C) indicates the OOM condition can propagate beyond the vulnerable component to affect the host JVM and any co-hosted services sharing the same process or memory space.

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 5.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

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.

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

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

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