{"answers":{"affected":"It affects 3 products.","exploited":"Yes. Attackers have exploited CVE-2016-0040 in the wild since at least 28 Mar 2022.","fix":"No fix has been published for CVE-2016-0040 yet. Limit exposure of the affected software until one is available. US federal agencies must fix it by 18 Apr 2022.","what":"CVE-2016-0040 is a high-severity vulnerability in Microsoft Windows 7, published on 10 Feb 2016. 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-2016-0040 and fix it if it is affected.\n\nWhat it is: CVE-2016-0040 is a high-severity vulnerability in Microsoft Windows 7, published on 10 Feb 2016. 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: Yes. Attackers have exploited CVE-2016-0040 in the wild since at least 28 Mar 2022.\n\nAffected product: Microsoft Windows 7. 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-2016-0040/ (Markdown: https://insights.sbomify.com/CVE-2016-0040/index.md)","id":"CVE-2016-0040","markdown":"https://insights.sbomify.com/CVE-2016-0040/index.md","name":"CVE-2016-0040","record":{"aliases":["GHSA-hvmm-257f-6qw7"],"analysis":{"component_type":"operating_system","fix_type":"patch","impacts":["privilege_escalation"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Windows Kernel","requires_auth":"none","summary":"Local attackers can gain elevated privileges on Windows systems by exploiting a vulnerability in the kernel via a crafted application.","user_interaction":"required","vuln_class":"privilege_escalation"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"microsoft","cpe":[{"product":"windows_7","vendor":"microsoft"},{"product":"windows_server_2008","vendor":"microsoft"},{"product":"windows_vista","vendor":"microsoft"}],"cvss":{"score":7.8,"severity":"high","source":"cisa-adp","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[],"description":"The kernel in Microsoft Windows Vista SP2, Windows Server 2008 SP2 and R2 SP1, and Windows 7 SP1 allows local users to gain privileges via a crafted application, aka \"Windows Elevation of Privilege Vulnerability.\"","ecosystems":[],"exploits":{"exploitdb":1,"first_seen":"2015-12-04","github_poc":2,"max_poc_stars":45,"metasploit":1,"nuclei":0,"refs":[{"date":"2016-02-26T18:00:30Z","kind":"github_poc","ref":"https://github.com/Rootkitsmm-zz/cve-2016-0040","stars":45,"title":"Exploiting CVE-2016-0040   uninitialized pointer"},{"date":"2017-08-03T22:28:54Z","kind":"github_poc","ref":"https://github.com/de7ec7ed/CVE-2016-0040","stars":14,"title":"CVE-2016-0040 Privilege Escalation Exploit For WMI Receive Notification Vulnerability (x86-64)"},{"date":"2015-12-04","kind":"metasploit","ref":"exploit/windows/local/ms16_014_wmi_recv_notif","stars":null,"title":"Windows WMI Receive Notification Exploit"},{"date":"2018-05-04","kind":"exploitdb","ref":"44586","stars":null,"title":"Microsoft Windows WMI - Recieve Notification Exploit (Metasploit)"}],"tier":"exploited"},"has_fix":null,"headline":"Microsoft Windows Kernel Privilege Escalation","id":"CVE-2016-0040","indexable":true,"kev":{"dateAdded":"2022-03-28","dueDate":"2022-04-18","knownRansomwareCampaignUse":"Unknown","product":"Windows","requiredAction":"Apply updates per vendor instructions.","vendorProject":"Microsoft","vulnerabilityName":"Microsoft Windows Kernel Privilege Escalation Vulnerability"},"kind":"cve","links":{"ecosystem":null,"product":"microsoft:windows_7","products":["microsoft:windows_7","microsoft:windows_server_2008","microsoft:windows_vista"],"type":"privilege_escalation","year":"2016"},"n_packages":0,"n_references":3,"next":{"headline":"Privilege escalation in n/a","id":"CVE-2016-0041"},"packages":[],"prev":{"headline":"Cross-site scripting in n/a","id":"CVE-2016-0039"},"products":["n/a"],"published":"2016-02-10","related":[{"cvss_score":9.8,"headline":"Microsoft HTTP.sys Remote Code Execution","id":"CVE-2015-1635","kev_date_added":"2022-02-10","published":"2015-04-14"},{"cvss_score":8.8,"headline":"Microsoft Win32k Privilege Escalation","id":"CVE-2015-2360","kev_date_added":"2022-05-25","published":"2015-06-10"},{"cvss_score":8.8,"headline":"Microsoft Kerberos Key Distribution Center (KDC) Privilege Escalation","id":"CVE-2014-6324","kev_date_added":"2022-03-25","published":"2014-11-18"},{"cvss_score":8.8,"headline":"Microsoft Windows Object Linking \u0026 Embedding (OLE) Automation Array Remote Code Execution","id":"CVE-2014-6332","kev_date_added":"2022-03-25","published":"2014-11-11"},{"cvss_score":8.8,"headline":"Microsoft Windows Remote Code Execution","id":"CVE-2014-4148","kev_date_added":"2022-05-25","published":"2014-10-15"},{"cvss_score":8.8,"headline":"Microsoft Windows Group Policy Preferences Password Privilege Escalation","id":"CVE-2014-1812","kev_date_added":"2021-11-03","published":"2014-05-14"},{"cvss_score":8.8,"headline":"Microsoft Windows Out-of-Bounds Write","id":"CVE-2013-3918","kev_date_added":"2025-10-06","published":"2013-11-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":"open","licence":"CC0 1.0","name":"CISA KEV"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"attribution","licence":"BSD-3-Clause","name":"Metasploit"},{"class":"attribution","licence":"GPL-2.0-or-later","name":"Exploit-DB"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"no","exploitation":"active","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-10-21","vendors":["n/a"]},"summary":"Local attackers can gain elevated privileges on Windows systems by exploiting a vulnerability in the kernel via a crafted application.","url":"https://insights.sbomify.com/CVE-2016-0040/"}