Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.springframework.cloud/spring-cloud-function-context
  4. ›
  5. CVE-2026-40990

CVE-2026-40990: Spring Cloud Function Context: Uncontrolled Recursion is possible while attempting to add infinite amount of functions to Function Registry

June 1, 2026 (updated July 9, 2026)

OOM error is possible while attempting to add infinite amount of functions to Function Registry.

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.

References

  • github.com/advisories/GHSA-x4h3-g2x4-8gqv
  • nvd.nist.gov/vuln/detail/CVE-2026-40990
  • spring.io/security/cve-2026-40990

Code Behaviors & Features

Detect and mitigate CVE-2026-40990 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 3.2.10 up to 3.2.15, all versions starting from 4.1.0 up to 4.1.9, all versions starting from 4.2.0 up to 4.2.5, all versions starting from 4.3.0 before 4.3.3, all versions starting from 5.0.0 before 5.0.2

Fixed versions

  • 4.3.3
  • 5.0.2

Solution

Upgrade to versions 4.3.3, 5.0.2 or above.

Impact 5.7 MEDIUM

CVSS:3.1/AV:P/AC:L/PR:L/UI:R/S:C/C:N/I:L/A:H

Learn more about CVSS

Weakness

  • CWE-770: Allocation of Resources Without Limits or Throttling

Source file

maven/org.springframework.cloud/spring-cloud-function-context/CVE-2026-40990.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Fri, 10 Jul 2026 00:16:51 +0000.