Skip to content
Fencer Vulns
medium 5.7

CVE-2026-40989 json

Self Routing guard bypassed via function composition

published 2026-06-01 5 mo ago modified 2026-07-22 3 mo ago also GHSA-x9c7-5h6g-hq8q , EUVD-2026-33733

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

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.

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-40989 updated cvss 6.5

spring-cloud-function-context: Spring Cloud Function: Denial of Service via infinite recursion in routing layer

  • Red Hat JBoss Enterprise Application Platform Expansion Pack spring-cloud-function-context
    affected: no fix available “Fix deferred”

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