CVE-2026-40989: CWE-674 Uncontrolled Recursion in Spring Spring Cloud Function
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.
AI Analysis
Technical Summary
This vulnerability (CVE-2026-40989) involves uncontrolled recursion in the routing layer of Spring Cloud Function, which can cause the application to consume excessive memory and crash with an out-of-memory error. It affects Spring Cloud Function versions prior to 3.2.16, 4.1.10, 4.2.6, 4.3.3, and 5.0.2, including older unsupported versions. The CVSS score is 5.7 (medium severity) with an attack vector requiring physical access, low attack complexity, low privileges, and user interaction, impacting availability but not confidentiality or integrity. No vendor advisory or patch links are provided, and the remediation level is unknown.
Potential Impact
The primary impact is a denial of service condition caused by an out-of-memory error triggered by infinite recursion in the routing layer. There is no direct impact on confidentiality or integrity. Exploitation requires local access and user interaction, limiting the attack surface. No known exploits in the wild have been reported.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, users should consider upgrading to the fixed versions listed in the description once they are released. Monitoring and controlling user inputs that could trigger recursion may help mitigate risk temporarily.
CVE-2026-40989: CWE-674 Uncontrolled Recursion in Spring Spring Cloud Function
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 v3.1
Score 5.7medium
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This vulnerability (CVE-2026-40989) involves uncontrolled recursion in the routing layer of Spring Cloud Function, which can cause the application to consume excessive memory and crash with an out-of-memory error. It affects Spring Cloud Function versions prior to 3.2.16, 4.1.10, 4.2.6, 4.3.3, and 5.0.2, including older unsupported versions. The CVSS score is 5.7 (medium severity) with an attack vector requiring physical access, low attack complexity, low privileges, and user interaction, impacting availability but not confidentiality or integrity. No vendor advisory or patch links are provided, and the remediation level is unknown.
Potential Impact
The primary impact is a denial of service condition caused by an out-of-memory error triggered by infinite recursion in the routing layer. There is no direct impact on confidentiality or integrity. Exploitation requires local access and user interaction, limiting the attack surface. No known exploits in the wild have been reported.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, users should consider upgrading to the fixed versions listed in the description once they are released. Monitoring and controlling user inputs that could trigger recursion may help mitigate risk temporarily.
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: 6/1/2026, 7:52:38 PM
Last enriched: 6/1/2026, 7:53:57 PM
Last updated: 6/2/2026, 6:28:49 AM
Views: 5
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.