{"answers":{"affected":"10 open source packages ship an affected version, including org.springframework.cloud:spring-cloud-function-context. It affects 1 product.","exploited":"There is no known exploitation of CVE-2026-40990 in the wild and no public exploit code.","fix":"Upgrade org.springframework.cloud:spring-cloud-function-context to a fixed version for your release line: 4.3.3 or 5.0.2.","what":"CVE-2026-40990 is a medium-severity denial of service vulnerability in Spring Cloud Function, published on 1 Jun 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2026-40990 and fix it if it is affected.\n\nWhat it is: CVE-2026-40990 is a medium-severity denial of service vulnerability in Spring Cloud Function, published on 1 Jun 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2026-40990 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.springframework.cloud:spring-cloud-function-context (Maven): affected from 3.2.10 up to 3.2.15; no fix listed\n- org.springframework.cloud:spring-cloud-function-context (Maven): affected from 3.2.10 up to 3.2.15; no fix listed\n- org.springframework.cloud:spring-cloud-function-context (Maven): affected from 4.1.0 up to 4.1.9; no fix listed\n- org.springframework.cloud:spring-cloud-function-context (Maven): affected from 4.1.0 up to 4.1.9; no fix listed\n- org.springframework.cloud:spring-cloud-function-context (Maven): affected from 4.2.0 up to 4.2.5; no fix listed\n- org.springframework.cloud:spring-cloud-function-context (Maven): affected from 4.2.0 up to 4.2.5; no fix listed\n- org.springframework.cloud:spring-cloud-function-context (Maven): affected from 4.3.0; fixed in 4.3.3\n- org.springframework.cloud:spring-cloud-function-context (Maven): affected from 4.3.0; fixed in 4.3.3\n- org.springframework.cloud:spring-cloud-function-context (Maven): affected from 5.0.0; fixed in 5.0.2\n- org.springframework.cloud:spring-cloud-function-context (Maven): affected from 5.0.0; fixed in 5.0.2\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-40990/ (Markdown: https://insights.sbomify.com/CVE-2026-40990/index.md)","id":"CVE-2026-40990","markdown":"https://insights.sbomify.com/CVE-2026-40990/index.md","name":"CVE-2026-40990","record":{"aliases":["GHSA-x4h3-g2x4-8gqv"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Spring Cloud Function","requires_auth":"low_privilege","summary":"Attackers can cause denial of service by exhausting memory through unbounded function registration in Spring Cloud Function.","user_interaction":"required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"vmware","cpe":[{"product":"spring_cloud_function","vendor":"vmware"}],"cvss":{"score":5.7,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:P/AC:L/PR:L/UI:R/S:C/C:N/I:L/A:H","version":"3.1"},"cwes":[{"id":"CWE-770","name":"Allocation of Resources Without Limits or Throttling"}],"description":"OOM error is possible while attempting to add infinite amount of functions to Function Registry.\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.","ecosystems":["Maven"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Unbounded cache for function definitions","id":"CVE-2026-40990","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"denial_of_service","year":"2026"},"n_packages":10,"n_references":1,"next":{"headline":"XML External Entity (XXE) injection when documenting untrusted XML content","id":"CVE-2026-40991"},"packages":[{"ecosystem":"Maven","fixed":[],"introduced":["3.2.10"],"last_affected":["3.2.15"],"package":"org.springframework.cloud:spring-cloud-function-context","purl":null,"source":"GHSA-x4h3-g2x4-8gqv"},{"ecosystem":"Maven","fixed":[],"introduced":["3.2.10"],"last_affected":["3.2.15"],"package":"org.springframework.cloud:spring-cloud-function-context","purl":"pkg:maven/org.springframework.cloud/spring-cloud-function-context","source":"GHSA-x4h3-g2x4-8gqv"},{"ecosystem":"Maven","fixed":[],"introduced":["4.1.0"],"last_affected":["4.1.9"],"package":"org.springframework.cloud:spring-cloud-function-context","purl":null,"source":"GHSA-x4h3-g2x4-8gqv"},{"ecosystem":"Maven","fixed":[],"introduced":["4.1.0"],"last_affected":["4.1.9"],"package":"org.springframework.cloud:spring-cloud-function-context","purl":"pkg:maven/org.springframework.cloud/spring-cloud-function-context","source":"GHSA-x4h3-g2x4-8gqv"},{"ecosystem":"Maven","fixed":[],"introduced":["4.2.0"],"last_affected":["4.2.5"],"package":"org.springframework.cloud:spring-cloud-function-context","purl":null,"source":"GHSA-x4h3-g2x4-8gqv"},{"ecosystem":"Maven","fixed":[],"introduced":["4.2.0"],"last_affected":["4.2.5"],"package":"org.springframework.cloud:spring-cloud-function-context","purl":"pkg:maven/org.springframework.cloud/spring-cloud-function-context","source":"GHSA-x4h3-g2x4-8gqv"},{"ecosystem":"Maven","fixed":["4.3.3"],"introduced":["4.3.0"],"last_affected":[],"package":"org.springframework.cloud:spring-cloud-function-context","purl":null,"source":"GHSA-x4h3-g2x4-8gqv"},{"ecosystem":"Maven","fixed":["4.3.3"],"introduced":["4.3.0"],"last_affected":[],"package":"org.springframework.cloud:spring-cloud-function-context","purl":"pkg:maven/org.springframework.cloud/spring-cloud-function-context","source":"GHSA-x4h3-g2x4-8gqv"},{"ecosystem":"Maven","fixed":["5.0.2"],"introduced":["5.0.0"],"last_affected":[],"package":"org.springframework.cloud:spring-cloud-function-context","purl":null,"source":"GHSA-x4h3-g2x4-8gqv"},{"ecosystem":"Maven","fixed":["5.0.2"],"introduced":["5.0.0"],"last_affected":[],"package":"org.springframework.cloud:spring-cloud-function-context","purl":"pkg:maven/org.springframework.cloud/spring-cloud-function-context","source":"GHSA-x4h3-g2x4-8gqv"}],"prev":{"headline":"Self Routing guard bypassed via function composition","id":"CVE-2026-40989"},"products":["Spring Cloud Function"],"published":"2026-06-01","related":[{"cvss_score":7.5,"headline":"Denial of Service in Spring Cloud Function","id":"CVE-2022-22979","kev_date_added":null,"published":"2022-06-21"},{"cvss_score":5.7,"headline":"Self Routing guard bypassed via function composition","id":"CVE-2026-40989","kev_date_added":null,"published":"2026-06-01"},{"cvss_score":3.1,"headline":"Spring Cloud Function can incorrectly determine if URI is secure","id":"CVE-2026-59297","kev_date_added":null,"published":"2026-08-27"},{"cvss_score":3.1,"headline":"Potential for improper filtering of HTTP headers in Spring Cloud Function","id":"CVE-2026-59298","kev_date_added":null,"published":"2026-08-27"},{"cvss_score":3.1,"headline":"Composition lookup can potentially poison base function in Spring Cloud Function","id":"CVE-2026-59299","kev_date_added":null,"published":"2026-08-27"},{"cvss_score":3.1,"headline":"Potential for logging sensitive data in Spring Cloud Function AWS","id":"CVE-2026-59300","kev_date_added":null,"published":"2026-08-27"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-06-01","vendors":["Spring"]},"summary":"Attackers can cause denial of service by exhausting memory through unbounded function registration in Spring Cloud Function.","url":"https://insights.sbomify.com/CVE-2026-40990/"}