CVE tracker / CVE-2026-42987
CVE-2026-42987
CVE-2026-42987 is the Windows Deployment Services (WDS) Remote Code Execution. Microsoft rates it Critical, CVSS 8.1. It is not in CISA's Known Exploited Vulnerabilities catalog. Published June 9, 2026.
Risk summary
HighRemote Code Execution
8.1
CVSS v3 base
0.6%
EPSS: chance of exploitation in 30 days
High
Severity
Critical
Microsoft's rating
Less Likely
Microsoft: exploitation
No
In CISA KEV
Microsoft describes it: “Use after free in Windows Deployment Services allows an unauthorized attacker to execute code over a network.”
How to fix it
Microsoft lists 12 affected products and the update that fixes each:
- KB5094041 · fixed build 6.3.9600.23228
Windows Server 2012 R2 (Server Core installation), Windows Server 2012 R2 - KB5094042 · fixed build 6.2.9200.26132
Windows Server 2012 (Server Core installation), Windows Server 2012 - KB5094122 · fixed build 10.0.14393.9234
Windows Server 2016 (Server Core installation), Windows Server 2016 - KB5094123 · fixed build 10.0.17763.8880
Windows Server 2019 (Server Core installation), Windows Server 2019 - KB5094125 · fixed build 10.0.26100.32995
Windows Server 2025, Windows Server 2025 (Server Core installation) - KB5094128 · fixed build 10.0.20348.5256
Windows Server 2022 (Server Core installation), Windows Server 2022
What Microsoft changed
- June 9, 2026: Information published.
Details
- Weakness
- CWE-416: Use After Free
- Publicly disclosed (Microsoft)
- No
- Exploited (Microsoft)
- No
- Known exploited (CISA KEV)
- Not listed
- Published
- June 9, 2026
- Last revised
- June 9, 2026
Get told when this changes
Senserva Watch emails Microsoft security and patch alerts when something moves: a new exploitation report, a revised fix, a known issue. Free, one email address.
References
From Microsoft, CISA, NVD and FIRST data; the Microsoft details were read when this page was opened. Check the references above before you act.