Medium

Spring Cloud Function Context has Uncontrolled Recursion

  • Disclosed: 01.06.2026
  • Updated: 11.10.2026 12:22

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.

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Java / Kotlin (Maven) org.springframework.cloud:spring-cloud-function-context >= 4.3.0, < 4.3.3, >= 5.0.0, < 5.0.2, >= 3.2.10, <= 3.2.15, >= 4.1.0, <= 4.1.9, >= 4.2.0, <= 4.2.5 4.3.3, 5.0.2

References

CVSS score 5.7/10
CVSS vector
CVSS:3.1/AV:P/AC:L/PR:L/UI:R/S:C/C:N/I:L/A:H
Weakness (CWE)
CWE-674
Platform
Java / Kotlin (Maven)
Package
org.springframework.cloud:spring-cloud-function-context
Disclosed
01.06.2026
Updated
11.10.2026 12:22

Sources and licenses

OSV / GitHub Advisory Database - GHSA-x9c7-5h6g-hq8q - CC BY 4.0

Vulnerability history: org.springframework.cloud:spring-cloud-function-context

All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.

Total entries
4
First → latest
04.2022 06.2026
Without a fix
0
Exploited in attacks
1

Severity breakdown

  • Critical 1
  • High 1
  • Medium 2

Disclosures per year

  1. 2022: 1
  2. 2023: 0
  3. 2024: 1
  4. 2025: 0
  5. 2026: 2
  1. Spring Cloud Function Context has Uncontrolled Recursion this entry
    Medium · 5.7 CVE-2026-40989 >= 4.3.0, < 4.3.3, >= 5.0.0, < 5.0.2, >= 3.2.10, <= 3.2.15, >= 4.1.0, <= 4.1.9, >= 4.2.0, <= 4.2.5 4.3.3, 5.0.2
  2. Medium · 5.7 CVE-2026-40990 >= 4.3.0, < 4.3.3, >= 5.0.0, < 5.0.2, >= 3.2.10, <= 3.2.15, >= 4.1.0, <= 4.1.9, >= 4.2.0, <= 4.2.5 4.3.3, 5.0.2
  3. High · 8.2 CVE-2024-22271 >= 4.0.0, < 4.0.8, >= 4.1.0, < 4.1.2 4.0.8, 4.1.2
  4. Critical · 9.8 Exploited in attacks CVE-2022-22963 >= 3.2.0, < 3.2.3, < 3.1.7 3.2.3, 3.1.7

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.