CVE-2026-40989
Spring Cloud Function Context has Uncontrolled Recursion
5.7
MEDIUM
CVSS 3.1
EPSS 0.21%
Description
Under infinite recursion in the routing layer, request-handling can cause OOM error. 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.
How to fix CVE-2026-40989
To remediate CVE-2026-40989, upgrade the affected package to a fixed version below.
- —upgrade to 4.3.3 or later
Is CVE-2026-40989 being exploited?
Low — EPSS is 0.2%, meaning exploitation activity has not been observed at scale.
Affected packages (1)
- >= 4.3.0, < 4.3.3
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM5.7 | CVSS:3.1/AV:P/AC:L/PR:L/UI:R/S:C/C:N/I:L/A:H |