Memory corruption in Windows kernel driver

Published: 2020-10-31 | Updated: 2020-11-10
Risk High
Patch available YES
Number of vulnerabilities 1
CVE ID CVE-2020-17087
Exploitation vector Local
Public exploit This vulnerability is being exploited in the wild.
Vulnerable software
Operating systems & Components / Operating system

Windows Server
Operating systems & Components / Operating system

Vendor Microsoft

Security Advisory

Updated: 10.11.2020

Marked bulletin as patched.

1) Buffer overflow

Risk: High

CVSSv3: 7.5 [CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:H/RL:O/RC:C] [PCI]

CVE-ID: CVE-2020-17087

CWE-ID: CWE-119 - Improper Restriction of Operations within the Bounds of a Memory Buffer

Exploit availability: Yes


The vulnerability allows a local user to escalate privilege son the system.

The vulnerability exists due to a boundary error within the Windows Kernel Cryptography Driver cng.sys, which exposes a "\Device\CNG" device to user-mode programs and supports a variety of IOCTLs with non-trivial input structures. A local user can run a specially crafted program to trigger memory corruption and execute arbitrary code on the system with elevated privileges.

Note, this vulnerability is being actively exploited in the wild.


Install update from vendor's website.

Vulnerable software versions

Windows: 7, 7 SP1, 8, 8.1, 10, 10 1511, 10 1703, 10 1709, 10 1803, 10 1809, 10 1903, 10 1909, 10 2004, 10 Gold

Windows Server: 2008, 2008 R2, 2008 R2 SP1, 2008 SP2, 2012, 2012 Gold, 2012 R2, 2016, 2019, 2019 1709, 2019 1803, 2019 1903, 2019 1909, 2019 2004

CPE External links

Q & A

Can this vulnerability be exploited remotely?

No. This vulnerability can be exploited locally. The attacker should have authentication credentials and successfully authenticate on the system.

Is there known malware, which exploits this vulnerability?

Yes. This vulnerability is being exploited in the wild.