← Vulnerability feed

Vulnerability record · CVE-2018-8174 · published 9 May 2018

CVE-2018-8174: Windows VBScript Engine Out-of-Bounds Write RCE

Microsoft · Windows 10 1607

The Windows VBScript engine mishandles objects in memory, causing an out-of-bounds write (CWE-787) that can corrupt memory and lead to remote code execution. It affects a broad set of Windows client and server versions, and because VBScript is reachable through browsers and documents, it is a practical target for drive-by and document-based attacks.

7.5 CVSS 3.1 High CISA KEV since 15 Feb 2022 Known ransomware use EPSS 88% · top 0.2% CWE-787 · Out-of-bounds write
7.5CVSS 3.1 base score, v2 7.6
88%EPSS exploitation probability, 30 days
YesIn CISA KEV, fix deadline passed
10Affected product versions listed by NVD
9References, 4 tagged exploit
13 Aug 2026Last modified by NVD

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.

CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 17 September 2026. Confidence: high.

critical priorityIt is in the CISA KEV catalog with known ransomware use, has a very high EPSS score, and public exploits exist, so unpatched systems face active exploitation risk.

What it is

The Windows VBScript engine mishandles objects in memory, causing an out-of-bounds write (CWE-787) that can corrupt memory and lead to remote code execution. It affects a broad set of Windows client and server versions, and because VBScript is reachable through browsers and documents, it is a practical target for drive-by and document-based attacks.

Impact

An attacker who triggers the flaw can execute arbitrary code in the context of the affected process, typically the logged-on user, giving full control of the host. This includes installing programs, changing or deleting data, and creating accounts with full user rights.

Attack surface

Reached over the network (AV:N) with no privileges required (PR:N), but exploitation requires user interaction (UI:R), such as visiting a crafted page or opening a malicious document that invokes the VBScript engine. Attack complexity is rated high (AC:H), reflecting the memory-corruption work needed for reliable code execution.

Exploitation

CISA added this to the Known Exploited Vulnerabilities catalog on 2022-02-15 with a 2022-08-15 remediation due date and flags known ransomware campaign use. EPSS is very high (0.88332, 99.762 percentile), and public references include Exploit-DB and a technical micro-patch writeup, indicating mature public exploitation.

What to do

  • Apply the Microsoft security update for CVE-2018-8174 on all affected Windows versions as the first action.
  • Disable or restrict VBScript execution where it is not required, and block legacy script engine use in browsers and document handlers.
  • Enforce attachment and web content controls so untrusted documents and pages cannot invoke the VBScript engine.
  • Prioritize remediation on internet-facing and user-workstation systems, and verify patch state against the CISA KEV due date.
  • Monitor for and remove unsupported or end-of-life Windows systems that cannot receive the patch.

Detection

  • Hunt for processes such as wscript.exe, cscript.exe, or browser processes spawning script engines or unexpected child processes.
  • Monitor for Office or browser processes loading VBScript-related modules and for anomalous memory-corruption crash patterns.
  • Review endpoint and network telemetry for known exploit artifacts tied to public PoCs and the referenced Exploit-DB entry.
  • Alert on execution of VBScript from temporary or user-writable directories and on suspicious script file creation.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Exploitation in the wild

CISA added CVE-2018-8174 to the Known Exploited Vulnerabilities catalog on 15 February 2022 as "Microsoft Windows VBScript Engine Out-of-Bounds Write Vulnerability". CISA reports known use in ransomware campaigns. Required action: Apply updates per vendor instructions. Federal deadline 15 August 2022.

Affected products

10 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2018-8174 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.8CVE-2026-33824Double free in Windows IKE Extension enables remote code executionA double free flaw (CWE-415) exists in the Windows IKE Extension, reachable over the network by an unauthenticated attacker. Successful exploitation …KEVEPSS 1.6%analysed9.8CVE-2019-0708Microsoft Remote Desktop Services use-after-free remote code executionRemote Desktop Services (formerly Terminal Services) contains a use-after-free flaw that lets an unauthenticated attacker execute code by sending spe…KEVEPSS 100%analysed9.8CVE-2017-8543Windows Search memory handling flaw allows remote code executionWindows Search fails to properly handle objects in memory, allowing an unauthenticated remote attacker to execute code on affected Windows systems. T…KEVEPSS 74%analysed9.8CVE-2015-1635Microsoft HTTP.sys remote code execution via crafted HTTP requestsHTTP.sys in multiple Windows versions fails to properly handle crafted HTTP requests, allowing remote code execution. The flaw is reachable over the …KEVEPSS 100%analysed8.8CVE-2026-21510Windows Shell protection mechanism failure allows security feature bypassWindows Shell contains a protection mechanism failure (CWE-693) that lets an unauthorized attacker bypass a security feature over a network. The flaw…KEVEPSS 24%analysed8.8CVE-2026-21513Microsoft MSHTML security feature bypass on WindowsCVE-2026-21513 is a protection mechanism failure (CWE-693) in the Microsoft MSHTML Framework that lets an unauthorized attacker bypass a security fea…KEVEPSS 16%analysed8.8CVE-2025-33073Windows SMB improper access control allows privilege elevationWindows SMB contains an improper access control flaw (CWE-284) that lets an authorized attacker elevate privileges over the network. Microsoft rates …KEVEPSS 83%analysed8.8CVE-2025-33053Microsoft Windows WebDAV Internet Shortcut File Path Control RCEWindows Internet Shortcut (.url) files allow external control of a file name or path, which an unauthorized attacker can abuse to execute code over a…KEVEPSS 87%analysed

Source: NIST National Vulnerability Database (record CVE-2018-8174), CISA KEV, FIRST EPSS (scores of 2026-09-24). This page is refreshed as NVD updates the record.