CVE-2018-8174
CVE-2018-8174 is a security flaw in Microsoft Windows, Microsoft’s operating system for PCs and servers. Attackers can run their own code on Microsoft Windows. The US Cybersecurity and Infrastructure Security Agency (CISA) added it to its catalog of flaws known to be used in attacks on 15 Feb 2022, and says ransomware gangs have used it.[1]
Microsoft Windows is in things households have, such as phones, computers, browsers and everyday apps, so the fix matters at home as much as at work. Microsoft has published a fix or advice.
Description
CISA calls it a vBScript engine out-of-bounds write in Microsoft Windows. In its words: “A remote code execution vulnerability exists in the way that the VBScript engine handles objects in memory, aka "Windows VBScript Engine Remote Code Execution"”[1]
The CVE record adds: “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.”[2]
The underlying weakness is out-of-bounds write (CWE-787), in MITRE’s list of common software weaknesses.
It scores 7.5 out of 10 on the Common Vulnerability Scoring System, which rates it high, scored by NVD using CVSS 3.1.[2]
Affected versions
NVD’s record doesn’t list version ranges for it; Microsoft’s advisory has them[3]. CISA names the product as Microsoft Windows.
Every device with Microsoft Windows needs the update.
Exploitation
CISA added it to its catalog of known exploited vulnerabilities on 15 Feb 2022, 1,378 days after it was made public. CISA lists a flaw only when it has reliable evidence of it being exploited, and gave US federal agencies until 15 Aug 2022 to fix it.[1] CISA says ransomware gangs have used it.
FIRST’s Exploit Prediction Scoring System, which estimates how likely a flaw is to be used in attacks in the next 30 days from what it sees across the internet, puts it at 88%. That’s in the top 1% of the flaws it scores.[4]
CISA assesses it as not automatable: each attack takes some work.
CISA doesn’t say who was attacked, or how.
Fix
Microsoft has published a fix or advice.[3] CISA’s required action: “Apply updates per vendor instructions.”[1]
- Update Microsoft Windows now.On Windows: Settings, Windows Update, Check for updates, then restart. Office updates come the same way, or from any Office app: File, Account, Update Options. Then turn on automatic updates, so the next fix arrives on its own.
- If there’s no update, stop using it.CISA’s advice when a flaw being used in attacks has no fix is to stop using the product until it does.
Timeline
| Date | Event |
|---|---|
| The flaw is made public in the National Vulnerability Database, with a severity score of 7.5.[2] | |
| CISA adds it to its catalog of flaws known to be used in attacks, noting that ransomware gangs have used it.[1] | |
| CISA’s deadline for US government agencies to fix it.[1] | |
| FIRST puts the odds of it being used in attacks in the next 30 days at 88%.[4] |
See also
Other Microsoft Windows flaws
- CVE-2026-96951: command injection ·
- CVE-2026-85880: heap-based buffer overflow ·
- CVE-2026-81963: link following ·
- CVE-2008-4250: buffer overflow ·
- CVE-2026-32202: protection mechanism failure ·
- CVE-2025-60710: link following ·
Other out-of-bounds write flaws
- CVE-2026-86950, Apple devices: out-of-bounds write ·
- CVE-2026-53266, Linux Kernel: out-of-bounds write ·
- CVE-2026-87491, Chrome and other Chromium browsers: out of bounds write ·
- CVE-2026-53362, Linux Kernel: unspecified ·
- CVE-2022-0995, Linux Kernel: out-of-bounds write ·
Added the same day
- CVE-2022-24086, Adobe Commerce and Magento Open Source: improper input validation ·
- CVE-2022-0609, Chrome and other Chromium browsers: use-after-free ·
- CVE-2019-0752, Microsoft Internet Explorer: type confusion ·
- CVE-2018-20250, WinRAR: absolute path traversal ·
- CVE-2018-15982, Adobe Flash Player: use-after-free ·
Every Microsoft flaw on CISA’s list · Everything added in February 2022
References
- ^ Cybersecurity and Infrastructure Security Agency. “Microsoft Windows VBScript Engine Out-of-Bounds Write Vulnerability”. Known Exploited Vulnerabilities Catalog, added 15 Feb 2022.
- ^ National Institute of Standards and Technology. “CVE-2018-8174 Detail”. National Vulnerability Database, published 9 May 2018.
- ^ Microsoft. Advisories and fixes: portal.msrc.microsoft.com.
- ^ FIRST. “Exploit Prediction Scoring System”. EPSS 0.882, percentile 99.8, 31 Oct 2026.
- CVE Program. “CVE-2018-8174”. The official CVE record.
This article is built from CISA’s catalog (version 2026.10.30), NVD’s record and FIRST’s scores, kept in HARD’s database and checked every morning. The plain English is HARD’s.

