Skip to content
Fencer Vulns
medium 5.7

CVE-2026-40990 json

Unbounded cache for function definitions

published 2026-06-01 5 mo ago modified 2026-07-22 3 mo ago also GHSA-x4h3-g2x4-8gqv , EUVD-2026-33734

cvss
5.7
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.2%
EPSS 0.2% chance of exploitation in 30 days, percentile 11%
public exploits
0
none known

Summary

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.

Patch / fix

  • maven org.springframework.cloud:spring-cloud-function-context 4.3.3, 5.0.2
  • Spring Spring Cloud Function 3.2.16, 4.1.10, 4.2.6, 4.3.3, 5.0.2

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2026-40990 updated cvss 5.5

spring-cloud-function: Spring Cloud Function: Denial of Service via excessive function registration

  • Red Hat JBoss Enterprise Application Platform Expansion Pack spring-cloud-function-context
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
partial
Assessed
5 mo ago

Exploit prediction

0.21% chance of exploitation in the next 30 days, higher than 11% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CNA 3.1 5.7 CVSS:3.1/AV:P/AC:L/PR:L/UI:R/S:C/C:N/I:L/A:H
NVD 3.1 6.5 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
GitHub 3.1 5.7 CVSS:3.1/AV:P/AC:L/PR:L/UI:R/S:C/C:N/I:L/A:H

Affected packages

ecosystem package affected fixed in
maven org.springframework.cloud:spring-cloud-function-context
>=4.3.0, <4.3.3
>=5.0.0, <5.0.2
>=3.2.10, <=3.2.15
>=4.1.0, <=4.1.9
>=4.2.0, <=4.2.5
4.3.3
5.0.2

Affected products

  • Spring Spring Cloud Function

Classification

Weakness
  • CWE-770 Allocation of Resources Without Limits or Throttling
Technology feeds

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.