Vulnerability · Published Jun 1, 2026 · Assigned by vmware

CVE-2026-40990Unbounded cache for function definitions

Medium 5.7

In plain English

A medium-severity resource allocation without limits in Spring Cloud Function from Spring. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 11% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)5.7Medium
Exploit odds (30 days)0.2%top 88.6% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Mavenorg.springframework.cloud:spring-cloud-function-context4.3.3GHSA-x4h3-g2x4-8gqv
Mavenorg.springframework.cloud:spring-cloud-function-context5.0.2GHSA-x4h3-g2x4-8gqv
Mavenorg.springframework.cloud:spring-cloud-function-contextno fix listedGHSA-x4h3-g2x4-8gqv
Mavenorg.springframework.cloud:spring-cloud-function-contextno fix listedGHSA-x4h3-g2x4-8gqv
Mavenorg.springframework.cloud:spring-cloud-function-contextno fix listedGHSA-x4h3-g2x4-8gqv

Affected products (as reported)

VendorProductVersions
Spring Spring Cloud Function 3.2.0 – before 3.2.164.1.0 – before 4.1.104.2.0 – before 4.2.64.3.0 – before 4.3.35.0.0 – before 5.0.2

Weakness: CWE-770 · Vector: CVSS:3.1/AV:P/AC:L/PR:L/UI:R/S:C/C:N/I:L/A:H

References