# CVE-2026-40990: Unbounded cache for function definitions

- Severity: Medium 5.7 (CVSS:3.1, scored by vmware) `CVSS:3.1/AV:P/AC:L/PR:L/UI:R/S:C/C:N/I:L/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 12% of CVEs (2026-12-01)
- Published: 2026-06-01T17:49:16.377Z
- Modified: 2026-07-22T07:10:00.107Z
- Also known as: GHSA-x4h3-g2x4-8gqv
- Weaknesses: CWE-770
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: vmware

## 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: 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.

(As written by CVE List.)

## Affected

- Spring Spring Cloud Function: from 3.2.0 before 3.2.16; from 4.1.0 before 4.1.10; from 4.2.0 before 4.2.6; from 4.3.0 before 4.3.3; from 5.0.0 before 5.0.2
- org.springframework.cloud:spring-cloud-function-context (Maven): from 4.3.0 before 4.3.3; from 5.0.0 before 5.0.2; from 3.2.10 up to 3.2.15; from 4.1.0 up to 4.1.9; from 4.2.0 up to 4.2.5
- vmware spring_cloud_function: from 3.2.0 before 3.2.16; from 4.1.0 before 4.1.10; from 4.2.0 before 4.2.6; from 4.3.0 before 4.3.3; from 5.0.0 before 5.0.2

## Every score

- vmware: CVSS:3.1 5.7 Medium `CVSS:3.1/AV:P/AC:L/PR:L/UI:R/S:C/C:N/I:L/A:H`
- GitHub: CVSS:3.1 5.7 Medium `CVSS:3.1/AV:P/AC:L/PR:L/UI:R/S:C/C:N/I:L/A:H`
- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://spring.io/security/cve-2026-40990> (vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-40990> (advisory)

## Sources

- CVE List: [CVE-2026-40990](https://www.cve.org/CVERecord?id=CVE-2026-40990), CVE Terms of Use, modified 2026-06-01
- GitHub Advisory Database: [GHSA-x4h3-g2x4-8gqv](https://github.com/advisories/GHSA-x4h3-g2x4-8gqv), CC-BY-4.0, modified 2026-07-09
- NVD: [CVE-2026-40990](https://nvd.nist.gov/vuln/detail/CVE-2026-40990), Public domain, modified 2026-07-22

---

Page: https://cve.day/CVE-2026-40990 · Whole record: https://cve.day/CVE-2026-40990.json · Rebuilt by cve.day 2026-11-25T22:59:23.476Z
