7.5
CWE
122 190
EPSS
0.091%
Advisory Published
CVE Published
Advisory Published
Updated

CVE-2025-21172: .NET and Visual Studio Remote Code Execution Vulnerability

First published: Tue Jan 14 2025(Updated: )

.NET and Visual Studio Remote Code Execution Vulnerability

Credit: secure@microsoft.com secure@microsoft.com

Affected SoftwareAffected VersionHow to fix
nuget/Microsoft.NetCore.App.Runtime.linux-arm>=8.0.0<8.0.12
8.0.12
nuget/Microsoft.NetCore.App.Runtime.linux-arm64>=8.0.0<8.0.12
8.0.12
nuget/Microsoft.NetCore.App.Runtime.linux-musl-arm>=8.0.0<8.0.12
8.0.12
nuget/Microsoft.NetCore.App.Runtime.linux-musl-arm64>=8.0.0<8.0.12
8.0.12
nuget/Microsoft.NetCore.App.Runtime.linux-musl-x64>=8.0.0<8.0.12
8.0.12
nuget/Microsoft.NetCore.App.Runtime.linux-x64>=8.0.0<8.0.12
8.0.12
nuget/Microsoft.NetCore.App.Runtime.osx-arm64>=8.0.0<8.0.12
8.0.12
nuget/Microsoft.NetCore.App.Runtime.osx-x64>=8.0.0<8.0.12
8.0.12
nuget/Microsoft.NetCore.App.Runtime.win-arm>=8.0.0<8.0.12
8.0.12
nuget/Microsoft.NetCore.App.Runtime.win-arm64>=8.0.0<8.0.12
8.0.12
nuget/Microsoft.NetCore.App.Runtime.win-x64>=8.0.0<8.0.12
8.0.12
nuget/Microsoft.NetCore.App.Runtime.win-x86>=9.0.0<9.0.1
9.0.1
nuget/Microsoft.NetCore.App.Runtime.win-x64>=9.0.0<9.0.1
9.0.1
nuget/Microsoft.NetCore.App.Runtime.win-arm64>=9.0.0<9.0.1
9.0.1
nuget/Microsoft.NetCore.App.Runtime.win-arm>=9.0.0<9.0.1
9.0.1
nuget/Microsoft.NetCore.App.Runtime.osx-x64>=9.0.0<9.0.1
9.0.1
nuget/Microsoft.NetCore.App.Runtime.osx-arm64>=9.0.0<9.0.1
9.0.1
nuget/Microsoft.NetCore.App.Runtime.linux-x64>=9.0.0<9.0.1
9.0.1
nuget/Microsoft.NetCore.App.Runtime.linux-musl-x64>=9.0.0<9.0.1
9.0.1
nuget/Microsoft.NetCore.App.Runtime.linux-musl-arm64>=9.0.0<9.0.1
9.0.1
nuget/Microsoft.NetCore.App.Runtime.linux-musl-arm>=9.0.0<9.0.1
9.0.1
nuget/Microsoft.NetCore.App.Runtime.linux-arm64>=9.0.0<9.0.1
9.0.1
nuget/Microsoft.NetCore.App.Runtime.linux-arm>=9.0.0<9.0.1
9.0.1
Microsoft .NET 8.0
Microsoft .NET 9.0
Microsoft .NET 8.0
Microsoft .NET 9.0
Microsoft .NET 8.0
Microsoft .NET 9.0
Microsoft Visual Studio 2019=16.11
Microsoft Visual Studio 2017=15.9
Microsoft Visual Studio Professional 2015=3
Visual Studio Community 2022=17.10
Visual Studio Community 2022=17.6
Visual Studio Community 2022=17.12
Visual Studio Community 2022=17.8
All of
Any of
Microsoft .NET Framework=8.0.0
Microsoft .NET Framework=9.0.0
Any of
macOS
Linux Kernel
Microsoft Windows Operating System
Visual Studio Professional 2017>=15.0<=15.8
Visual Studio Enterprise 2019>=16.0<=16.10
Visual Studio Community 2022>=17.6.0<17.6.22
Visual Studio Community 2022>=17.8.0<17.8.17
Visual Studio Community 2022>=17.10.0<17.10.10
Visual Studio Community 2022>=17.12.0<17.12.4

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2025-21172?

    CVE-2025-21172 is classified as a remote code execution vulnerability, which can allow attackers to execute arbitrary code on vulnerable systems.

  • How could CVE-2025-21172 impact my system?

    Exploitation of CVE-2025-21172 may lead to unauthorized access, data breaches, or complete system compromise.

  • How do I fix CVE-2025-21172?

    To remediate CVE-2025-21172, apply the latest security patches provided by Microsoft for the affected versions of Visual Studio and .NET.

  • Which software is affected by CVE-2025-21172?

    CVE-2025-21172 affects various versions of Visual Studio 2017, 2019, 2022 and .NET 8.0, as well as .NET 9.0.

  • Is my version affected by CVE-2025-21172?

    To determine if your version is affected by CVE-2025-21172, check if you are using Visual Studio 17.6, 17.8, 17.10, 17.12 or .NET versions 8.0 or 9.0.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203