{"api_version":"1","generated_at":"2026-06-01T22:32:13+00:00","cve":"CVE-2026-40989","urls":{"html":"https://cve.report/CVE-2026-40989","api":"https://cve.report/api/cve/CVE-2026-40989.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-40989","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-40989"},"summary":{"title":"Self Routing guard bypassed via function composition","description":"Under infinite recursion in the routing layer, request-handling can cause OOM error.\n\nAffected Spring Products and Versions:\nSpring Cloud Function 3.2.x: versions prior to 3.2.16\nSpring Cloud Function 4.1.x: versions prior to 4.1.10\nSpring Cloud Function 4.2.x: versions prior to 4.2.6\nSpring Cloud Function 4.3.x: versions prior to 4.3.3\nSpring Cloud Function 5.0.x: versions prior to 5.0.2\nOlder, unsupported versions are also affected.","state":"PUBLISHED","assigner":"vmware","published_at":"2026-06-01 19:16:39","updated_at":"2026-06-01 19:16:39"},"problem_types":["CWE-674","CWE-674 CWE-674 Uncontrolled Recursion"],"metrics":[{"version":"3.1","source":"security@vmware.com","type":"Secondary","score":"5.7","severity":"MEDIUM","vector":"CVSS:3.1/AV:P/AC:L/PR:L/UI:R/S:C/C:N/I:L/A:H","data":{"version":"3.1","vectorString":"CVSS:3.1/AV:P/AC:L/PR:L/UI:R/S:C/C:N/I:L/A:H","baseScore":5.7,"baseSeverity":"MEDIUM","attackVector":"PHYSICAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"REQUIRED","scope":"CHANGED","confidentialityImpact":"NONE","integrityImpact":"LOW","availabilityImpact":"HIGH"}},{"version":"3.1","source":"CNA","type":"CVSS","score":"5.7","severity":"MEDIUM","vector":"CVSS:3.1/AV:P/AC:L/PR:L/UI:R/S:C/C:N/I:L/A:H","data":{"attackComplexity":"LOW","attackVector":"PHYSICAL","availabilityImpact":"HIGH","baseScore":5.7,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"LOW","privilegesRequired":"LOW","scope":"CHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:P/AC:L/PR:L/UI:R/S:C/C:N/I:L/A:H","version":"3.1"}}],"references":[{"url":"https://spring.io/security/cve-2026-40989","name":"https://spring.io/security/cve-2026-40989","refsource":"security@vmware.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-40989","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-40989","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Spring","product":"Spring Cloud Function","version":"affected 3.2.0 3.2.16 custom","platforms":[]},{"source":"CNA","vendor":"Spring","product":"Spring Cloud Function","version":"affected 4.1.0 4.1.10 custom","platforms":[]},{"source":"CNA","vendor":"Spring","product":"Spring Cloud Function","version":"affected 4.2.0 4.2.6 custom","platforms":[]},{"source":"CNA","vendor":"Spring","product":"Spring Cloud Function","version":"affected 4.3.0 4.3.3 custom","platforms":[]},{"source":"CNA","vendor":"Spring","product":"Spring Cloud Function","version":"affected 5.0.0 5.0.2 custom","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Spring Cloud Function","vendor":"Spring","versions":[{"lessThan":"3.2.16","status":"affected","version":"3.2.0","versionType":"custom"},{"lessThan":"4.1.10","status":"affected","version":"4.1.0","versionType":"custom"},{"lessThan":"4.2.6","status":"affected","version":"4.2.0","versionType":"custom"},{"lessThan":"4.3.3","status":"affected","version":"4.3.0","versionType":"custom"},{"lessThan":"5.0.2","status":"affected","version":"5.0.0","versionType":"custom"}]}],"descriptions":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"Under infinite recursion in the routing layer, request-handling can cause OOM error.<br><br>Affected Spring Products and Versions:<br>Spring Cloud Function 3.2.x: versions prior to 3.2.16<br>Spring Cloud Function 4.1.x: versions prior to 4.1.10<br>Spring Cloud Function 4.2.x: versions prior to 4.2.6<br>Spring Cloud Function 4.3.x: versions prior to 4.3.3<br>Spring Cloud Function 5.0.x: versions prior to 5.0.2<br>Older, unsupported versions are also affected."}],"value":"Under infinite recursion in the routing layer, request-handling can cause OOM error.\n\nAffected Spring Products and Versions:\nSpring Cloud Function 3.2.x: versions prior to 3.2.16\nSpring Cloud Function 4.1.x: versions prior to 4.1.10\nSpring Cloud Function 4.2.x: versions prior to 4.2.6\nSpring Cloud Function 4.3.x: versions prior to 4.3.3\nSpring Cloud Function 5.0.x: versions prior to 5.0.2\nOlder, unsupported versions are also affected."}],"impacts":[{"descriptions":[{"lang":"en","value":"Under infinite recursion in the routing layer, request-handling can cause an OOM error, leading to denial of service."}]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"PHYSICAL","availabilityImpact":"HIGH","baseScore":5.7,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"LOW","privilegesRequired":"LOW","scope":"CHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:P/AC:L/PR:L/UI:R/S:C/C:N/I:L/A:H","version":"3.1"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-674","description":"CWE-674 Uncontrolled Recursion","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2026-06-01T17:49:14.102Z","orgId":"dcf2e128-44bd-42ed-91e8-88f912c1401d","shortName":"vmware"},"references":[{"url":"https://spring.io/security/cve-2026-40989"}],"source":{"discovery":"UNKNOWN"},"title":"Self Routing guard bypassed via function composition"}},"cveMetadata":{"assignerOrgId":"dcf2e128-44bd-42ed-91e8-88f912c1401d","assignerShortName":"vmware","cveId":"CVE-2026-40989","datePublished":"2026-06-01T17:49:14.102Z","dateReserved":"2026-04-16T02:19:09.389Z","dateUpdated":"2026-06-01T17:49:14.102Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-06-01 19:16:39","lastModifiedDate":"2026-06-01 19:16:39","problem_types":["CWE-674","CWE-674 CWE-674 Uncontrolled Recursion"],"metrics":{"cvssMetricV31":[{"source":"security@vmware.com","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:P/AC:L/PR:L/UI:R/S:C/C:N/I:L/A:H","baseScore":5.7,"baseSeverity":"MEDIUM","attackVector":"PHYSICAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"REQUIRED","scope":"CHANGED","confidentialityImpact":"NONE","integrityImpact":"LOW","availabilityImpact":"HIGH"},"exploitabilityScore":0.5,"impactScore":4.7}]},"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"40989","Ordinal":"1","Title":"Self Routing guard bypassed via function composition","CVE":"CVE-2026-40989","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"40989","Ordinal":"1","NoteData":"Under infinite recursion in the routing layer, request-handling can cause OOM error.\n\nAffected Spring Products and Versions:\nSpring Cloud Function 3.2.x: versions prior to 3.2.16\nSpring Cloud Function 4.1.x: versions prior to 4.1.10\nSpring Cloud Function 4.2.x: versions prior to 4.2.6\nSpring Cloud Function 4.3.x: versions prior to 4.3.3\nSpring Cloud Function 5.0.x: versions prior to 5.0.2\nOlder, unsupported versions are also affected.","Type":"Description","Title":"Self Routing guard bypassed via function composition"}]}}}