CVE-2020-1040
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedA remote code execution vulnerability exists when Hyper-V RemoteFX vGPU on a host server fails to properly validate input from an authenticated user on a guest operating system, aka 'Hyper-V RemoteFX vGPU Remote Code Execution Vulnerability'. This CVE ID is unique from CVE-2020-1032, CVE-2020-1036, CVE-2020-1041, CVE-2020-1042, CVE-2020-1043.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceA remote code execution vulnerability exists in Hyper-V RemoteFX vGPU where the host server fails to properly validate input from an authenticated user on a guest operating system. An attacker with valid credentials on a guest VM can exploit this input validation flaw to execute arbitrary code on the underlying Hyper-V host with elevated privileges.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.
NVD · CPE data= r2all versions= r2all versionsCVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Adjacent
- Complexity
- Low
- Privileges
- Low
- User interaction
- None
- Scope
- Changed
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Check Windows Server versionRun 'winver' or 'systeminfo | findstr /B /C:"OS Name" /C:"OS Version"' to determine the installed Windows Server versionAffected if The version matches Windows Server 2008 R2, 2012, 2012 R2, or 2016
-
Verify Hyper-V role is installedRun 'Get-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V' in PowerShell, or check via Server ManagerAffected if Hyper-V is installed and running
-
Identify VMs with RemoteFX vGPU enabledRun 'Get-VMRemoteFx3DVideoAdapter -VMName *' to list all VMs and their RemoteFX adapter status, or inspect VM settings via Hyper-V ManagerAffected if Any virtual machine has the RemoteFX vGPU adapter configured or enabled
-
Confirm RemoteFX is actively usedRun 'Get-VMRemoteFx3DVideoAdapter -VMName <VMName> | Select-Object Enabled' for each VM to check if the adapter is actively enabledAffected if RemoteFX3DVideoAdapter shows Enabled=True on any VM
-
Check for presence of vGPU deviceRun 'Get-VM -Name * | Get-VMDevice | Where-Object {$_.DeviceId -like "*VGPU*"}' or inspect VM configuration XML for RemoteFX GPU hardware entriesAffected if A RemoteFX vGPU device is assigned to any guest VM
The environment is affected if the host runs a vulnerable Windows Server version AND has RemoteFX vGPU enabled on one or more virtual machines.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scopedDisable the RemoteFX vGPU feature on affected Hyper-V hosts if not required, or apply Microsoft security updates. Implement network segmentation and restrict VM access to trusted users only.
Microsoft ended support for Windows Server 2008 R2, 2012, and 2012 R2; migrate to Windows Server 2019 or Windows Server 2022 for continued security support
- Identify the specific Windows Server version and build running in your environment
- Check installed patches via Control Panel > Programs > View installed updates or run: Get-HotFix
- Apply the May 2020 security updates from Microsoft for your affected Windows Server version: For Windows Server 2016, install KB4558998 or subsequent monthly rollups; For Windows Server 2012 R2, install KB4558997; For Windows Server 2012, install KB4558993; For Windows Server 2008 R2, install KB4558994
- Alternatively, run Windows Update and install all pending security updates
- After patching, verify the RemoteFX vGPU component is updated by checking the Hyper-V host for the installed version of vmcompute.exe or RemoteFX components
- Consider disabling RemoteFX vGPU if not required: Open Hyper-V Manager, go to the VM Settings > Add Hardware, ensure RemoteFX 3D Adapter is not present; For existing deployments, remove RemoteFX 3D Adapter from VMs
- Restart the Hyper-V host after applying updates
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation4.0 h
- Implementation8.0 h
- Testing6.0 h
- Review / QA4.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $6,176.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2020-1040 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2020-1040 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data