Description
Use after free in Windows Deployment Services allows an unauthorized attacker to execute code over a network.
Published: 2026-06-09
Score: 8.1 High
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

This use‑after‑free flaw in Windows Deployment Services enables an attacker to send crafted input over the network and cause the service to execute arbitrary code. The vulnerability is triggered when the service accesses memory that has already been freed, allowing the attacker to supply malicious data that hijacks program flow. An attacker who can reach the affected WDS instance can run code with the privileges of the service process, potentially gaining full control of the server.

Affected Systems

The affected products are Microsoft Windows Server 2012, Windows Server 2012 R2, Windows Server 2016, Windows Server 2019, Windows Server 2022, and Windows Server 2025, including their Server Core installations. No additional version narrowing is available from the current data.

Risk and Exploitability

The CVSS v3 score of 8.1 classifies this fault as high severity, and the EPSS score is not available, indicating insufficient data on current exploitation activity. It is not listed in CISA’s KEV catalog. Based on the description, the likely attack vector is a network‑based assault targeting the WDS service over its protocol endpoint, requiring the attacker to have connectivity to the server. No local privilege escalation is described, so a remote adversary who can reach the service port can exploit the flaw.

Generated by OpenCVE AI on June 9, 2026 at 18:35 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Install the latest Windows Server cumulative update that resolves CVE‑2026‑42987.
  • Restrict the Windows Deployment Services role to trusted networks by configuring firewall rules or by placing the server in a DMZ and limiting inbound IP ranges.
  • If the service is not needed, consider disabling the Windows Deployment Services role entirely.

Generated by OpenCVE AI on June 9, 2026 at 18:35 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 09 Jun 2026 20:45:00 +0000

Type Values Removed Values Added
First Time appeared Microsoft windows Server 2012 (server Core Installation)
Microsoft windows Server 2012 R2
Microsoft windows Server 2012 R2 (server Core Installation)
Microsoft windows Server 2016 (server Core Installation)
Microsoft windows Server 2019 (server Core Installation)
Microsoft windows Server 2025 (server Core Installation)
Vendors & Products Microsoft windows Server 2012 (server Core Installation)
Microsoft windows Server 2012 R2
Microsoft windows Server 2012 R2 (server Core Installation)
Microsoft windows Server 2016 (server Core Installation)
Microsoft windows Server 2019 (server Core Installation)
Microsoft windows Server 2025 (server Core Installation)

Tue, 09 Jun 2026 18:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Tue, 09 Jun 2026 17:15:00 +0000

Type Values Removed Values Added
Description Use after free in Windows Deployment Services allows an unauthorized attacker to execute code over a network.
Title Windows Deployment Services (WDS) Remote Code Execution
First Time appeared Microsoft
Microsoft windows Server 2012
Microsoft windows Server 2012 R2
Microsoft windows Server 2016
Microsoft windows Server 2019
Microsoft windows Server 2022
Microsoft windows Server 2025
Weaknesses CWE-416
CPEs cpe:2.3:o:microsoft:windows_server_2012:*:*:*:*:*:*:x64:*
cpe:2.3:o:microsoft:windows_server_2012_R2:*:*:*:*:*:*:x64:*
cpe:2.3:o:microsoft:windows_server_2016:*:*:*:*:*:*:*:*
cpe:2.3:o:microsoft:windows_server_2019:*:*:*:*:*:*:*:*
cpe:2.3:o:microsoft:windows_server_2022:*:*:*:*:*:*:*:*
cpe:2.3:o:microsoft:windows_server_2025:*:*:*:*:*:*:*:*
Vendors & Products Microsoft
Microsoft windows Server 2012
Microsoft windows Server 2012 R2
Microsoft windows Server 2016
Microsoft windows Server 2019
Microsoft windows Server 2022
Microsoft windows Server 2025
References
Metrics cvssV3_1

{'score': 8.1, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C'}


Subscriptions

Microsoft Windows Server 2012 Windows Server 2012 (server Core Installation) Windows Server 2012 R2 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 2025 Windows Server 2025 (server Core Installation)
cve-icon MITRE

Status: PUBLISHED

Assigner: microsoft

Published:

Updated: 2026-06-09T21:51:37.520Z

Reserved: 2026-04-30T23:43:50.746Z

Link: CVE-2026-42987

cve-icon Vulnrichment

Updated: 2026-06-09T17:30:49.931Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-06-09T17:17:14.853

Modified: 2026-06-09T19:32:51.440

Link: CVE-2026-42987

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-06-09T20:20:06Z

Weaknesses