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

- Priority: **Routine**
- Reason: Not severe (CVSS 5.7, physical access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-06-01 · Modified: 2026-06-01
- Aliases: GHSA-x4h3-g2x4-8gqv
- Record: https://cvemate.com/vulnerability/CVE-2026-40990 · JSON: https://cvemate.com/vulnerability/CVE-2026-40990/json

## Description

```text
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.
```

## Signals

- CVSS: 6.5 medium (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- EPSS: 0.211%, percentile 12.044%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- org.springframework.cloud spring-cloud-function-context (Maven): ≥ 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
- spring spring cloud function: ≥ 3.2.0, \< 3.2.16 \| ≥ 4.1.0, \< 4.1.10 \| ≥ 4.2.0, \< 4.2.6 \| ≥ 4.3.0, \< 4.3.3 \| ≥ 5.0.0, \< 5.0.2
- vmware spring\_cloud\_function: ≥ 3.2.0, \< 3.2.16 \| ≥ 4.1.0, \< 4.1.10 \| ≥ 4.2.0, \< 4.2.6 \| ≥ 4.3.0, \< 4.3.3 \| ≥ 5.0.0, \< 5.0.2

## References

- <https://spring.io/security/cve-2026-40990>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-40990>

---

Data as of 2026-12-05T04:39:26.264Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
