CVE-2026-40989: Under infinite recursion in the routing layer, request-handling can cause OOM error. Affected Spring Products
CVE-2026-40989 is a medium-severity flaw (CVSS 5.7) affecting spring cloud function. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- No elevated risk signals yet
A fixed release or distro patch exists.
Risk facts
| CVSS score | 5.7 (Medium) |
| Attack vector | Physical |
| Attack complexity | Low |
| Privileges needed | Low |
| User interaction | Required |
| EPSS exploit chance | 0.2% (top 89%) |
| CISA exploited list | No |
| Weakness | CWE-674 |
| Published | 2026-06-01 |
| Last modified | 2026-07-22 |
Last updated 2026-07-22 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2026-40989?
spring cloud function: upgrade to 3.2.16, 4.1.10, 4.2.6, 4.3.3, 5.0.2. Exact commands for each OS are on this page.
Is CVE-2026-40989 being exploited?
CVE-2026-40989 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2026-40989 affect?
CVE-2026-40989 affects spring cloud function. Severity is medium (CVSS 5.7). 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
How urgent is CVE-2026-40989?
Priority 23/100. No elevated risk signals yet.
Software pages
Related CVEs
- CVE-2026-59302 LOW 3.1 UPGRADE Potential for logging sensitive data in Spring Cloud Stream. Spring Cloud Stream 5.0.0 - 5.0.2 Spring Cloud St
- CVE-2026-59301 LOW 3.1 UPGRADE Potential for logging sensitive data in Spring Cloud Function Azure. Spring Cloud Function 5.0.0 - 5.0.3 Sprin
- CVE-2026-59297 LOW 3.1 UPGRADE Implementation of isSecure() call of ServerlessHttpServletRequest does not verify the actual scheme. Spring Cl
- CVE-2026-59298 LOW 3.1 UPGRADE Potential for improper filtering of HTTP headers in Spring Cloud Function. Spring Cloud Function 5.0.0 - 5.0.3
- CVE-2026-59299 LOW 3.1 UPGRADE Composition lookup can potentially poison base function in Spring Cloud Function. Spring Cloud Function 5.0.0