CVE-2026-40990: Unbounded cache for function definitions

MODERATE | 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

  • 3.2.x
  • 4.2.x
  • 4.3.x
  • 5.0.x
  • Older, unsupported versions are also affected

Mitigation

Users of affected versions should upgrade to the corresponding fixed version.

Affected version(s) Fix version Availability
3.2.x 3.2.16 Enterprise Support Only
4.2.x 4.2.6 Enterprise Support Only
4.3.x 4.3.3 OSS
5.0.x 5.0.2 OSS

References

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