{"id":"CVE-2025-21176","state":"PUBLISHED","title":".NET, .NET Framework, and Visual Studio Remote Code Execution Vulnerability","description":".NET, .NET Framework, and Visual Studio Remote Code Execution Vulnerability","publishedAt":"2025-01-14T18:04:00.852Z","updatedAt":"2026-06-09T18:29:04.624Z","severity":{"score":8.8,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C","source":"microsoft"},"assigner":"microsoft","products":["Microsoft .NET 8.0","Microsoft .NET 9.0","Microsoft Microsoft .NET Framework 3.5 AND 4.6.2/4.7/4.7.1/4.7.2","Microsoft Microsoft .NET Framework 3.5 AND 4.7.2","Microsoft Microsoft .NET Framework 3.5 AND 4.8","Microsoft Microsoft .NET Framework 3.5 AND 4.8.1","Microsoft Microsoft .NET Framework 4.6.2","Microsoft Microsoft .NET Framework 4.6.2/4.7/4.7.1/4.7.2","Microsoft Microsoft .NET Framework 4.6/4.6.2","Microsoft Microsoft .NET Framework 4.8","Microsoft Microsoft Visual Studio 2015 Update 3","Microsoft Microsoft Visual Studio 2017 version 15.9 (includes 15.0 - 15.8)","Microsoft Microsoft Visual Studio 2019 version 16.11 (includes 16.0 - 16.10)","Microsoft Microsoft Visual Studio 2022 version 17.10","Microsoft Microsoft Visual Studio 2022 version 17.12","Microsoft Microsoft Visual Studio 2022 version 17.6","Microsoft Microsoft Visual Studio 2022 version 17.8"],"affected":[{"vendor":"Microsoft","product":".NET 8.0","versions":[{"version":"8.0.0","status":"affected","lessThan":"8.0.12","versionType":"custom"}]},{"vendor":"Microsoft","product":".NET 9.0","versions":[{"version":"9.0.0","status":"affected","lessThan":"9.0.1","versionType":"custom"}]},{"vendor":"Microsoft","product":"Microsoft .NET Framework 3.5 AND 4.6.2/4.7/4.7.1/4.7.2","versions":[{"version":"3.0.0.0","status":"affected","lessThan":"10.0.14393.7699","versionType":"custom"}],"platforms":["Windows 10 Version 1607 for 32-bit Systems","Windows 10 Version 1607 for x64-based Systems"]},{"vendor":"Microsoft","product":"Microsoft .NET Framework 3.5 AND 4.7.2","versions":[{"version":"4.7.0","status":"affected","lessThan":"4.7.04126.01","versionType":"custom"}],"platforms":["Windows 10 Version 1809 for 32-bit Systems","Windows 10 Version 1809 for x64-based Systems","Windows Server 2016","Windows Server 2016 (Server Core installation)","Windows Server 2019","Windows Server 2019 (Server Core installation)"]},{"vendor":"Microsoft","product":"Microsoft .NET Framework 3.5 AND 4.8","versions":[{"version":"4.8.0","status":"affected","lessThan":"4.8.04775.01","versionType":"custom"}],"platforms":["Windows 10 Version 1809 for 32-bit Systems","Windows 10 Version 1809 for x64-based Systems","Windows 10 Version 21H2 for 32-bit Systems","Windows 10 Version 21H2 for ARM64-based Systems","Windows 10 Version 21H2 for x64-based Systems","Windows 10 Version 22H2 for 32-bit Systems","Windows 10 Version 22H2 for ARM64-based Systems","Windows 10 Version 22H2 for x64-based Systems","Windows Server 2019","Windows Server 2019 (Server Core installation)","Windows Server 2022","Windows Server 2022 (Server Core installation)"]},{"vendor":"Microsoft","product":"Microsoft .NET Framework 3.5 AND 4.8.1","versions":[{"version":"4.8.1","status":"affected","lessThan":"4.8.1.09294.01","versionType":"custom"}],"platforms":["Windows 10 Version 21H2 for 32-bit Systems","Windows 10 Version 21H2 for ARM64-based Systems","Windows 10 Version 21H2 for x64-based Systems","Windows 10 Version 22H2 for 32-bit Systems","Windows 10 Version 22H2 for ARM64-based Systems","Windows 10 Version 22H2 for x64-based Systems","Windows 11 Version 22H2 for ARM64-based Systems","Windows 11 Version 22H2 for x64-based Systems","Windows 11 Version 23H2 for ARM64-based Systems","Windows 11 Version 23H2 for x64-based Systems","Windows 11 Version 24H2 for ARM64-based Systems","Windows 11 Version 24H2 for x64-based Systems","Windows Server 2022","Windows Server 2022 (Server Core installation)","Windows Server 2022, 23H2 Edition (Server Core installation)"]},{"vendor":"Microsoft","product":"Microsoft .NET Framework 4.6.2","versions":[{"version":"4.7.0","status":"affected","lessThan":"4.7.04126.01","versionType":"custom"}],"platforms":["Windows Server 2008 for 32-bit Systems Service Pack 2","Windows Server 2008 for 32-bit Systems Service Pack 2 (Server Core installation)","Windows Server 2008 for x64-based Systems Service Pack 2","Windows Server 2008 for x64-based Systems Service Pack 2 (Server Core installation)"]},{"vendor":"Microsoft","product":"Microsoft .NET Framework 4.6.2/4.7/4.7.1/4.7.2","versions":[{"version":"4.7.0","status":"affected","lessThan":"4.7.04126.01","versionType":"custom"}],"platforms":["Windows Server 2008 R2 for x64-based Systems Service Pack 1","Windows Server 2008 R2 for x64-based Systems Service Pack 1 (Server Core installation)","Windows Server 2012","Windows Server 2012 (Server Core installation)","Windows Server 2012 R2","Windows Server 2012 R2 (Server Core installation)"]},{"vendor":"Microsoft","product":"Microsoft .NET Framework 4.6/4.6.2","versions":[{"version":"10.0.0.0","status":"affected","lessThan":"10.0.10240.20890","versionType":"custom"}],"platforms":["Windows 10 for 32-bit Systems","Windows 10 for x64-based Systems"]},{"vendor":"Microsoft","product":"Microsoft .NET Framework 4.8","versions":[{"version":"4.8.0","status":"affected","lessThan":"4.8.04775.01","versionType":"custom"}],"platforms":["Windows 10 Version 1607 for 32-bit Systems","Windows 10 Version 1607 for x64-based Systems","Windows Server 2008 R2 for x64-based Systems Service Pack 1","Windows Server 2008 R2 for x64-based Systems Service Pack 1 (Server Core installation)","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)"]},{"vendor":"Microsoft","product":"Microsoft Visual Studio 2015 Update 3","versions":[{"version":"14.0.0","status":"affected","lessThan":"14.0.24252.2","versionType":"custom"}]},{"vendor":"Microsoft","product":"Microsoft Visual Studio 2017 version 15.9 (includes 15.0 - 15.8)","versions":[{"version":"15.9.0","status":"affected","lessThan":"15.9.69","versionType":"custom"}]},{"vendor":"Microsoft","product":"Microsoft Visual Studio 2019 version 16.11 (includes 16.0 - 16.10)","versions":[{"version":"16.11.0","status":"affected","lessThan":"16.11.43","versionType":"custom"}]},{"vendor":"Microsoft","product":"Microsoft Visual Studio 2022 version 17.10","versions":[{"version":"17.10.0","status":"affected","lessThan":"17.10.10","versionType":"custom"}]},{"vendor":"Microsoft","product":"Microsoft Visual Studio 2022 version 17.12","versions":[{"version":"17.12.0","status":"affected","lessThan":"17.12.4","versionType":"custom"}]},{"vendor":"Microsoft","product":"Microsoft Visual Studio 2022 version 17.6","versions":[{"version":"17.6.0","status":"affected","lessThan":"17.6.22","versionType":"custom"}]},{"vendor":"Microsoft","product":"Microsoft Visual Studio 2022 version 17.8","versions":[{"version":"17.8.0","status":"affected","lessThan":"17.8.17","versionType":"custom"}]}],"references":["https://msrc.microsoft.com/update-guide/vulnerability/CVE-2025-21176","https://www.herodevs.com/vulnerability-directory/cve-2025-21176"],"weaknesses":["CWE-126"],"ingestedAt":"2026-10-29T20:08:39.238Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/21xxx/CVE-2025-21176.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2025-21176","state":"PUBLISHED","datePublished":"2025-01-14T18:04:00.852Z","dateUpdated":"2026-06-09T18:29:04.624Z","assignerShortName":"microsoft","assignerOrgId":"f38d906d-7342-40ea-92c1-6c4a2c6478c8","dateReserved":"2024-12-05T21:43:30.761Z"},"containers":{"cna":{"title":".NET, .NET Framework, and Visual Studio Remote Code Execution Vulnerability","descriptions":[{"lang":"en-US","value":".NET, .NET Framework, and Visual Studio Remote Code Execution Vulnerability"}],"affected":[{"vendor":"Microsoft","product":".NET 8.0","versions":[{"version":"8.0.0","status":"affected","lessThan":"8.0.12","versionType":"custom"}]},{"vendor":"Microsoft","product":".NET 9.0","versions":[{"version":"9.0.0","status":"affected","lessThan":"9.0.1","versionType":"custom"}]},{"vendor":"Microsoft","product":"Microsoft .NET Framework 3.5 AND 4.6.2/4.7/4.7.1/4.7.2","versions":[{"version":"3.0.0.0","status":"affected","lessThan":"10.0.14393.7699","versionType":"custom"}],"platforms":["Windows 10 Version 1607 for 32-bit Systems","Windows 10 Version 1607 for x64-based Systems"]},{"vendor":"Microsoft","product":"Microsoft .NET Framework 3.5 AND 4.7.2","versions":[{"version":"4.7.0","status":"affected","lessThan":"4.7.04126.01","versionType":"custom"}],"platforms":["Windows 10 Version 1809 for 32-bit Systems","Windows 10 Version 1809 for x64-based Systems","Windows Server 2016","Windows Server 2016 (Server Core installation)","Windows Server 2019","Windows Server 2019 (Server Core installation)"]},{"vendor":"Microsoft","product":"Microsoft .NET Framework 3.5 AND 4.8","versions":[{"version":"4.8.0","status":"affected","lessThan":"4.8.04775.01","versionType":"custom"}],"platforms":["Windows 10 Version 1809 for 32-bit Systems","Windows 10 Version 1809 for x64-based Systems","Windows 10 Version 21H2 for 32-bit Systems","Windows 10 Version 21H2 for ARM64-based Systems","Windows 10 Version 21H2 for x64-based Systems","Windows 10 Version 22H2 for 32-bit Systems","Windows 10 Version 22H2 for ARM64-based Systems","Windows 10 Version 22H2 for x64-based Systems","Windows Server 2019","Windows Server 2019 (Server Core installation)","Windows Server 2022","Windows Server 2022 (Server Core installation)"]},{"vendor":"Microsoft","product":"Microsoft .NET Framework 3.5 AND 4.8.1","versions":[{"version":"4.8.1","status":"affected","lessThan":"4.8.1.09294.01","versionType":"custom"}],"platforms":["Windows 10 Version 21H2 for 32-bit Systems","Windows 10 Version 21H2 for ARM64-based Systems","Windows 10 Version 21H2 for x64-based Systems","Windows 10 Version 22H2 for 32-bit Systems","Windows 10 Version 22H2 for ARM64-based Systems","Windows 10 Version 22H2 for x64-based Systems","Windows 11 Version 22H2 for ARM64-based Systems","Windows 11 Version 22H2 for x64-based Systems","Windows 11 Version 23H2 for ARM64-based Systems","Windows 11 Version 23H2 for x64-based Systems","Windows 11 Version 24H2 for ARM64-based Systems","Windows 11 Version 24H2 for x64-based Systems","Windows Server 2022","Windows Server 2022 (Server Core installation)","Windows Server 2022, 23H2 Edition (Server Core installation)"]},{"vendor":"Microsoft","product":"Microsoft .NET Framework 4.6.2","versions":[{"version":"4.7.0","status":"affected","lessThan":"4.7.04126.01","versionType":"custom"}],"platforms":["Windows Server 2008 for 32-bit Systems Service Pack 2","Windows Server 2008 for 32-bit Systems Service Pack 2 (Server Core installation)","Windows Server 2008 for x64-based Systems Service Pack 2","Windows Server 2008 for x64-based Systems Service Pack 2 (Server Core installation)"]},{"vendor":"Microsoft","product":"Microsoft .NET Framework 4.6.2/4.7/4.7.1/4.7.2","versions":[{"version":"4.7.0","status":"affected","lessThan":"4.7.04126.01","versionType":"custom"}],"platforms":["Windows Server 2008 R2 for x64-based Systems Service Pack 1","Windows Server 2008 R2 for x64-based Systems Service Pack 1 (Server Core installation)","Windows Server 2012","Windows Server 2012 (Server Core installation)","Windows Server 2012 R2","Windows Server 2012 R2 (Server Core installation)"]},{"vendor":"Microsoft","product":"Microsoft .NET Framework 4.6/4.6.2","versions":[{"version":"10.0.0.0","status":"affected","lessThan":"10.0.10240.20890","versionType":"custom"}],"platforms":["Windows 10 for 32-bit Systems","Windows 10 for x64-based Systems"]},{"vendor":"Microsoft","product":"Microsoft .NET Framework 4.8","versions":[{"version":"4.8.0","status":"affected","lessThan":"4.8.04775.01","versionType":"custom"}],"platforms":["Windows 10 Version 1607 for 32-bit Systems","Windows 10 Version 1607 for x64-based Systems","Windows Server 2008 R2 for x64-based Systems Service Pack 1","Windows Server 2008 R2 for x64-based Systems Service Pack 1 (Server Core installation)","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)"]},{"vendor":"Microsoft","product":"Microsoft Visual Studio 2015 Update 3","versions":[{"version":"14.0.0","status":"affected","lessThan":"14.0.24252.2","versionType":"custom"}]},{"vendor":"Microsoft","product":"Microsoft Visual Studio 2017 version 15.9 (includes 15.0 - 15.8)","versions":[{"version":"15.9.0","status":"affected","lessThan":"15.9.69","versionType":"custom"}]},{"vendor":"Microsoft","product":"Microsoft Visual Studio 2019 version 16.11 (includes 16.0 - 16.10)","versions":[{"version":"16.11.0","status":"affected","lessThan":"16.11.43","versionType":"custom"}]},{"vendor":"Microsoft","product":"Microsoft Visual Studio 2022 version 17.10","versions":[{"version":"17.10.0","status":"affected","lessThan":"17.10.10","versionType":"custom"}]},{"vendor":"Microsoft","product":"Microsoft Visual Studio 2022 version 17.12","versions":[{"version":"17.12.0","status":"affected","lessThan":"17.12.4","versionType":"custom"}]},{"vendor":"Microsoft","product":"Microsoft Visual Studio 2022 version 17.6","versions":[{"version":"17.6.0","status":"affected","lessThan":"17.6.22","versionType":"custom"}]},{"vendor":"Microsoft","product":"Microsoft Visual Studio 2022 version 17.8","versions":[{"version":"17.8.0","status":"affected","lessThan":"17.8.17","versionType":"custom"}]}],"references":[{"url":"https://msrc.microsoft.com/update-guide/vulnerability/CVE-2025-21176","name":".NET, .NET Framework, and Visual Studio Remote Code Execution Vulnerability","tags":["vendor-advisory","patch"]}],"metrics":[{"format":"CVSS","scenarios":[{"lang":"en-US","value":"GENERAL"}],"cvssV3_1":{"version":"3.1","baseSeverity":"HIGH","baseScore":8.8,"vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-126","description":"CWE-126: Buffer Over-read","lang":"en-US","type":"CWE"}]}],"providerMetadata":{"shortName":"microsoft","orgId":"f38d906d-7342-40ea-92c1-6c4a2c6478c8","dateUpdated":"2026-06-09T18:29:04.624Z"},"datePublic":"2025-01-14T08:00:00.000Z","cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:microsoft:visual_studio_2017:*:*:*:*:*:*:*:*","versionStartIncluding":"15.9.0","versionEndExcluding":"15.9.69"},{"vulnerable":true,"criteria":"cpe:2.3:a:microsoft:visual_studio_2019:*:*:*:*:*:*:*:*","versionStartIncluding":"16.11.0","versionEndExcluding":"16.11.43"},{"vulnerable":true,"criteria":"cpe:2.3:a:microsoft:visual_studio_2022:*:*:*:*:*:*:*:*","versionStartIncluding":"17.6.0","versionEndExcluding":"17.6.22"},{"vulnerable":true,"criteria":"cpe:2.3:a:microsoft:visual_studio_2022:*:*:*:*:*:*:*:*","versionStartIncluding":"17.8.0","versionEndExcluding":"17.8.17"},{"vulnerable":true,"criteria":"cpe:2.3:a:microsoft:visual_studio_2022:*:*:*:*:*:*:*:*","versionStartIncluding":"17.10.0","versionEndExcluding":"17.10.10"},{"vulnerable":true,"criteria":"cpe:2.3:a:microsoft:visual_studio_2015:*:update3:*:*:*:*:*:*","versionStartIncluding":"14.0.0","versionEndExcluding":"14.0.24252.2"},{"vulnerable":true,"criteria":"cpe:2.3:a:microsoft:visual_studio_2022:*:*:*:*:*:*:*:*","versionStartIncluding":"17.12.0","versionEndExcluding":"17.12.4"},{"vulnerable":true,"criteria":"cpe:2.3:a:microsoft:.net:*:*:*:*:*:*:*:*","versionStartIncluding":"8.0.0","versionEndExcluding":"8.0.12"},{"vulnerable":true,"criteria":"cpe:2.3:a:microsoft:.net:*:*:*:*:*:*:*:*","versionStartIncluding":"9.0.0","versionEndExcluding":"9.0.1"},{"vulnerable":true,"criteria":"cpe:2.3:a:microsoft:.net:*:*:*:*:*:*:*:*","versionStartIncluding":"4.8.1","versionEndExcluding":"4.8.1.09294.01"},{"vulnerable":true,"criteria":"cpe:2.3:a:microsoft:.net:*:*:*:*:*:*:*:*","versionStartIncluding":"4.8.0","versionEndExcluding":"4.8.04775.01"},{"vulnerable":true,"criteria":"cpe:2.3:a:microsoft:.net:*:*:*:*:*:*:*:*","versionStartIncluding":"4.8.0","versionEndExcluding":"4.8.04775.01"},{"vulnerable":true,"criteria":"cpe:2.3:a:microsoft:.net:*:*:*:*:*:*:*:*","versionStartIncluding":"4.7.0","versionEndExcluding":"4.7.04126.01"},{"vulnerable":true,"criteria":"cpe:2.3:a:microsoft:.net_framework:*:*:*:*:*:*:*:*","versionStartIncluding":"3.0.0.0","versionEndExcluding":"10.0.14393.7699"},{"vulnerable":true,"criteria":"cpe:2.3:a:microsoft:.net:*:*:*:*:*:*:*:*","versionStartIncluding":"4.7.0","versionEndExcluding":"4.7.04126.01"},{"vulnerable":true,"criteria":"cpe:2.3:a:microsoft:.net:*:*:*:*:*:*:*:*","versionStartIncluding":"4.7.0","versionEndExcluding":"4.7.04126.01"},{"vulnerable":true,"criteria":"cpe:2.3:a:microsoft:.net_framework:*:*:*:*:*:*:*:*","versionStartIncluding":"10.0.0.0","versionEndExcluding":"10.0.10240.20890"}]}]}]},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"id":"CVE-2025-21176","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"version":"2.0.3","timestamp":"2025-01-28T04:55:35.746787Z"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-02-26T19:09:21.089Z"}},{"title":"CVE Program Container","references":[{"url":"https://www.herodevs.com/vulnerability-directory/cve-2025-21176"}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2025-05-06T14:24:52.273Z"},"x_generator":{"engine":"ADPogram 0.0.1"}}]}}}