Vulnerabilities

CVE-2026-40989

Medium 6.5 CVSS 3.1

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.

Description as published by the source, in English.

Key facts

Published
2026-06-01
Last modified
2026-07-22
Assigned by
security@vmware.com
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Scored by
nvd@nist.gov (NVD Primary)
Probability of exploitation
0.2 % higher than 12 % of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15
Fix available
Not registered in the sources

Affected products

Vendor Product Versions Status
org.springframework.cloud spring-cloud-function-context (Maven) ≥ 3.2.10, ≤ 3.2.15 Affected
org.springframework.cloud spring-cloud-function-context (Maven) ≥ 4.1.0, ≤ 4.1.9 Affected
org.springframework.cloud spring-cloud-function-context (Maven) ≥ 4.2.0, ≤ 4.2.5 Affected
org.springframework.cloud spring-cloud-function-context (Maven) ≥ 4.3.0, < 4.3.3 Affected
org.springframework.cloud spring-cloud-function-context (Maven) ≥ 5.0.0, < 5.0.2 Affected
Vmware Spring Cloud Function ≥ 3.2.0, < 3.2.16 Affected
Vmware Spring Cloud Function ≥ 4.1.0, < 4.1.10 Affected
Vmware Spring Cloud Function ≥ 4.2.0, < 4.2.6 Affected
Vmware Spring Cloud Function ≥ 4.3.0, < 4.3.3 Affected
Vmware Spring Cloud Function ≥ 5.0.0, < 5.0.2 Affected

Weakness type

  • CWE-674: Uncontrolled Recursion

    The product does not properly control the amount of recursion that takes place, consuming excessive resources, such as allocated memory or the program stack.

References

Related at Berigo

Articles

Does this affect you?

A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.

Check your asset list Browse all vulnerabilities