{"answers":{"affected":"It affects 10 products.","exploited":"Yes. Attackers have exploited CVE-2018-8174 in the wild since at least 15 Feb 2022, including in ransomware campaigns.","fix":"No fix has been published for CVE-2018-8174 yet. Limit exposure of the affected software until one is available. US federal agencies must fix it by 15 Aug 2022.","what":"CVE-2018-8174 is a high-severity memory corruption vulnerability in Microsoft Windows 10 1607, published on 9 May 2018. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2018-8174 and fix it if it is affected.\n\nWhat it is: CVE-2018-8174 is a high-severity memory corruption vulnerability in Microsoft Windows 10 1607, published on 9 May 2018. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: Yes. Attackers have exploited CVE-2018-8174 in the wild since at least 15 Feb 2022, including in ransomware campaigns.\n\nAffected product: Microsoft Windows 10 1607. 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-8174/ (Markdown: https://insights.sbomify.com/CVE-2018-8174/index.md)","id":"CVE-2018-8174","markdown":"https://insights.sbomify.com/CVE-2018-8174/index.md","name":"CVE-2018-8174","record":{"aliases":["GHSA-5cv8-848m-hmm2"],"analysis":{"component_type":"operating_system","fix_type":"patch","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Windows VBScript Engine","requires_auth":"none","summary":"Remote code execution via memory corruption in the Windows VBScript engine allows attackers to execute arbitrary code.","user_interaction":"required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"microsoft","cpe":[{"product":"windows_10_1607","vendor":"microsoft"},{"product":"windows_10_1703","vendor":"microsoft"},{"product":"windows_10_1709","vendor":"microsoft"},{"product":"windows_10_1803","vendor":"microsoft"},{"product":"windows_7","vendor":"microsoft"},{"product":"windows_8.1","vendor":"microsoft"},{"product":"windows_rt_8.1","vendor":"microsoft"},{"product":"windows_server_2008","vendor":"microsoft"},{"product":"windows_server_2012","vendor":"microsoft"},{"product":"windows_server_2016","vendor":"microsoft"}],"cvss":{"score":7.5,"severity":"high","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-787","name":"Out-of-bounds Write"}],"description":"A remote code execution vulnerability exists in the way that the VBScript engine handles objects in memory, aka \"Windows VBScript Engine Remote Code Execution Vulnerability.\" This affects Windows 7, Windows Server 2012 R2, Windows RT 8.1, Windows Server 2008, Windows Server 2012, Windows 8.1, Windows Server 2016, Windows Server 2008 R2, Windows 10, Windows 10 Servers.","ecosystems":[],"exploits":{"exploitdb":1,"first_seen":"2018-05-21","github_poc":9,"max_poc_stars":167,"metasploit":0,"nuclei":0,"refs":[{"date":"2018-05-22T21:50:32Z","kind":"github_poc","ref":"https://github.com/0x09AL/CVE-2018-8174-msf","stars":167,"title":"CVE-2018-8174 - VBScript memory corruption exploit."},{"date":"2018-05-30T03:12:32Z","kind":"github_poc","ref":"https://github.com/Yt1g3r/CVE-2018-8174_EXP","stars":138,"title":"CVE-2018-8174_python"},{"date":"2018-07-10T19:31:25Z","kind":"github_poc","ref":"https://github.com/piotrflorczyk/cve-2018-8174_analysis","stars":30,"title":"Analysis of VBS exploit CVE-2018-8174"},{"date":"2019-05-23T10:28:40Z","kind":"github_poc","ref":"https://github.com/ruthlezs/ie11_vbscript_exploit","stars":9,"title":"Exploit Generator for CVE-2018-8174 \u0026 CVE-2019-0768 (RCE via VBScript Execution in IE11)"},{"date":"2018-06-01T22:12:54Z","kind":"github_poc","ref":"https://github.com/SyFi/CVE-2018-8174","stars":6,"title":"MS Word MS WordPad via IE VBS Engine RCE "},{"date":"2018-05-21","kind":"exploitdb","ref":"44741","stars":null,"title":"Microsoft Internet Explorer 11 (Windows 7 x86/x64) - vbscript Code Execution"},{"date":"2018-06-26T09:03:45Z","kind":"github_poc","ref":"https://github.com/orf53975/Rig-Exploit-for-CVE-2018-8174","stars":0,"title":"Rig Exploit for CVE-2018-8174 As with its previous campaigns, Rig’s Seamless campaign uses malvertising.  In this case, the malvertisements have a hidden iframe that redirects victims to Rig’s landing page,  which includes an exploit for CVE-2018-8174 and shellcode.  This enables remote code execution of the shellcode obfuscated in the landing page.  After successful exploitation, a second-stage downloader is retrieved,  which appears to be a variant of SmokeLoader due to the URL.  It would then download the final payload, a Monero miner."},{"date":"2018-09-06T04:03:25Z","kind":"github_poc","ref":"https://github.com/likekabin/CVE-2018-8174-msf","stars":0,"title":null}],"tier":"exploited"},"has_fix":null,"headline":"Microsoft Windows VBScript Engine Out-of-Bounds Write","id":"CVE-2018-8174","indexable":true,"kev":{"dateAdded":"2022-02-15","dueDate":"2022-08-15","knownRansomwareCampaignUse":"Known","product":"Windows","requiredAction":"Apply updates per vendor instructions.","vendorProject":"Microsoft","vulnerabilityName":"Microsoft Windows VBScript Engine Out-of-Bounds Write Vulnerability"},"kind":"cve","links":{"ecosystem":null,"product":"microsoft:windows_10_1607","products":["microsoft:windows_10_1607","microsoft:windows_7","microsoft:windows_8.1","microsoft:windows_rt_8.1","microsoft:windows_server_2008","microsoft:windows_server_2012","microsoft:windows_server_2016"],"type":"memory_corruption","year":"2018"},"n_packages":0,"n_references":4,"next":{"headline":"Denial of service in Windows 10","id":"CVE-2018-8175"},"packages":[],"prev":{"headline":"Memory corruption in Microsoft Infopath","id":"CVE-2018-8173"},"products":["Windows 10","Windows 10 Servers","Windows 7","Windows 8.1","Windows RT 8.1","Windows Server 2008","Windows Server 2008 R2","Windows Server 2012","Windows Server 2012 R2","Windows Server 2016"],"published":"2018-05-09","related":[{"cvss_score":9.8,"headline":"Microsoft Internet Key Exchange (IKE) Service Extensions Double Free","id":"CVE-2026-33824","kev_date_added":"2026-08-18","published":"2026-04-14"},{"cvss_score":8.8,"headline":"Microsoft Windows Shell Protection Mechanism Failure","id":"CVE-2026-21510","kev_date_added":"2026-02-10","published":"2026-02-10"},{"cvss_score":8.8,"headline":"Microsoft MSHTML Framework Protection Mechanism Failure","id":"CVE-2026-21513","kev_date_added":"2026-02-10","published":"2026-02-10"},{"cvss_score":8.8,"headline":"Microsoft Windows Defender SmartScreen Security Feature Bypass","id":"CVE-2023-32049","kev_date_added":"2023-07-11","published":"2023-07-11"},{"cvss_score":8.4,"headline":"Microsoft Streaming Service Untrusted Pointer Dereference","id":"CVE-2023-29360","kev_date_added":"2024-02-29","published":"2023-06-13"},{"cvss_score":7.8,"headline":"Microsoft Windows Heap-Based Buffer Overflow","id":"CVE-2026-85880","kev_date_added":"2026-09-08","published":"2026-09-08"},{"cvss_score":7.8,"headline":"Microsoft Active Directory Federation Services Insufficient Granularity of Access Control Vulnerability","id":"CVE-2026-56155","kev_date_added":"2026-07-14","published":"2026-07-14"}],"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":"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":"Remote code execution via memory corruption in the Windows VBScript engine allows attackers to execute arbitrary code.","url":"https://insights.sbomify.com/CVE-2018-8174/"}