CVE-2026-40989 Spring Cloud Function
| Affected software | Spring Cloud Function |
|---|---|
| Severity | 6.5 Medium CVSS 3.1 2 scores |
| Fixed in | 4.3.3, 5.0.2 |
| Weakness | CWE-674 |
| Published | 1 Jun 2026 |
| Updated | 22 Jul 2026 |
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.
Exploitation status
No public exploit
No exploit has been reported in the sources we check.
Exploitation status
- CISA KEV not listed
- VulnCheck KEV not listed
- CISA Vulnrichment exploitation: none
- Indexed PoC none indexed
- EPSS 0.21% chance in 30 days
Waratek protection
Within Waratek scope. In the sources we check, nobody has published exploit code for this CVE or reported it being exploited.
A public code fix exists: spring-cloud/spring-cloud-function 6bcd558.
- Protection none
- Action unverified
- Review automated Upstream data
- Record active
| Decided by | Medium or Low severity, no CISA or VulnCheck KEV listing, no PoC clearing the evidence bar, no CISA verdict, no Oracle advisory |
|---|---|
| Finding | This CVE is MEDIUM severity, is not listed in CISA KEV or VulnCheck KEV, has no public exploit or PoC in any indexed source, carries no CISA Vulnrichment finding of a demonstrated exploit, and is not part of an Oracle Critical Patch Update. None of the signals that would put it in front of an engineer is present, and the volume of CVEs below that bar is too great to take one at a time, so no rule is written for it. This is a decision about what we act on, not a finding that the CVE is harmless — a patch may well be derivable, and a low-severity defect can still be one link in a longer chain. |
CVSS
6.5 MEDIUM
v3.1 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
2 metrics
CVSS
6.5 MEDIUM v3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
2 metrics
We show the highest score from the newest CVSS version. Scores from different versions can't be compared, and the first score listed is sometimes a 0.0 placeholder.
| Version | Score | Band | Vector | Assigner | Type | |
|---|---|---|---|---|---|---|
| CVSS 3.1 | 6.5 | MEDIUM | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
NVD | Primary | published |
| CVSS 3.1 | 5.7 | MEDIUM | CVSS:3.1/AV:P/AC:L/PR:L/UI:R/S:C/C:N/I:L/A:H |
security@vmware.com | Secondary |
Affected software and releases
Maven packages
Affected and fixed versions, from OSV.dev| Package | Introduced | Fixed | Last affected |
|---|---|---|---|
org.springframework.cloud:spring-cloud-function-context |
4.3.0 | 4.3.3 |
unbounded |
org.springframework.cloud:spring-cloud-function-context |
5.0.0 | 5.0.2 |
unbounded |
org.springframework.cloud:spring-cloud-function-context |
3.2.10 | none | 3.2.15 |
org.springframework.cloud:spring-cloud-function-context |
4.1.0 | none | 4.1.9 |
org.springframework.cloud:spring-cloud-function-context |
4.2.0 | none | 4.2.5 |
Products and versions
2 products, 10 version entries| Source | Vendor | Product | Scheme | Affected versions |
|---|---|---|---|---|
| osv | org.springframework.cloud | spring-cloud-function-context | generic | ≥ 3.2.10 and ≤ 3.2.15 · ≥ 4.1.0 and ≤ 4.1.9 · ≥ 4.2.0 and ≤ 4.2.5 · ≥ 4.3.0 and < 4.3.3 · ≥ 5.0.0 and < 5.0.2 |
| nvd | vmware | spring cloud function | generic | ≥ 3.2.0 and < 3.2.16 · ≥ 4.1.0 and < 4.1.10 · ≥ 4.2.0 and < 4.2.6 · ≥ 4.3.0 and < 4.3.3 · ≥ 5.0.0 and < 5.0.2 |
References
Timeline
Timeline
| Published | 2026-06-01 | By the CVE Program. |
|---|---|---|
| NVD record modified | 2026-07-22 | NVD's own last-modified date for this record. |