Home / Microsoft / Microsoft Visual Studio 2022 version 17.9 / CVE-2024-21409
CVE-2024-21409: is it exploited, and which versions of Microsoft Visual Studio 2022 version 17.9 are affected and fixed?
CVE-2024-21409 is an use after free vulnerability in Microsoft Visual Studio 2022 version 17.9. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 14:38 UTC). Affected: Microsoft.WindowsDesktop.App.Runtime.win-arm64 before 6.0.29, Microsoft.WindowsDesktop.App.Runtime.win-arm64 from 8.0.0 before 8.0.4, Microsoft.WindowsDesktop.App.Runtime.win-arm64 from 7.0.0 before 7.0.18 and 6 more (GitHub advisory GHSA-6qmx-42h2-j8h6). Fixed in 6.0.29, 8.0.4 and 7.0.18 (GitHub advisory GHSA-6qmx-42h2-j8h6). Severity: High (7.3, CVSS 3.1, from microsoft).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 14:38 UTC, CVE record November 19, 2026, 07:11 UTC and NVD November 19, 2026, 07:30 UTC.
What is CVE-2024-21409?
.NET, .NET Framework, and Visual Studio Remote Code Execution Vulnerability
From the CVE record by microsoft, last updated May 3, 2025, 00:40 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Microsoft | Microsoft Visual Studio 2022 version 17.9 Unknown | from 17.0 before 17.9.6 | 17.9.6 |
| Microsoft | Microsoft Visual Studio 2022 version 17.4 Unknown | from 17.4.0 before 17.4.18 | 17.4.18 |
| Microsoft | Microsoft Visual Studio 2022 version 17.6 Unknown | from 17.6.0 before 17.6.14 | 17.6.14 |
| Microsoft | Microsoft Visual Studio 2022 version 17.8 Unknown | from 17.8.0 before 17.8.9 | 17.8.9 |
| Microsoft | PowerShell 7.3 Unknown | from 7.3.0 before 7.3.12 | 7.3.12 |
| Microsoft | PowerShell 7.4 Unknown | from 7.4.0 before 7.4.2 | 7.4.2 |
| Microsoft | PowerShell 7.2 Unknown | from 7.2.0 before 7.2.19 | 7.2.19 |
| Microsoft | .NET 6.0 Unknown | from 6.0.0 before 6.0.29 | 6.0.29 |
| Microsoft | .NET 7.0 Unknown | from 7.0.0 before 7.0.18 | 7.0.18 |
| Microsoft | .NET 8.0 Unknown | from 8.0 before 8.0.4 | 8.0.4 |
| Microsoft | Microsoft .NET Framework 4.8 Windows Server 2008 R2 for x64-based Sys, Windows Server 2008 R2 for x64-based Sys, Windows Server 2012, Windows Server 2012 (Server Core install, Windows Server 2012 R2, Windows Server 2012 R2 (Server Core inst | from 4.8.0 before 4.8.4718.0 | 4.8.4718.0 |
| Microsoft | Microsoft .NET Framework 3.5 AND 4.8 Windows 10 Version 1809 for 32-bit Syste, Windows 10 Version 1809 for x64-based Sy, Windows Server 2019, Windows Server 2019 (Server Core install, Windows Server 2022, Windows Server 2022 (Server Core install | from 4.8.0 before 4.8.4718.0 | 4.8.4718.0 |
| Microsoft | Microsoft .NET Framework 3.5 AND 4.7.2 Windows 10 Version 1809 for 32-bit Syste, Windows 10 Version 1809 for x64-based Sy, Windows 10 Version 1809 for ARM64-based , Windows Server 2019, Windows Server 2019 (Server Core install, Windows 10 Version 1607 for 32-bit Syste | from 4.7.0 before 4.7.4092.0 | 4.7.4092.0 |
| Microsoft | Microsoft .NET Framework 4.6.2/4.7/4.7.1/4.7.2 Windows Server 2008 R2 for x64-based Sys, Windows Server 2008 R2 for x64-based Sys, Windows Server 2012, Windows Server 2012 (Server Core install, Windows Server 2012 R2, Windows Server 2012 R2 (Server Core inst | from 4.7.0 before 4.7.4092.0 | 4.7.4092.0 |
| Microsoft | Microsoft .NET Framework 3.5 AND 4.8.1 Windows Server 2022, Windows Server 2022 (Server Core install, Windows 11 version 21H2 for x64-based Sy, Windows 11 version 21H2 for ARM64-based , Windows 10 Version 21H2 for 32-bit Syste, Windows 10 Version 21H2 for ARM64-based | from 4.8.1 before 4.8.9236.0 | 4.8.9236.0 |
| Microsoft | Microsoft .NET Framework 4.6.2 Windows Server 2008 for 32-bit Systems S, Windows Server 2008 for 32-bit Systems S, Windows Server 2008 for x64-based System, Windows Server 2008 for x64-based System | from 4.7.0 before 4.7.4092.0 | 4.7.4092.0 |
As the CVE record by microsoft states it, last updated May 3, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| NuGet | Microsoft.WindowsDesktop.App.Runtime.win-arm64 | < 6.0.29 | 6.0.29 | GHSA-6qmx-42h2-j8h6 |
| NuGet | Microsoft.WindowsDesktop.App.Runtime.win-arm64 | >= 8.0.0, < 8.0.4 | 8.0.4 | GHSA-6qmx-42h2-j8h6 |
| NuGet | Microsoft.WindowsDesktop.App.Runtime.win-arm64 | >= 7.0.0, < 7.0.18 | 7.0.18 | GHSA-6qmx-42h2-j8h6 |
| NuGet | Microsoft.WindowsDesktop.App.Runtime.win-x64 | < 6.0.29 | 6.0.29 | GHSA-6qmx-42h2-j8h6 |
| NuGet | Microsoft.WindowsDesktop.App.Runtime.win-x64 | >= 8.0.0, < 8.0.4 | 8.0.4 | GHSA-6qmx-42h2-j8h6 |
| NuGet | Microsoft.WindowsDesktop.App.Runtime.win-x64 | >= 7.0.0, < 7.0.18 | 7.0.18 | GHSA-6qmx-42h2-j8h6 |
| NuGet | Microsoft.WindowsDesktop.App.Runtime.win-x86 | >= 7.0.0, < 7.0.18 | 7.0.18 | GHSA-6qmx-42h2-j8h6 |
| NuGet | Microsoft.WindowsDesktop.App.Runtime.win-x86 | >= 8.0.0, < 8.0.4 | 8.0.4 | GHSA-6qmx-42h2-j8h6 |
| NuGet | Microsoft.WindowsDesktop.App.Runtime.win-x86 | < 6.0.29 | 6.0.29 | GHSA-6qmx-42h2-j8h6 |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated January 17, 2025. Summary: .NET Elevation of Privilege Vulnerability.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| microsoft | .net framework | 3.5 | application |
| microsoft | .net framework | 4.8.1 | application |
| microsoft | .net | from 6.0.0 before 6.0.29 | application |
| microsoft | .net | from 7.0.0 before 7.0.18 | application |
| microsoft | .net | from 8.0.0 before 8.0.4 | application |
| microsoft | powershell | from 7.2 before 7.2.19 | application |
| microsoft | powershell | from 7.3 before 7.3.12 | application |
| microsoft | powershell | from 7.4 before 7.4.2 | application |
| microsoft | visual studio 2022 | from 17.4.0 before 17.4.18 | application |
| microsoft | visual studio 2022 | from 17.6.0 before 17.6.14 | application |
| microsoft | visual studio 2022 | from 17.8.0 before 17.8.9 | application |
| microsoft | visual studio 2022 | from 17.9.0 before 17.9.6 | application |
| microsoft | .net framework | 4.7.2 | application |
| microsoft | .net framework | 4.8 | application |
| microsoft | .net framework | 4.6.2 | application |
| microsoft | .net framework | 4.7 | application |
| microsoft | .net framework | 4.7.1 | application |
NVD analysis (status Modified), last modified June 17, 2026, 07:09 UTC.
How severe is CVE-2024-21409?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.3 | CVSS 3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C | microsoft |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2024-21409 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: total (CISA ADP, April 25, 2024)
- EPSS
- 2.51% probability of exploitation activity in the next 30 days, percentile 85.3 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-416 Use After Free
Where are the vendor advisories and references?
- .NET, .NET Framework, and Visual Studio Remote Code Execution Vulnerability vendor-advisory
- https://security.netapp.com/advisory/ntap-20250117-0002/
When was it published, and where is the official record?
- Reserved
- December 8, 2023
- Published
- April 9, 2024, 17:00 UTC
- CVE record updated
- May 3, 2025, 00:40 UTC by microsoft
- NVD
- Modified, last modified June 17, 2026, 07:09 UTC
- Last checked
- CVE list November 19, 2026, 07:11 UTC; NVD November 19, 2026, 07:30 UTC; KEV December 3, 2026, 14:38 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect Microsoft Visual Studio 2022 version 17.9?
- May 14, 2024CVE-2024-30046 Microsoft .NET 7.0: race condition
- May 14, 2024CVE-2024-30045 Microsoft .NET 8.0: heap buffer overflow
- Apr 9, 2024CVE-2024-28938 Microsoft SQL Server 2022 for (CU 12): out-of-bounds read
- Apr 9, 2024CVE-2024-28935 Microsoft SQL Server 2019 (CU 25): heap buffer overflow
- Apr 9, 2024CVE-2024-28933 Microsoft Visual Studio 2019 version 16.11 (includes 16.0 - 16.10): integer underflow
- Apr 9, 2024CVE-2024-28930 Microsoft SQL Server 2019 (CU 25): integer underflow
- Apr 9, 2024CVE-2024-28936 Microsoft SQL Server 2022 for (CU 12): integer overflow
- Apr 9, 2024CVE-2024-28932 Microsoft SQL Server 2022 for (CU 12): heap buffer overflow
Every CVE in Microsoft Visual Studio 2022 version 17.9
Questions about CVE-2024-21409
Is CVE-2024-21409 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 14:38 UTC. FIRST's EPSS gives it a 2.51% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of Microsoft Visual Studio 2022 version 17.9 are affected by CVE-2024-21409?
Microsoft.WindowsDesktop.App.Runtime.win-arm64 before 6.0.29, Microsoft.WindowsDesktop.App.Runtime.win-arm64 from 8.0.0 before 8.0.4, Microsoft.WindowsDesktop.App.Runtime.win-arm64 from 7.0.0 before 7.0.18, Microsoft.WindowsDesktop.App.Runtime.win-x64 before 6.0.29, Microsoft.WindowsDesktop.App.Runtime.win-x64 from 8.0.0 before 8.0.4, Microsoft.WindowsDesktop.App.Runtime.win-x64 from 7.0.0 before 7.0.18 and 3 more, per the GitHub advisory GHSA-6qmx-42h2-j8h6. The tables above give every range the sources list.
Which version fixes CVE-2024-21409?
6.0.29, 8.0.4 and 7.0.18, per the GitHub advisory GHSA-6qmx-42h2-j8h6. Check the vendor's advisory before you rely on it.
How severe is CVE-2024-21409?
High (7.3, CVSS 3.1, from microsoft). The severity table above shows each score with its source.
Where is the official record of CVE-2024-21409?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.