Unbounded cache for function definitions

MEDIUM | MAY 08, 2026 | CVE-2026-40990

Description

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

Affected Spring Products and Versions

Spring Cloud Function:

  • 5.0.0 - 5.0.1
  • 4.3.0 - 4.3.2
  • 4.2.0 - 4.2.5
  • 4.1.0 - 4.1.9
  • 3.2.15 and earlier

Mitigation

Users of affected versions should upgrade to the corresponding fixed version.
Fix versionAvailability
5.0.2OSS
4.3.3OSS
4.2.6Enterprise Support Only
4.1.10Enterprise Support Only
3.2.16Enterprise Support Only

No further mitigation steps are necessary.

History

  • 2026-05-08: Initial vulnerability report published.

Get ahead

VMware offers training and certification to turbo-charge your progress.

Learn more

Get support

Tanzu Spring offers support and binaries for OpenJDK™, Spring, and Apache Tomcat® in one simple subscription.

Learn more

Upcoming events

Check out all the upcoming events in the Spring community.

View all