{"answers":{"affected":"It affects 7 products.","exploited":"There is no known exploitation of CVE-2025-58731 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2025-58731 yet. Limit exposure of the affected software until one is available.","what":"CVE-2025-58731 is a high-severity use after free vulnerability in Microsoft Windows 11 22h2, published on 14 Oct 2025. 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-2025-58731 and fix it if it is affected.\n\nWhat it is: CVE-2025-58731 is a high-severity use after free vulnerability in Microsoft Windows 11 22h2, published on 14 Oct 2025. 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-2025-58731 in the wild and no public exploit code.\n\nAffected product: Microsoft Windows 11 22h2. 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-2025-58731/ (Markdown: https://insights.sbomify.com/CVE-2025-58731/index.md)","id":"CVE-2025-58731","markdown":"https://insights.sbomify.com/CVE-2025-58731/index.md","name":"CVE-2025-58731","record":{"aliases":["GHSA-g643-94j5-8586"],"analysis":{"component_type":"operating_system","fix_type":"patch","impacts":["code_execution"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Windows OS","requires_auth":"none","summary":"An attacker can execute arbitrary code locally via a use-after-free flaw in Windows Inbox COM Objects.","user_interaction":"required","vuln_class":"use_after_free"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"microsoft","cpe":[{"product":"windows_11_22h2","vendor":"microsoft"},{"product":"windows_11_23h2","vendor":"microsoft"},{"product":"windows_11_24h2","vendor":"microsoft"},{"product":"windows_11_25h2","vendor":"microsoft"},{"product":"windows_server_2022","vendor":"microsoft"},{"product":"windows_server_2022_23h2","vendor":"microsoft"},{"product":"windows_server_2025","vendor":"microsoft"}],"cvss":{"score":7,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/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 Inbox COM Objects allows an unauthorized attacker to execute code 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":"Inbox COM Objects (Global Memory) Remote Code Execution Vulnerability","id":"CVE-2025-58731","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"microsoft:windows_11_22h2","products":["microsoft:windows_11_22h2","microsoft:windows_11_23h2","microsoft:windows_11_24h2","microsoft:windows_11_25h2","microsoft:windows_server_2022","microsoft:windows_server_2022_23h2","microsoft:windows_server_2025"],"type":"use_after_free","year":"2025"},"n_packages":0,"n_references":1,"next":{"headline":"Inbox COM Objects (Global Memory) Remote Code Execution Vulnerability","id":"CVE-2025-58732"},"packages":[],"prev":{"headline":"Inbox COM Objects (Global Memory) Remote Code Execution Vulnerability","id":"CVE-2025-58730"},"products":["Windows 11 Version 23H2","Windows 11 Version 24H2","Windows 11 Version 25H2","Windows 11 version 22H2","Windows 11 version 22H3","Windows Server 2022","Windows Server 2022, 23H2 Edition (Server Core installation)","Windows Server 2025","Windows Server 2025 (Server Core installation)"],"published":"2025-10-14","related":[{"cvss_score":8.8,"headline":"Windows Hyper-V Remote Code Execution Vulnerability","id":"CVE-2024-49117","kev_date_added":null,"published":"2024-12-10"},{"cvss_score":8.8,"headline":"Windows OLE Remote Code Execution Vulnerability","id":"CVE-2024-21435","kev_date_added":null,"published":"2024-03-12"},{"cvss_score":8.4,"headline":"Windows Subsystem for Linux (WSL2) Kernel Remote Code Execution Vulnerability","id":"CVE-2025-24084","kev_date_added":null,"published":"2025-03-11"},{"cvss_score":8.1,"headline":"Remote Desktop Spoofing Vulnerability","id":"CVE-2025-33054","kev_date_added":null,"published":"2025-07-08"},{"cvss_score":8.1,"headline":"Windows Schannel Remote Code Execution Vulnerability","id":"CVE-2025-29828","kev_date_added":null,"published":"2025-06-10"},{"cvss_score":8.1,"headline":"Microsoft Windows VMSwitch Elevation of Privilege Vulnerability","id":"CVE-2024-43625","kev_date_added":null,"published":"2024-11-12"},{"cvss_score":8,"headline":"Secure Boot Security Feature Bypass Vulnerability","id":"CVE-2024-37978","kev_date_added":null,"published":"2024-07-09"}],"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-02-26","vendors":["Microsoft"]},"summary":"An attacker can execute arbitrary code locally via a use-after-free flaw in Windows Inbox COM Objects.","url":"https://insights.sbomify.com/CVE-2025-58731/"}