Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.2%top 88%

CVE-2026-40989: CWE-674 Uncontrolled Recursion in Spring Spring Cloud Function

0
Medium
VulnerabilityCVE-2026-40989cvecve-2026-40989cwe-674
Published: 06/01/2026 (06/01/2026, 17:49:14 UTC)
Source: CVE Database V5
Vendor/Project: Spring
Product: Spring Cloud Function

Description

CVE-2026-40989 is a medium severity vulnerability in Spring Cloud Function involving uncontrolled recursion in the routing layer. This flaw can cause an out-of-memory (OOM) condition, resulting in denial of service. It does not affect confidentiality but impacts availability due to resource exhaustion. The vulnerability affects specific versions of Spring Cloud Function. No official patch or remediation guidance is currently confirmed.

CVSS v3.1

Score 5.7medium

Attack Vector
Physical
Attack Complexity
Low
Privileges Required
Low
User Interaction
Required
Scope
Changed
Confidentiality
None
Integrity
Low
Availability
High
CVSS:3.1/AV:P/AC:L/PR:L/UI:R/S:C/C:N/I:L/A:H

Affected software

org.springframework.cloud/spring-cloud-function
pkg:maven/org.springframework.cloud/spring-cloud-function
Affected versions
=3.2.0=4.1.0=4.2.0=4.3.0=5.0.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/10/2026, 10:25:44 UTC

Technical Analysis

CVE-2026-40989 is a vulnerability classified under CWE-674 (Uncontrolled Recursion) found in Spring Cloud Function. The issue arises from uncontrolled recursion in the routing layer, which can lead to excessive memory consumption and ultimately an out-of-memory error. This results in denial of service by exhausting system resources. The vulnerability affects multiple specific versions of Spring Cloud Function, namely 3.2.0, 4.1.0, 4.2.0, 4.3.0, and 5.0.0. There is no confirmed remediation or patch available as per the provided data.

Potential Impact

The vulnerability does not compromise confidentiality or integrity but can cause denial of service through resource exhaustion (out-of-memory). This can disrupt availability of applications using affected versions of Spring Cloud Function.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, consider limiting exposure of affected components and monitoring for abnormal resource usage related to recursion in the routing layer.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
vmware
Date Reserved
2026-04-16T02:19:09.389Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 6a1de306e29bf47b503a5336

Added to database: 06/01/2026, 19:52:38 UTC

Last enriched: 07/10/2026, 10:25:44 UTC

Last updated: 07/31/2026, 19:22:58 UTC

Views: 97

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses