GHSA-vmwf-m9c5-3jvc BIT-dotnet-2026-32178 BIT-dotnet-sdk-2026-32178 CVE-2026-32178
Microsoft Security Advisory CVE-2026-32178 – .NET Spoofing Vulnerability
- Severity
- 0.0 / 10
- High · CVSS 3.1
- Exploit chance (EPSS)
- 2.28%
- Chance of exploitation in the next 30 days. Higher than 83.13% of scored vulnerabilities.
- Known exploited
- No
- Not in CISA's catalog
- Weakness
- CWE-138 Improper Neutralization of Special Elements
- Fix
- Available
- 12 packages have a fixed version
Description
Executive Summary:
Microsoft is releasing this security advisory to provide information about a vulnerability in .NET 8.0, .NET 9.0, and .NET 10.0. This advisory also provides guidance on what developers can do to update their applications to remove this vulnerability.
A vulnerability exists in System.Net.Mail where specially crafted data allows an unauthorized attacker to perform a spoofing attack over the network.
Announcement
Announcement for this issue can be found at https://github.com/dotnet/announcements/issues/12345
CVSS Details
- Version: 3.1
- Severity: High
- Score: 7.5
- Vector: 7.5: AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N/E:U/RL:O/RC:C
- Weakness: CWE-138: Improper Neutralization of Special Elements
Affected Platforms
- Platforms: All
- Architectures: All
<a name="affected-packages"></a>Affected Packages
The vulnerability affects any Microsoft .NET project if it uses any of affected package versions listed below
<a name=".NET 8"></a>.NET 8
| Package name | Affected version | Patched version |
|---|---|---|
| Microsoft.NetCore.App.Runtime.linux-arm | >= 8.0.0, <= 8.0.25 | 8.0.26 |
| Microsoft.NetCore.App.Runtime.linux-arm64 | >= 8.0.0, <= 8.0.25 | 8.0.26 |
| Microsoft.NetCore.App.Runtime.linux-musl-arm | >= 8.0.0, <= 8.0.25 | 8.0.26 |
| Microsoft.NetCore.App.Runtime.linux-musl-arm64 | >= 8.0.0, <= 8.0.25 | 8.0.26 |
| Microsoft.NetCore.App.Runtime.linux-musl-x64 | >= 8.0.0, <= 8.0.25 | 8.0.26 |
| Microsoft.NetCore.App.Runtime.linux-x64 | >= 8.0.0, <= 8.0.25 | 8.0.26 |
| Microsoft.NetCore.App.Runtime.osx-arm64 | >= 8.0.0, <= 8.0.25 | 8.0.26 |
| Microsoft.NetCore.App.Runtime.osx-x64 | >= 8.0.0, <= 8.0.25 | 8.0.26 |
| Microsoft.NetCore.App.Runtime.win-arm | >= 8.0.0, <= 8.0.25 | 8.0.26 |
| Microsoft.NetCore.App.Runtime.win-arm64 | >= 8.0.0, <= 8.0.25 | 8.0.26 |
| Microsoft.NetCore.App.Runtime.win-x64 | >= 8.0.0, <= 8.0.25 | 8.0.26 |
| Microsoft.NetCore.App.Runtime.win-x86 | >= 8.0.0, <= 8.0.25 | 8.0.26 |
<a name=".NET 9"></a>.NET 9
| Package name | Affected version | Patched version |
|---|---|---|
| Microsoft.NetCore.App.Runtime.linux-arm | >= 9.0.0, <= 9.0.14 | 9.0.15 |
| Microsoft.NetCore.App.Runtime.linux-arm64 | >= 9.0.0, <= 9.0.14 | 9.0.15 |
| Microsoft.NetCore.App.Runtime.linux-musl-arm | >= 9.0.0, <= 9.0.14 | 9.0.15 |
| Microsoft.NetCore.App.Runtime.linux-musl-arm64 | >= 9.0.0, <= 9.0.14 | 9.0.15 |
| Microsoft.NetCore.App.Runtime.linux-musl-x64 | >= 9.0.0, <= 9.0.14 | 9.0.15 |
| Microsoft.NetCore.App.Runtime.linux-x64 | >= 9.0.0, <= 9.0.14 | 9.0.15 |
| Microsoft.NetCore.App.Runtime.osx-arm64 | >= 9.0.0, <= 9.0.14 | 9.0.15 |
| Microsoft.NetCore.App.Runtime.osx-x64 | >= 9.0.0, <= 9.0.14 | 9.0.15 |
| Microsoft.NetCore.App.Runtime.win-arm | >= 9.0.0, <= 9.0.14 | 9.0.15 |
| Microsoft.NetCore.App.Runtime.win-arm64 | >= 9.0.0, <= 9.0.14 | 9.0.15 |
| Microsoft.NetCore.App.Runtime.win-x64 | >= 9.0.0, <= 9.0.14 | 9.0.15 |
| Microsoft.NetCore.App.Runtime.win-x86 | >= 9.0.0, <= 9.0.14 | 9.0.15 |
<a name=".NET 10"></a>.NET 10
| Package name | Affected version | Patched version |
|---|---|---|
| Microsoft.NetCore.App.Runtime.linux-arm | >= 10.0.0, <= 10.0.5 | 10.0.6 |
| Microsoft.NetCore.App.Runtime.linux-arm64 | >= 10.0.0, <= 10.0.5 | 10.0.6 |
| Microsoft.NetCore.App.Runtime.linux-musl-arm | >= 10.0.0, <= 10.0.5 | 10.0.6 |
| Microsoft.NetCore.App.Runtime.linux-musl-arm64 | >= 10.0.0, <= 10.0.5 | 10.0.6 |
| Microsoft.NetCore.App.Runtime.linux-musl-x64 | >= 10.0.0, <= 10.0.5 | 10.0.6 |
| Microsoft.NetCore.App.Runtime.linux-x64 | >= 10.0.0, <= 10.0.5 | 10.0.6 |
| Microsoft.NetCore.App.Runtime.osx-arm64 | >= 10.0.0, <= 10.0.5 | 10.0.6 |
| Microsoft.NetCore.App.Runtime.osx-x64 | >= 10.0.0, <= 10.0.5 | 10.0.6 |
| Microsoft.NetCore.App.Runtime.win-arm | >= 10.0.0, <= 10.0.5 | 10.0.6 |
| Microsoft.NetCore.App.Runtime.win-arm64 | >= 10.0.0, <= 10.0.5 | 10.0.6 |
| Microsoft.NetCore.App.Runtime.win-x64 | >= 10.0.0, <= 10.0.5 | 10.0.6 |
| Microsoft.NetCore.App.Runtime.win-x86 | >= 10.0.0, <= 10.0.5 | 10.0.6 |
Advisory FAQ
<a name="how-affected"></a>How do I know if I am affected?
If using a package listed in affected packages, you're exposed to the vulnerability.
<a name="how-fix"></a>How do I fix the issue?
- To fix the issue please install the latest version of .NET 8.0, NET 9.0, or .NET 10.0, as appropriate. If you have installed one or more .NET SDKs through Visual Studio, Visual Studio will prompt you to update Visual Studio, which will also update your .NET SDKs.
- If your application references the vulnerable package, update the package reference to the patched version. You can list the versions you have installed by running the
dotnet --infocommand.
Once you have installed the updated runtime or SDK, restart your apps for the update to take effect.
Additionally, if you've deployed self-contained applications targeting any of the impacted versions, these applications are also vulnerable and must be recompiled and redeployed.
Other Information
Reporting Security Issues
If you have found a potential security issue in a supported version of .NET, please report it to the Microsoft Security Response Center (MSRC) via the MSRC Researcher Portal. Further information can be found in the MSRC Report an Issue FAQ.
Security reports made through MSRC may qualify for the Microsoft .NET Bounty. Details of the Microsoft .NET Bounty Program including terms and conditions are at https://aka.ms/corebounty.
Support
You can ask questions about this issue on GitHub in the .NET GitHub organization. The main repos are located at https://github.com/dotnet/runtime. The Announcements repo (https://github.com/dotnet/Announcements) will contain this bulletin as an issue and will include a link to a discussion issue. You can ask questions in the linked discussion issue.
Disclaimer
The information provided in this advisory is provided "as is" without warranty of any kind. Microsoft disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. In no event shall Microsoft Corporation or its suppliers be liable for any damages whatsoever including direct, indirect, incidental, consequential, loss of business profits or special damages, even if Microsoft Corporation or its suppliers have been advised of the possibility of such damages. Some states do not allow the exclusion or limitation of liability for consequential or incidental damages so the foregoing limitation may not apply.
External Links
Acknowledgements
Ludvig Pedersen
Revisions
V1.0 (April 14, 2026): Advisory published.
Affected versions
NuGet
How to fix
Move to the fixed version or later with your package manager, update the lockfile, and run your tests. If the package only arrives through another dependency, upgrade that dependency first. If none of its releases pulls a fixed version yet, force the version with your package manager's override.
Microsoft.NetCore.App.Runtime.linux-arm NuGet → 10.0.6
- dotnet
dotnet add package Microsoft.NetCore.App.Runtime.linux-arm --version 10.0.6
Microsoft.NetCore.App.Runtime.linux-arm64 NuGet → 10.0.6
- dotnet
dotnet add package Microsoft.NetCore.App.Runtime.linux-arm64 --version 10.0.6
Microsoft.NetCore.App.Runtime.linux-musl-arm NuGet → 10.0.6
- dotnet
dotnet add package Microsoft.NetCore.App.Runtime.linux-musl-arm --version 10.0.6
Microsoft.NetCore.App.Runtime.linux-musl-arm64 NuGet → 10.0.6
- dotnet
dotnet add package Microsoft.NetCore.App.Runtime.linux-musl-arm64 --version 10.0.6
Microsoft.NetCore.App.Runtime.linux-musl-x64 NuGet → 10.0.6
- dotnet
dotnet add package Microsoft.NetCore.App.Runtime.linux-musl-x64 --version 10.0.6
Microsoft.NetCore.App.Runtime.linux-x64 NuGet → 10.0.6
- dotnet
dotnet add package Microsoft.NetCore.App.Runtime.linux-x64 --version 10.0.6
Microsoft.NetCore.App.Runtime.osx-arm64 NuGet → 10.0.6
- dotnet
dotnet add package Microsoft.NetCore.App.Runtime.osx-arm64 --version 10.0.6
Microsoft.NetCore.App.Runtime.osx-x64 NuGet → 10.0.6
- dotnet
dotnet add package Microsoft.NetCore.App.Runtime.osx-x64 --version 10.0.6
Microsoft.NetCore.App.Runtime.win-arm NuGet → 10.0.6
- dotnet
dotnet add package Microsoft.NetCore.App.Runtime.win-arm --version 10.0.6
Microsoft.NetCore.App.Runtime.win-arm64 NuGet → 10.0.6
- dotnet
dotnet add package Microsoft.NetCore.App.Runtime.win-arm64 --version 10.0.6
Microsoft.NetCore.App.Runtime.win-x64 NuGet → 10.0.6
- dotnet
dotnet add package Microsoft.NetCore.App.Runtime.win-x64 --version 10.0.6
Microsoft.NetCore.App.Runtime.win-x86 NuGet → 10.0.6
- dotnet
dotnet add package Microsoft.NetCore.App.Runtime.win-x86 --version 10.0.6
Severity breakdown
CVSS 3.1 0.0
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- None
Weakness
CWE-138: Improper Neutralization of Special Elements
The product receives input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could be interpreted as control elements or syntactic markers when they are sent to a downstream component.
How to prevent it
- Implementation: Developers should anticipate that special elements (e.g. delimiters, symbols) will be injected into input vectors of their product. One defense is to create an allowlist (e.g. a regular expression) that defines valid input according to the requirements specifications. Strictly filter any input that does not match against the allowlist. Properly encode your output, and quote any elements that have special meaning to the component with which you are communicating.
- Implementation: Assume all input is malicious. Use an "accept known good" input validation strategy, i.e., use a list of acceptable inputs that strictly conform to specifications. Reject any input that does not strictly conform to specifications, or transform it into something that does. When performing input validation, consider all potentially relevant properties, including length, type of input, the full range of acceptable values, missing or extra inputs, syntax, consistency across related fields, and conformance to business rules. As an example of business rule logic, "boat" may be syntactically valid because it only contains alphanumeric characters, but it is not valid if the input is only expected to contain colors such as "red" or "blue." Do not rely exclusively on looking for malicious or malformed inputs. This is likely to miss at least one undesirable input, especially if the code's environment changes. This can give attackers enough room to bypass the intended validation. However, denylists can be useful for detecting potential attacks or determining which inputs are so malformed that they should be rejected outright.
- Implementation: Use and specify an appropriate output encoding to ensure that the special elements are well-defined. A normal byte sequence in one encoding could be a special element in another.
- Implementation: Inputs should be decoded and canonicalized to the application's current internal representation before being validated (CWE-180). Make sure that the application does not decode the same input twice (CWE-174). Such errors could be used to bypass allowlist validation schemes by introducing dangerous inputs after they have been checked.
- Implementation: While it is risky to use dynamically-generated query strings, code, or commands that mix control and data together, sometimes it may be unavoidable. Properly quote arguments and escape any special characters within those arguments. The most conservative approach is to escape or filter all characters that do not pass an extremely strict allowlist (such as everything that is not alphanumeric or white space). If some special characters are still needed, such as white space, wrap each argument in quotes after the escaping/filtering step. Be careful of argument injection (CWE-88).
References
Advisories
Packages
Other links
- github.com/dotnet/runtime/security/advisories/GHSA-vmwf-m9c5-3jvc
- github.com/dotnet/announcements/issues/12345
- msrc.microsoft.com/update-guide/vulnerability/CVE-2026-32178
- access.redhat.com/errata/RHSA-2026:13280
- access.redhat.com/errata/RHSA-2026:13281
- access.redhat.com/errata/RHSA-2026:13282
- access.redhat.com/errata/RHSA-2026:13283
- access.redhat.com/errata/RHSA-2026:13693
- access.redhat.com/errata/RHSA-2026:8467
- access.redhat.com/errata/RHSA-2026:8468
- access.redhat.com/errata/RHSA-2026:8469
- access.redhat.com/errata/RHSA-2026:8470
- access.redhat.com/errata/RHSA-2026:8471
- access.redhat.com/errata/RHSA-2026:8472
- access.redhat.com/errata/RHSA-2026:8473
- access.redhat.com/errata/RHSA-2026:8474
- access.redhat.com/errata/RHSA-2026:8475
- access.redhat.com/errata/RHSA-2026:9077
- access.redhat.com/errata/RHSA-2026:9080
- access.redhat.com/errata/RHSA-2026:9205
- access.redhat.com/security/cve/CVE-2026-32178
- bugzilla.redhat.com/show_bug.cgi
- security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-32178.json
Timeline
- Published
- Last updated by the source
- Latest EPSS score
Related advisories
| Advisory | Severity | Why it's related |
|---|---|---|
| CVE-2020-1147 .NET Framework, SharePoint Server, and Visual Studio Remote Code Execution Vulnerability | High Known exploited | Also affects Microsoft.NETCore.App.Runtime.linux-arm |
| GHSA-87vj-4hqv-22p9 Microsoft Security Advisory CVE-2026-96233 - .NET and Visual Studio Denial of Service Vulnerability | High | Also affects Microsoft.NETCore.App.Runtime.linux-arm |
| GHSA-2j93-m82w-73j2 Microsoft Security Advisory CVE-2026-96231 - .NET and Visual Studio Elevation of Privilege Vulnerability | High | Also affects Microsoft.NETCore.App.Runtime.linux-arm |
| GHSA-w6wh-p4g7-mpj2 Microsoft Security Advisory CVE-2026-96225 - .NET and Visual Studio Elevation of Privilege Vulnerability | High | Also affects Microsoft.NETCore.App.Runtime.linux-arm |
| GHSA-4mpw-cpwj-hxxj Microsoft Security Advisory CVE-2026-70197 - .NET and Visual Studio Remote Code Execution Vulnerability | High | Also affects Microsoft.NETCore.App.Runtime.win-arm64 |
| GHSA-fqpq-cx42-9jmm Microsoft Security Advisory CVE-2026-70194 - .NET and Visual Studio Security Feature Bypass Vulnerability | Medium | Also affects Microsoft.NETCore.App.Runtime.linux-arm |
| GHSA-3rxq-g8rj-r2cf Microsoft Security Advisory CVE-2026-69651 - .NET and Visual Studio Denial of Service Vulnerability | High | Also affects Microsoft.NETCore.App.Runtime.linux-arm |
| GHSA-wxxw-5cvc-53j7 Microsoft Security Advisory CVE-2026-66822 - .NET and Visual Studio Information Disclosure Vulnerability | Medium | Also affects Microsoft.NETCore.App.Runtime.linux-arm |
MergeHarbor checks every repository's dependencies against this database, ranks what matters by exploitability and reachability, routes it to the owning team and opens the fix pull request.
Check your repos with MergeHarbor