CVE-2026-40989

Medium

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.

SeverityMedium
CVSS5.7
Exploit probability—
ProductVmware Spring Cloud Function
PublishedJun 1, 2026
First seenJun 1, 2026
Weakness typeCWE-674CWE-674

How to fix

Update
  • vmware spring_cloud_function3.2.16, 4.1.10, 4.2.6, 4.3.3, 5.0.2 or later
  • org.springframework.cloud:spring-cloud-function-context4.3.3, 5.0.2 or later

Affected products

ProductAffected versionsFixed in
vmware spring_cloud_function3.2.0 ≤ v < 3.2.16, 4.1.0 ≤ v < 4.1.10, 4.2.0 ≤ v < 4.2.6, 4.3.0 ≤ v < 4.3.3, 5.0.0 ≤ v < 5.0.23.2.16, 4.1.10, 4.2.6, 4.3.3, 5.0.2
org.springframework.cloud:spring-cloud-function-contextMaven4.3.0 ≤ v < 4.3.3, 5.0.0 ≤ v < 5.0.2, 3.2.10 ≤ v ≤ 3.2.15, 4.1.0 ≤ v ≤ 4.1.9, 4.2.0 ≤ v ≤ 4.2.54.3.3, 5.0.2

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.