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.
Published: 2026-06-01
Score: 5.7 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

This issue involves an infinite recursion in the routing layer of Spring Cloud Function, causing an out‑of‑memory error when handling requests. The vulnerability leads to resource exhaustion and termination of the application, effectively denying service to legitimate users. The weakness corresponds to uncontrolled recursion (CWE‑674).

Affected Systems

The affected products are Spring Cloud Function from the Spring vendor. Versions prior to 3.2.16 in the 3.2.x line, prior to 4.1.10 in the 4.1.x line, prior to 4.2.6 in the 4.2.x line, prior to 4.3.3 in the 4.3.x line, and prior to 5.0.2 in the 5.0.x line are vulnerable; older, unsupported releases are also impacted.

Risk and Exploitability

Based on the description, it is inferred that an attacker with network access can send a crafted request that engages the routing mechanism to trigger the infinite recursion. With the resulting out‑of‑memory crash, the application terminates, denying service to all users of the affected instance. The CVSS score of 5.7 classifies this vulnerability as moderate, and the lack of an EPSS score and its absence from the CISA KEV catalog suggest that large‑scale exploitation is unlikely at present. Nonetheless, the attack can be executed without elevated privileges, highlighting the significance of promptly applying the fix.

Generated by OpenCVE AI on June 1, 2026 at 21:25 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Spring Cloud Function to version 3.2.16, 4.1.10, 4.2.6, 4.3.3, or 5.0.2 (or later) to apply the out‑of‑memory safeguard fix.
  • If an upgrade cannot be performed immediately, reconfigure or disable function composition paths that invoke recursive routing to avoid triggering the out‑of‑memory error.
  • Implement memory usage monitoring and configure alerts or automated restarts to quickly recover from any remaining out‑of‑memory incidents, mitigating temporary service disruption.

Generated by OpenCVE AI on June 1, 2026 at 21:25 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

References
History

Mon, 01 Jun 2026 20:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Mon, 01 Jun 2026 19:00:00 +0000

Type Values Removed Values Added
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.
Title Self Routing guard bypassed via function composition
Weaknesses CWE-674
References
Metrics cvssV3_1

{'score': 5.7, 'vector': 'CVSS:3.1/AV:P/AC:L/PR:L/UI:R/S:C/C:N/I:L/A:H'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: vmware

Published:

Updated: 2026-06-01T19:35:11.824Z

Reserved: 2026-04-16T02:19:09.389Z

Link: CVE-2026-40989

cve-icon Vulnrichment

Updated: 2026-06-01T19:35:06.936Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-06-01T19:16:39.583

Modified: 2026-06-02T14:01:54.893

Link: CVE-2026-40989

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-06-01T21:30:26Z

Weaknesses