{
  "id": "CVE-2026-42987",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-42987",
  "published_at": "2026-06-09T17:06:25.379Z",
  "title": "Windows Deployment Services (WDS) Remote Code Execution",
  "vendor": "Microsoft",
  "product": "Windows Server",
  "cvss": {
    "score": 8.1,
    "source": "cna",
    "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"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "Use after free in Windows Deployment Services allows an unauthorized attacker to execute code over a network.",
  "cwe": "CWE-416",
  "cpes": [
    "cpe:2.3:o:microsoft:windows_server_2012:-:*:*:*:*:*:*:*",
    "cpe:2.3:o:microsoft:windows_server_2012:r2:*:*:*:*:*:*:*",
    "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:*:*:*:*:*:*:x64:*"
  ],
  "cvss_by_source": {
    "cna": 8.1
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Microsoft",
        "product": "Windows Server 2012",
        "ranges": [
          "\u003e= 6.2.9200.0, \u003c 6.2.9200.26132"
        ],
        "fixed_in": [
          "6.2.9200.26132"
        ]
      },
      {
        "vendor": "Microsoft",
        "product": "Windows Server 2012 (Server Core installation)",
        "ranges": [
          "\u003e= 6.2.9200.0, \u003c 6.2.9200.26132"
        ],
        "fixed_in": [
          "6.2.9200.26132"
        ]
      },
      {
        "vendor": "Microsoft",
        "product": "Windows Server 2012 R2",
        "ranges": [
          "\u003e= 6.3.9600.0, \u003c 6.3.9600.23228"
        ],
        "fixed_in": [
          "6.3.9600.23228"
        ]
      },
      {
        "vendor": "Microsoft",
        "product": "Windows Server 2012 R2 (Server Core installation)",
        "ranges": [
          "\u003e= 6.3.9600.0, \u003c 6.3.9600.23228"
        ],
        "fixed_in": [
          "6.3.9600.23228"
        ]
      },
      {
        "vendor": "Microsoft",
        "product": "Windows Server 2016",
        "ranges": [
          "\u003e= 10.0.14393.0, \u003c 10.0.14393.9234"
        ],
        "fixed_in": [
          "10.0.14393.9234"
        ]
      },
      {
        "vendor": "Microsoft",
        "product": "Windows Server 2016 (Server Core installation)",
        "ranges": [
          "\u003e= 10.0.14393.0, \u003c 10.0.14393.9234"
        ],
        "fixed_in": [
          "10.0.14393.9234"
        ]
      },
      {
        "vendor": "Microsoft",
        "product": "Windows Server 2019",
        "ranges": [
          "\u003e= 10.0.17763.0, \u003c 10.0.17763.8880"
        ],
        "fixed_in": [
          "10.0.17763.8880"
        ]
      },
      {
        "vendor": "Microsoft",
        "product": "Windows Server 2019 (Server Core installation)",
        "ranges": [
          "\u003e= 10.0.17763.0, \u003c 10.0.17763.8880"
        ],
        "fixed_in": [
          "10.0.17763.8880"
        ]
      },
      {
        "vendor": "Microsoft",
        "product": "Windows Server 2022",
        "ranges": [
          "\u003e= 10.0.20348.0, \u003c 10.0.20348.5256"
        ],
        "fixed_in": [
          "10.0.20348.5256"
        ]
      },
      {
        "vendor": "Microsoft",
        "product": "Windows Server 2025",
        "ranges": [
          "\u003e= 10.0.26100.0, \u003c 10.0.26100.32995"
        ],
        "fixed_in": [
          "10.0.26100.32995"
        ]
      },
      {
        "vendor": "Microsoft",
        "product": "Windows Server 2025 (Server Core installation)",
        "ranges": [
          "\u003e= 10.0.26100.0, \u003c 10.0.26100.32995"
        ],
        "fixed_in": [
          "10.0.26100.32995"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Windows Server 2012 to 6.2.9200.26132 or later.",
      "Upgrade Windows Server 2012 (Server Core installation) to 6.2.9200.26132 or later.",
      "Upgrade Windows Server 2012 R2 to 6.3.9600.23228 or later.",
      "Upgrade Windows Server 2012 R2 (Server Core installation) to 6.3.9600.23228 or later.",
      "Upgrade Windows Server 2016 to 10.0.14393.9234 or later.",
      "Upgrade Windows Server 2016 (Server Core installation) to 10.0.14393.9234 or later.",
      "Upgrade Windows Server 2019 to 10.0.17763.8880 or later.",
      "Upgrade Windows Server 2019 (Server Core installation) to 10.0.17763.8880 or later.",
      "Upgrade Windows Server 2022 to 10.0.20348.5256 or later.",
      "Upgrade Windows Server 2025 to 10.0.26100.32995 or later.",
      "Upgrade Windows Server 2025 (Server Core installation) to 10.0.26100.32995 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-42987"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
