Track vulnerabilities like this one. Sign up free to get alerted when software you use is affected.
8.8

CVE-2025-21178: Visual Studio Code Execution Through Malicious Files

CVE-2025-21178 · published 1 year ago
Summary

Using Visual Studio, attackers can execute malicious code by opening specially crafted files. This allows them to take control of your computer and potentially steal sensitive information or cause damage. Update Visual Studio to the latest version to fix this issue.

What to do
  • Update microsoft visual_studio_2017 to version 15.9.69 or later.
  • Update microsoft visual_studio_2019 to version 16.11.43 or later.
Affected software
VendorProductAffected versions
microsoft visual_studio_2017 >= 15.0, < 15.9.69
cpe:2.3:a:microsoft:visual_studio_2017:*:*:*:*:*:*:*:*
microsoft visual_studio_2019 >= 16.0, < 16.11.43
cpe:2.3:a:microsoft:visual_studio_2019:*:*:*:*:*:-:*:*
microsoft visual_studio_2022 >= 17.6.0, < 17.6.22
>= 17.8.0, < 17.8.17
>= 17.10.0, < 17.10.10
>= 17.12.0, < 17.12.4
cpe:2.3:a:microsoft:visual_studio_2022:*:*:*:*:*:*:*:*
Original advisory text
Visual Studio Remote Code Execution Vulnerability
Visual Studio Remote Code Execution Vulnerability
Fix within
Internet-facing 14 days
Internal At next upgrade
  • Not known to be exploited
  • Needs hands-on effort to exploit
  • Gives an attacker full control
Severity
8.8 High
Exploitation
2% chance of attack within 30 days
Type
CWE-122Heap-based Buffer Overflow
CWE-125Out-of-bounds Read
Timeline
Published14 Jan 2025
Updated3 Nov 2026
First seen7 Mar 2026
Sources
Track software like this
Free during beta