synced 8 MIN AGO
01 Record

CVE-2025-21172

.NET and Visual Studio Remote Code Execution Vulnerability

HighPUBLISHEDCNA: microsoft
CNA base score7.5 CVSS v3.xCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C

02 Description

.NET and Visual Studio Remote Code Execution Vulnerability

03 Exploitation and scoring

Exploitation
Assessed, none found. CISA's assessment recorded neither public exploit code nor evidence of exploitation when it was made.
SSVC decision
  • ExploitationnoneCISA recorded no public exploit code and no evidence of exploitation.
  • AutomatablenoAt least one step from reconnaissance to exploitation cannot be reliably automated.
  • Technical ImpacttotalSuccessful exploitation gives total control of the vulnerable component.
CISA publishes the decision points, not a final SSVC decision. The decision also depends on mission and well-being impact, which is a property of your deployment rather than of the vulnerability.
EPSS probability
1.84% probability of exploitation activity in the next 30 days.
EPSS percentile
Equal to or higher than the score of 78.8% of scored records. A rank, not a probability.
NVD base score
7.5 (CVSS v3.x), scored by the NVD independently of the CNA.
NVD CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
NVD analysis status
Modified. NVD last modified this record on 2026-06-17.
Red Hat severity
Important. Red Hat's rating for its own products, not a CVSS rating.

Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.

04 Metadata

Published
2025-01-14 18:04Z1 YR AGO
Last updated
2026-06-09 18:29Z4 MO AGO
Reserved
2024-12-05
Assigning CNA
microsoft
Record state
PUBLISHED
Severity
High (CVSS 7.5)
CNA CVSS vector
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
Weaknesses
  • CWE-122Heap-based Buffer OverflowVariant
  • CWE-190Integer Overflow or WraparoundBase
  • CWE-641Improper Restriction of Names for Files and Other ResourcesBase
Data version
5.2
Document digest
6bb96d637c6a8b3366258fb9d10ce81ba6f97f4f42ff545776f0a7150af14ef3

05 Affected products

VendorProductVersionsPlatforms
Microsoft.NET 8.08.0.0 to < 8.0.12—
Microsoft.NET 9.09.0.0 to < 9.0.1—
MicrosoftMicrosoft Visual Studio 2015 Update 314.0.0 to < 14.0.24252.2—
MicrosoftMicrosoft Visual Studio 2022 version 17.1017.10.0 to < 17.10.10—
MicrosoftMicrosoft Visual Studio 2022 version 17.1217.12.0 to < 17.12.4—
MicrosoftMicrosoft Visual Studio 2022 version 17.617.6.0 to < 17.6.22—
MicrosoftMicrosoft Visual Studio 2022 version 17.817.8.0 to < 17.8.17—

06 References

07 Fixed in

AlmaLinux 8

  • aspnetcore-runtime-8.0
    Fixed in 8.0.12-1.el8_10
  • aspnetcore-runtime-9.0
    Fixed in 9.0.1-1.el8_10
  • aspnetcore-runtime-dbg-8.0
    Fixed in 8.0.12-1.el8_10
  • aspnetcore-runtime-dbg-9.0
    Fixed in 9.0.1-1.el8_10
  • aspnetcore-targeting-pack-8.0
    Fixed in 8.0.12-1.el8_10
  • aspnetcore-targeting-pack-9.0
    Fixed in 9.0.1-1.el8_10
  • dotnet
    Fixed in 9.0.102-1.el8_10
  • dotnet-apphost-pack-8.0
    Fixed in 8.0.12-1.el8_10
  • dotnet-apphost-pack-9.0
    Fixed in 9.0.1-1.el8_10
  • dotnet-host
    Fixed in 9.0.1-1.el8_10
  • dotnet-hostfxr-8.0
    Fixed in 8.0.12-1.el8_10
  • dotnet-hostfxr-9.0
    Fixed in 9.0.1-1.el8_10
  • dotnet-runtime-8.0
    Fixed in 8.0.12-1.el8_10
  • dotnet-runtime-9.0
    Fixed in 9.0.1-1.el8_10
  • dotnet-runtime-dbg-8.0
    Fixed in 8.0.12-1.el8_10
  • dotnet-runtime-dbg-9.0
    Fixed in 9.0.1-1.el8_10
  • dotnet-sdk-8.0
    Fixed in 8.0.112-1.el8_10
  • dotnet-sdk-8.0-source-built-artifacts
    Fixed in 8.0.112-1.el8_10
  • dotnet-sdk-9.0
    Fixed in 9.0.102-1.el8_10
  • dotnet-sdk-9.0-source-built-artifacts
    Fixed in 9.0.102-1.el8_10
  • dotnet-sdk-aot-9.0
    Fixed in 9.0.102-1.el8_10
  • dotnet-sdk-dbg-8.0
    Fixed in 8.0.112-1.el8_10
  • dotnet-sdk-dbg-9.0
    Fixed in 9.0.102-1.el8_10
  • dotnet-targeting-pack-8.0
    Fixed in 8.0.12-1.el8_10
  • dotnet-targeting-pack-9.0
    Fixed in 9.0.1-1.el8_10
  • dotnet-templates-8.0
    Fixed in 8.0.112-1.el8_10
  • dotnet-templates-9.0
    Fixed in 9.0.102-1.el8_10
  • netstandard-targeting-pack-2.1
    Fixed in 9.0.102-1.el8_10

Source: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.

CloudLinux 8

  • aspnetcore-runtime-8.0
    Fixed in 8.0.12-1.el8_10
  • aspnetcore-runtime-9.0
    Fixed in 9.0.1-1.el8_10
  • aspnetcore-runtime-dbg-8.0
    Fixed in 8.0.12-1.el8_10
  • aspnetcore-runtime-dbg-9.0
    Fixed in 9.0.1-1.el8_10
  • aspnetcore-targeting-pack-8.0
    Fixed in 8.0.12-1.el8_10
  • aspnetcore-targeting-pack-9.0
    Fixed in 9.0.1-1.el8_10
  • dotnet
    Fixed in 9.0.102-1.el8_10
  • dotnet-apphost-pack-8.0
    Fixed in 8.0.12-1.el8_10
  • dotnet-apphost-pack-9.0
    Fixed in 9.0.1-1.el8_10
  • dotnet-host
    Fixed in 9.0.1-1.el8_10
  • dotnet-hostfxr-8.0
    Fixed in 8.0.12-1.el8_10
  • dotnet-hostfxr-9.0
    Fixed in 9.0.1-1.el8_10
  • dotnet-runtime-8.0
    Fixed in 8.0.12-1.el8_10
  • dotnet-runtime-9.0
    Fixed in 9.0.1-1.el8_10
  • dotnet-runtime-dbg-8.0
    Fixed in 8.0.12-1.el8_10
  • dotnet-runtime-dbg-9.0
    Fixed in 9.0.1-1.el8_10
  • dotnet-sdk-8.0
    Fixed in 8.0.112-1.el8_10
  • dotnet-sdk-8.0-source-built-artifacts
    Fixed in 8.0.112-1.el8_10
  • dotnet-sdk-9.0
    Fixed in 9.0.102-1.el8_10
  • dotnet-sdk-9.0-source-built-artifacts
    Fixed in 9.0.102-1.el8_10
  • dotnet-sdk-aot-9.0
    Fixed in 9.0.102-1.el8_10
  • dotnet-sdk-dbg-8.0
    Fixed in 8.0.112-1.el8_10
  • dotnet-sdk-dbg-9.0
    Fixed in 9.0.102-1.el8_10
  • dotnet-targeting-pack-8.0
    Fixed in 8.0.12-1.el8_10
  • dotnet-targeting-pack-9.0
    Fixed in 9.0.1-1.el8_10
  • dotnet-templates-8.0
    Fixed in 8.0.112-1.el8_10
  • dotnet-templates-9.0
    Fixed in 9.0.102-1.el8_10
  • netstandard-targeting-pack-2.1
    Fixed in 9.0.102-1.el8_10

Derived from AlmaLinux 8. Partial coverage: only packages taken from AlmaLinux 8 are listed.

Source: CloudLinux errata, CloudLinux Inc. Derived from: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu 22.04 LTS

  • dotnet6
    No fix yet
  • dotnet7
    No fix yet
  • dotnet8
    Fixed in 8.0.112-8.0.12-0ubuntu1~22.04.1

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu 24.04 LTS

  • dotnet8
    Fixed in 8.0.112-8.0.12-0ubuntu1~24.04.1

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.