CVE-2026-42987Critical
Windows Deployment Services (WDS) Remote Code Execution
Assessment
Use after free in Windows Deployment Services allows an unauthorized attacker to execute code over a network.
- Severity
- Critical
- CVSS base score
- 8.1CVSS:3.1/
AV:N/ AC:H/ PR:N/ UI:N/ S:U/ C:H/ I:H/ A:H/ E:U/ RL:O/ RC:C - Impact
- Remote Code Execution
- EPSS, next 30 days
- 0.7%Higher than 51.6% of scored CVEs · FIRST model run 29 Sep 2026 · about EPSS
- Public exploit code
- No Nuclei template lists it
- Exploitability
- Exploitation Less Likely
- Publicly disclosed
- No
- Customer action
- Required: apply the update
- Component
- Windows Deployment Services
- Weakness
- CWE-416: Use After Free
- Issued by
- Microsoft
- Published
- 9 Jun 2026 · June 2026
- Last revised
- 9 Jun 2026
Updates that fix it
6 KBs| KB | Type | Restart | Applies to | Other CVEs |
|---|---|---|---|---|
| KB5094041 | Monthly Rollup | Required | Windows Server 2012 R2, Windows Server 2012 R2 (Server Core installation) | All CVEs in KB5094041 |
| KB5094042 | Monthly Rollup | Required | Windows Server 2012, Windows Server 2012 (Server Core installation) | All CVEs in KB5094042 |
| KB5094122 | Security Update | Required | Windows Server 2016, Windows Server 2016 (Server Core installation) | All CVEs in KB5094122 |
| KB5094123 | Security Update | Required | Windows Server 2019, Windows Server 2019 (Server Core installation) | All CVEs in KB5094123 |
| KB5094125 | Security Update | Required | Windows Server 2025, Windows Server 2025 (Server Core installation) | All CVEs in KB5094125 |
| KB5094128 | Security Update | Required | Windows Server 2022, Windows Server 2022 (Server Core installation) | All CVEs in KB5094128 |
Affected products
ESU, Windows12 affected products
- Windows Server 2012
- Windows Server 2012 (Server Core installation)
- Windows Server 2012 R2
- Windows Server 2012 R2 (Server Core installation)
- Windows Server 2016
- Windows Server 2016 (Server Core installation)
- Windows Server 2019
- Windows Server 2019 (Server Core installation)
- Windows Server 2022
- Windows Server 2022 (Server Core installation)
- Windows Server 2025
- Windows Server 2025 (Server Core installation)