Home / Microsoft / .NET 8.0 / CVE-2025-21172
CVE-2025-21172: is it exploited, and which versions of Microsoft .NET 8.0 are affected and fixed?
CVE-2025-21172 is an integer overflow vulnerability in Microsoft .NET 8.0. 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, 11:08 UTC). Affected: Microsoft.NetCore.App.Runtime.linux-arm from 9.0.0 before 9.0.1, Microsoft.NetCore.App.Runtime.linux-arm64 from 9.0.0 before 9.0.1, Microsoft.NetCore.App.Runtime.linux-musl-arm from 9.0.0 before 9.0.1 and 20 more (GitHub advisory GHSA-jjcv-wr2g-4rv4). Fixed in 9.0.1 and 8.0.12 (GitHub advisory GHSA-jjcv-wr2g-4rv4). Severity: High (7.5, CVSS 3.1, from microsoft).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 11:08 UTC, CVE record November 19, 2026, 07:10 UTC and NVD November 19, 2026, 07:23 UTC.
What is CVE-2025-21172?
.NET and Visual Studio Remote Code Execution Vulnerability
From the CVE record by microsoft, last updated June 9, 2026, 18:29 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Microsoft | .NET 8.0 | from 8.0.0 before 8.0.12 | 8.0.12 |
| Microsoft | .NET 9.0 | from 9.0.0 before 9.0.1 | 9.0.1 |
| Microsoft | Microsoft Visual Studio 2015 Update 3 | from 14.0.0 before 14.0.24252.2 | 14.0.24252.2 |
| Microsoft | Microsoft Visual Studio 2017 version 15.9 (includes 15.0 - 15.8) | from 15.9.0 before 15.9.69 | 15.9.69 |
| Microsoft | Microsoft Visual Studio 2019 version 16.11 (includes 16.0 - 16.10) | from 16.11.0 before 16.11.43 | 16.11.43 |
| Microsoft | Microsoft Visual Studio 2022 version 17.10 | from 17.10.0 before 17.10.10 | 17.10.10 |
| Microsoft | Microsoft Visual Studio 2022 version 17.12 | from 17.12.0 before 17.12.4 | 17.12.4 |
| Microsoft | Microsoft Visual Studio 2022 version 17.6 | from 17.6.0 before 17.6.22 | 17.6.22 |
| Microsoft | Microsoft Visual Studio 2022 version 17.8 | from 17.8.0 before 17.8.17 | 17.8.17 |
As the CVE record by microsoft states it, last updated June 9, 2026. 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?
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated May 6, 2025. Summary: Microsoft Security Advisory CVE-2025-21172 | .NET and Visual Studio Remote Code Execution Vulnerability.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| microsoft | .net | 8.0.0 | application |
| microsoft | .net | 9.0.0 | application |
| microsoft | visual studio 2017 | from 15.0 through 15.8 | application |
| microsoft | visual studio 2019 | from 16.0 through 16.10 | application |
| microsoft | visual studio 2022 | from 17.6.0 before 17.6.22 | application |
| microsoft | visual studio 2022 | from 17.8.0 before 17.8.17 | application |
| microsoft | visual studio 2022 | from 17.10.0 before 17.10.10 | application |
| microsoft | visual studio 2022 | from 17.12.0 before 17.12.4 | application |
NVD analysis (status Modified), last modified June 17, 2026, 08:42 UTC.
How severe is CVE-2025-21172?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:H/PR:N/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-2025-21172 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: total (CISA ADP, January 28, 2025)
- EPSS
- 1.84% probability of exploitation activity in the next 30 days, percentile 79.6 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
Where are the vendor advisories and references?
- .NET and Visual Studio Remote Code Execution Vulnerability vendor-advisory, patch
- https://www.herodevs.com/vulnerability-directory/cve-2025-21172
When was it published, and where is the official record?
- Reserved
- December 5, 2024
- Published
- January 14, 2025, 18:04 UTC
- CVE record updated
- June 9, 2026, 18:29 UTC by microsoft
- NVD
- Modified, last modified June 17, 2026, 08:42 UTC
- Last checked
- CVE list November 19, 2026, 07:10 UTC; NVD November 19, 2026, 07:23 UTC; KEV December 3, 2026, 11:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect .NET 8.0?
- Jun 9, 2026CVE-2026-45491 Microsoft .NET 10.0 runtime: link following (a symlink lets an attacker reach other files)
- Apr 14, 2026CVE-2026-33116 Microsoft .NET 10.0 runtime: infinite loop (denial of service)
- Apr 14, 2026CVE-2026-32178 Microsoft .NET 10.0 runtime: improper Neutralization of Special Elements
- Oct 14, 2025CVE-2025-55248 Microsoft .NET 8.0: weak encryption
- Oct 14, 2025CVE-2025-55247 Microsoft .NET 8.0: link following (a symlink lets an attacker reach other files)
- Jun 13, 2025CVE-2025-30399 Microsoft .NET 8.0: untrusted Search Path
- May 13, 2025CVE-2025-26646 Microsoft .NET 8.0: external Control of File Name or Path
- Jan 14, 2025CVE-2025-21173 Microsoft .NET 8.0: creation of Temporary File in Directory with Insecure Permissions
Questions about CVE-2025-21172
Is CVE-2025-21172 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 11:08 UTC. FIRST's EPSS gives it a 1.84% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Microsoft .NET 8.0 are affected by CVE-2025-21172?
Microsoft.NetCore.App.Runtime.linux-arm from 9.0.0 before 9.0.1, Microsoft.NetCore.App.Runtime.linux-arm64 from 9.0.0 before 9.0.1, Microsoft.NetCore.App.Runtime.linux-musl-arm from 9.0.0 before 9.0.1, Microsoft.NetCore.App.Runtime.linux-musl-arm64 from 9.0.0 before 9.0.1, Microsoft.NetCore.App.Runtime.linux-musl-x64 from 9.0.0 before 9.0.1, Microsoft.NetCore.App.Runtime.linux-x64 from 9.0.0 before 9.0.1 and 17 more, per the GitHub advisory GHSA-jjcv-wr2g-4rv4. The tables above give every range the sources list.
Which version fixes CVE-2025-21172?
9.0.1 and 8.0.12, per the GitHub advisory GHSA-jjcv-wr2g-4rv4. Check the vendor's advisory before you rely on it.
How severe is CVE-2025-21172?
High (7.5, CVSS 3.1, from microsoft). The severity table above shows each score with its source.
Where is the official record of CVE-2025-21172?
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.