{"answers":{"affected":"It affects 2 products.","exploited":"There is no known exploitation of CVE-2026-40402 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2026-40402 yet. Limit exposure of the affected software until one is available.","what":"CVE-2026-40402 is a critical use after free vulnerability in Microsoft Windows 11 23h2, published on 12 May 2026. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-40402 and fix it if it is affected.\n\nWhat it is: CVE-2026-40402 is a critical use after free vulnerability in Microsoft Windows 11 23h2, published on 12 May 2026. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-40402 in the wild and no public exploit code.\n\nAffected product: Microsoft Windows 11 23h2. No package-level version data is available, so check the vendor advisory linked from the reference page.\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-40402/ (Markdown: https://insights.sbomify.com/CVE-2026-40402/index.md)","id":"CVE-2026-40402","markdown":"https://insights.sbomify.com/CVE-2026-40402/index.md","name":"CVE-2026-40402","record":{"aliases":["GHSA-h659-hh52-mv97"],"analysis":{"component_type":"operating_system","fix_type":"patch","impacts":["privilege_escalation"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Windows Hyper-V","requires_auth":"none","summary":"A use-after-free flaw in Windows Hyper-V allows local attackers to elevate privileges, requiring immediate patching for Windows 11 and Server 2022 users.","user_interaction":"not_required","vuln_class":"use_after_free"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"microsoft","cpe":[{"product":"windows_11_23h2","vendor":"microsoft"},{"product":"windows_server_2022","vendor":"microsoft"}],"cvss":{"score":9.3,"severity":"critical","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H/E:U/RL:O/RC:C","version":"3.1"},"cwes":[{"id":"CWE-416","name":"Use After Free"}],"description":"Use after free in Windows Hyper-V allows an unauthorized attacker to elevate privileges locally.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":null,"headline":"Windows Hyper-V Elevation of Privilege Vulnerability","id":"CVE-2026-40402","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"microsoft:windows_11_23h2","products":["microsoft:windows_11_23h2","microsoft:windows_server_2022"],"type":"use_after_free","year":"2026"},"n_packages":0,"n_references":1,"next":{"headline":"Windows Graphics Component Remote Code Execution Vulnerability","id":"CVE-2026-40403"},"packages":[],"prev":{"headline":"Windows TCP/IP Denial of Service Vulnerability","id":"CVE-2026-40401"},"products":["Windows 11 Version 23H2","Windows 11 version 23H2","Windows Server 2022"],"published":"2026-05-12","related":[{"cvss_score":7.8,"headline":"Microsoft Windows Link Following","id":"CVE-2026-81963","kev_date_added":"2026-09-08","published":"2026-09-08"},{"cvss_score":9.8,"headline":"Microsoft QUIC Remote Code Execution Vulnerability","id":"CVE-2026-100219","kev_date_added":null,"published":"2026-10-13"},{"cvss_score":9.8,"headline":"Windows BitLocker Remote Code Execution Vulnerability","id":"CVE-2026-96909","kev_date_added":null,"published":"2026-10-13"},{"cvss_score":9.8,"headline":"Microsoft QUIC Remote Code Execution Vulnerability","id":"CVE-2026-62815","kev_date_added":null,"published":"2026-08-11"},{"cvss_score":9.8,"headline":"Windows Kernel Remote Code Execution Vulnerability","id":"CVE-2026-45657","kev_date_added":null,"published":"2026-06-09"},{"cvss_score":9.8,"headline":"Windows DNS Client Remote Code Execution Vulnerability","id":"CVE-2026-41096","kev_date_added":null,"published":"2026-05-12"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"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":"total"},"state":"PUBLISHED","updated":"2026-08-10","vendors":["Microsoft"]},"summary":"A use-after-free flaw in Windows Hyper-V allows local attackers to elevate privileges, requiring immediate patching for Windows 11 and Server 2022 users.","url":"https://insights.sbomify.com/CVE-2026-40402/"}