---
id: CVE-2018-8174
title: >-
  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…
summary: >-
  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…
severity: high
cvss: 7.5
cvssVector: 'CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H'
cwe:
  - CWE-787
  - CWE-787
vendor: microsoft
product: windows_10_1607
affected:
  - windows_10_1607
  - windows_10_1703
  - windows_10_1709
  - windows_10_1803
  - 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'
updated: '2026-08-13'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2018-8174'
references:
  - url: 'http://www.securityfocus.com/bid/103998'
    label: secure@microsoft.com
  - url: 'https://blog.0patch.com/2018/05/a-single-instruction-micropatch-for.html'
    label: secure@microsoft.com
  - url: >-
      https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2018-8174
    label: secure@microsoft.com
  - url: 'https://www.exploit-db.com/exploits/44741/'
    label: secure@microsoft.com
  - url: 'http://www.securityfocus.com/bid/103998'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://blog.0patch.com/2018/05/a-single-instruction-micropatch-for.html'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2018-8174
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://www.exploit-db.com/exploits/44741/'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2018-8174
    label: 134c704f-9b21-4f2e-91b3-4a467353bcc0
tags:
  - nvd
  - kev
  - in-the-wild
  - exploit-available
epss: 0.88332
epssPercentile: 0.99768
kev: true
kevDateAdded: '2022-02-15'
kevDueDate: '2022-08-15'
kevRansomware: true
exploited: true
exploitAvailable: true
zeroDay: true
ingestedAt: '2026-08-13T06:00:54.293Z'
exploits:
  exploitdb: true
  github: 9
  githubRepos:
    - 'https://github.com/0x09AL/CVE-2018-8174-msf'
    - 'https://github.com/Yt1g3r/CVE-2018-8174_EXP'
    - 'https://github.com/SyFi/CVE-2018-8174'
  checkedAt: '2026-09-21T15:23:39.209Z'
---

## Overview

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.

## Affected

- `windows_10_1607`
- `windows_10_1703`
- `windows_10_1709`
- `windows_10_1803`
- `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`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
