{"answers":{"affected":"It affects 2 products.","exploited":"Yes. Attackers have exploited CVE-2018-8120 in the wild since at least 15 Mar 2022, including in ransomware campaigns.","fix":"No fix has been published for CVE-2018-8120 yet. Limit exposure of the affected software until one is available. US federal agencies must fix it by 5 Apr 2022.","what":"CVE-2018-8120 is a high-severity vulnerability in Microsoft Windows 7, published on 9 May 2018. 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-2018-8120 and fix it if it is affected.\n\nWhat it is: CVE-2018-8120 is a high-severity vulnerability in Microsoft Windows 7, published on 9 May 2018. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: Yes. Attackers have exploited CVE-2018-8120 in the wild since at least 15 Mar 2022, including in ransomware campaigns.\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-2018-8120/ (Markdown: https://insights.sbomify.com/CVE-2018-8120/index.md)","id":"CVE-2018-8120","markdown":"https://insights.sbomify.com/CVE-2018-8120/index.md","name":"CVE-2018-8120","record":{"aliases":["GHSA-v82r-2hh9-72g8"],"analysis":{"component_type":"operating_system","fix_type":"patch","impacts":["privilege_escalation"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Windows OS","requires_auth":"low_privilege","summary":"Attackers can exploit a Win32k memory handling flaw to gain elevated privileges on affected Windows systems.","user_interaction":"not_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"}],"cvss":{"score":7,"severity":"high","source":"cisa-adp","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-404","name":"Improper Resource Shutdown or Release"}],"description":"An elevation of privilege vulnerability exists in Windows when the Win32k component fails to properly handle objects in memory, aka \"Win32k Elevation of Privilege Vulnerability.\" This affects Windows Server 2008, Windows 7, Windows Server 2008 R2. This CVE ID is unique from CVE-2018-8124, CVE-2018-8164, CVE-2018-8166.","ecosystems":[],"exploits":{"exploitdb":2,"first_seen":"2018-05-09","github_poc":10,"max_poc_stars":497,"metasploit":1,"nuclei":0,"refs":[{"date":"2018-05-19T02:43:15Z","kind":"github_poc","ref":"https://github.com/rip1s/CVE-2018-8120","stars":497,"title":"CVE-2018-8120 Windows LPE exploit"},{"date":"2018-06-07T08:30:07Z","kind":"github_poc","ref":"https://github.com/alpha1ab/CVE-2018-8120","stars":295,"title":"CVE-2018-8120 Exploit for Win2003 Win2008 WinXP Win7 "},{"date":"2018-05-17T08:51:39Z","kind":"github_poc","ref":"https://github.com/bigric3/cve-2018-8120","stars":164,"title":null},{"date":"2018-06-05T03:12:52Z","kind":"github_poc","ref":"https://github.com/ne1llee/cve-2018-8120","stars":5,"title":null},{"date":"2018-07-11T02:41:16Z","kind":"github_poc","ref":"https://github.com/EVOL4/CVE-2018-8120","stars":1,"title":"dd"},{"date":"2018-08-16T10:51:00Z","kind":"github_poc","ref":"https://github.com/ozkanbilge/CVE-2018-8120","stars":1,"title":"CVE-2018-8120 Windows LPE exploit"},{"date":"2018-05-09","kind":"metasploit","ref":"exploit/windows/local/ms18_8120_win32k_privesc","stars":null,"title":"Windows SetImeInfoEx Win32k NULL Pointer Dereference"},{"date":"2018-10-22","kind":"exploitdb","ref":"45653","stars":null,"title":"Microsoft Windows - SetImeInfoEx Win32k NULL Pointer Dereference (Metasploit)"}],"tier":"exploited"},"has_fix":null,"headline":"Microsoft Win32k Privilege Escalation","id":"CVE-2018-8120","indexable":true,"kev":{"dateAdded":"2022-03-15","dueDate":"2022-04-05","knownRansomwareCampaignUse":"Known","product":"Win32k","requiredAction":"Apply updates per vendor instructions.","vendorProject":"Microsoft","vulnerabilityName":"Microsoft Win32k Privilege Escalation Vulnerability"},"kind":"cve","links":{"ecosystem":null,"product":"microsoft:windows_7","products":["microsoft:windows_7","microsoft:windows_server_2008"],"type":"privilege_escalation","year":"2018"},"n_packages":0,"n_references":4,"next":{"headline":"Information disclosure in Windows 10","id":"CVE-2018-8121"},"packages":[],"prev":{"headline":"Security feature bypass in C SDK","id":"CVE-2018-8119"},"products":["Windows 7","Windows Server 2008","Windows Server 2008 R2"],"published":"2018-05-09","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":"CWE Terms of Use","name":"CWE (MITRE)"},{"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":"2026-08-13","vendors":["Microsoft"]},"summary":"Attackers can exploit a Win32k memory handling flaw to gain elevated privileges on affected Windows systems.","url":"https://insights.sbomify.com/CVE-2018-8120/"}