Every CVE Search/ Get API key

CVE-2026-40990

Unbounded cache for function definitions

5.7 MediumFix available

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.

Attack profile

How easy it is to exploit

Attack vector
Physical
Complexity
Low
Privileges needed
Low
User interaction
Required

What an attacker can affect

Confidentiality
None
Integrity
Low
Availability
High

Exploit likelihood

0.21%Up 0.2 points since Jun 2, 2026
90%50%10%1%

What each source reports

CVE List Score used 5.7

Unbounded cache for function definitions

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.

Record
CVE-2026-40990
CVSS 3.1
5.7 MediumCVSS:3.1/AV:P/AC:L/PR:L/UI:R/S:C/C:N/I:L/A:H
Weakness
CWE-770
Updated
2026-11-02
EUVDEUVD-2026-33734 5.7

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.

Record
EUVD-2026-33734
CVSS 3.1
5.7 MediumCVSS:3.1/AV:P/AC:L/PR:L/UI:R/S:C/C:N/I:L/A:H
Updated
2026-11-02
GitHub AdvisoriesGHSA-x4h3-g2x4-8gqv 5.7

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

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.

Record
GHSA-x4h3-g2x4-8gqv
CVSS 3.1
5.7 MediumCVSS:3.1/AV:P/AC:L/PR:L/UI:R/S:C/C:N/I:L/A:H
Weakness
CWE-770
Updated
2026-11-02
NVD 5.7

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.

Record
CVE-2026-40990
CVSS 3.1
5.7 MediumCVSS:3.1/AV:P/AC:L/PR:L/UI:R/S:C/C:N/I:L/A:H
CVSS 3.1
6.5 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weakness
CWE-770
Updated
2026-11-02
OSV 5.7

Unbounded cache for function definitions

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.

Record
CVE-2026-40990
CVSS 3.1
5.7 MediumCVSS:3.1/AV:P/AC:L/PR:L/UI:R/S:C/C:N/I:L/A:H
Weakness
CWE-770
Updated
2026-11-02
OSVGHSA-x4h3-g2x4-8gqv 5.7

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

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.

Record
GHSA-x4h3-g2x4-8gqv
CVSS 3.1
5.7 MediumCVSS:3.1/AV:P/AC:L/PR:L/UI:R/S:C/C:N/I:L/A:H
Weakness
CWE-770
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
org.springframework.cloud:spring-cloud-function-context
Maven
4.3.0 up to 4.3.3
4.3.3
org.springframework.cloud:spring-cloud-function-context
Maven
5.0.0 up to 5.0.2
5.0.2
org.springframework.cloud:spring-cloud-function-context
Maven
3.2.10 to 3.2.15 None known
org.springframework.cloud:spring-cloud-function-context
Maven
4.1.0 to 4.1.9 None known
org.springframework.cloud:spring-cloud-function-context
Maven
4.2.0 to 4.2.5 None known
org.springframework.cloud:spring-cloud-function-context
Maven
4.3.0 up to 4.3.3, plus listed versions
4.3.14.3.2
4.3.3
org.springframework.cloud:spring-cloud-function-context
Maven
5.0.0 up to 5.0.2, plus listed versions
5.0.1
5.0.2
org.springframework.cloud:spring-cloud-function-context
Maven
3.2.10 to 3.2.15, plus listed versions
3.2.113.2.12
None known
org.springframework.cloud:spring-cloud-function-context
Maven
4.1.0 to 4.1.9, plus listed versions
4.1.14.1.24.1.34.1.44.1.54.1.6
None known
org.springframework.cloud:spring-cloud-function-context
Maven
4.2.0 to 4.2.5, plus listed versions
4.2.14.2.24.2.34.2.4
None known

History

History
RecordedChangedSources
first indexedCVE List, EUVD, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2026-40990 is a medium vulnerability (CVSS 5.7) in Spring Cloud Function, published June 1, 2026. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.21%, the 11th percentile. Fixed in org.springframework.cloud:spring-cloud-function-context 4.3.3.

References

MoveEnter Open