Allocation of Resources Without Limits or Throttling Affecting org.springframework.cloud:spring-cloud-function-context package, versions [,4.3.3)[5.0.0-M1, 5.0.2)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Allocation of Resources Without Limits or Throttling vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JAVA-ORGSPRINGFRAMEWORKCLOUD-16624644
  • published10 May 2026
  • disclosed8 May 2026
  • creditUnknown

Introduced: 8 May 2026

NewCVE-2026-40990  (opens in a new tab)
CWE-770  (opens in a new tab)

How to fix?

Upgrade org.springframework.cloud:spring-cloud-function-context to version 4.3.3, 5.0.2 or higher.

Overview

Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling through the SimpleFunctionRegistry composition and function wrapper cache in SimpleFunctionRegistry.java. An attacker can exhaust memory by supplying many distinct composed function lookups.

Note: Fixes for earlier branches including 4.2.x, and 3.2.x are available under enterprise support.

CVSS Base Scores

version 4.0
version 3.1