CVE-2026-32178: .NET Spoofing Vulnerability

Published Apr 13, 2026
·
Updated

.NET Spoofing Vulnerability

Other sources

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?

1. 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. 2. 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 --info command.

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

CVE-2026-32178

Acknowledgements

Ludvig Pedersen

Revisions

V1.0 (April 14, 2026): Advisory published.

— GitHub

Dotnet: SMTP Command Injection and Header Injection via MailAddress Parsing Flaw in System.Net.Mail

Affected .NET versions: 6.0, 8.0, 9.0, 10.0

— Red Hat

Improper neutralization of special elements in .NET allows an unauthorized attacker to perform spoofing over a network.

— Microsoft

Affected Software

62 affected componentsFixes available
nuget/Microsoft.NetCore.App.Runtime.win-x86>=8.0.0<=8.0.25
8.0.26
nuget/Microsoft.NetCore.App.Runtime.win-x64>=8.0.0<=8.0.25
8.0.26
nuget/Microsoft.NetCore.App.Runtime.win-arm64>=8.0.0<=8.0.25
8.0.26
nuget/Microsoft.NetCore.App.Runtime.win-arm>=8.0.0<=8.0.25
8.0.26
nuget/Microsoft.NetCore.App.Runtime.osx-x64>=8.0.0<=8.0.25
8.0.26
nuget/Microsoft.NetCore.App.Runtime.osx-arm64>=8.0.0<=8.0.25
8.0.26
nuget/Microsoft.NetCore.App.Runtime.linux-x64>=8.0.0<=8.0.25
8.0.26
nuget/Microsoft.NetCore.App.Runtime.linux-musl-x64>=8.0.0<=8.0.25
8.0.26
nuget/Microsoft.NetCore.App.Runtime.linux-musl-arm64>=8.0.0<=8.0.25
8.0.26
nuget/Microsoft.NetCore.App.Runtime.linux-musl-arm>=8.0.0<=8.0.25
8.0.26
nuget/Microsoft.NetCore.App.Runtime.linux-arm64>=8.0.0<=8.0.25
8.0.26
nuget/Microsoft.NetCore.App.Runtime.linux-arm>=8.0.0<=8.0.25
8.0.26
nuget/Microsoft.NetCore.App.Runtime.win-x86>=9.0.0<=9.0.14
9.0.15
nuget/Microsoft.NetCore.App.Runtime.win-x64>=9.0.0<=9.0.14
9.0.15
nuget/Microsoft.NetCore.App.Runtime.win-arm64>=9.0.0<=9.0.14
9.0.15
nuget/Microsoft.NetCore.App.Runtime.win-arm>=9.0.0<=9.0.14
9.0.15
nuget/Microsoft.NetCore.App.Runtime.osx-x64>=9.0.0<=9.0.14
9.0.15
nuget/Microsoft.NetCore.App.Runtime.osx-arm64>=9.0.0<=9.0.14
9.0.15
nuget/Microsoft.NetCore.App.Runtime.linux-x64>=9.0.0<=9.0.14
9.0.15
nuget/Microsoft.NetCore.App.Runtime.linux-musl-x64>=9.0.0<=9.0.14
9.0.15
nuget/Microsoft.NetCore.App.Runtime.linux-musl-arm64>=9.0.0<=9.0.14
9.0.15
nuget/Microsoft.NetCore.App.Runtime.linux-musl-arm>=9.0.0<=9.0.14
9.0.15
nuget/Microsoft.NetCore.App.Runtime.linux-arm64>=9.0.0<=9.0.14
9.0.15
nuget/Microsoft.NetCore.App.Runtime.linux-arm>=9.0.0<=9.0.14
9.0.15
nuget/Microsoft.NetCore.App.Runtime.win-x86>=10.0.0<=10.0.5
10.0.6
nuget/Microsoft.NetCore.App.Runtime.win-x64>=10.0.0<=10.0.5
10.0.6
nuget/Microsoft.NetCore.App.Runtime.win-arm64>=10.0.0<=10.0.5
10.0.6
nuget/Microsoft.NetCore.App.Runtime.win-arm>=10.0.0<=10.0.5
10.0.6
nuget/Microsoft.NetCore.App.Runtime.osx-x64>=10.0.0<=10.0.5
10.0.6
nuget/Microsoft.NetCore.App.Runtime.osx-arm64>=10.0.0<=10.0.5
10.0.6
nuget/Microsoft.NetCore.App.Runtime.linux-x64>=10.0.0<=10.0.5
10.0.6
nuget/Microsoft.NetCore.App.Runtime.linux-musl-arm64>=10.0.0<=10.0.5
10.0.6
nuget/Microsoft.NetCore.App.Runtime.linux-musl-x64>=10.0.0<=10.0.5
10.0.6
nuget/Microsoft.NetCore.App.Runtime.linux-arm64>=10.0.0<=10.0.5
10.0.6
nuget/Microsoft.NetCore.App.Runtime.linux-musl-arm>=10.0.0<=10.0.5
10.0.6
nuget/Microsoft.NetCore.App.Runtime.linux-arm>=10.0.0<=10.0.5
10.0.6
All of the following
Microsoft .NET>=10.0.0<10.0.6
Any of the following
Apple macOS
Linux Linux kernel
Microsoft Windows
All of the following
Microsoft .NET>=8.0.0<8.0.26
Any of the following
Apple macOS
Linux Linux kernel
Microsoft Windows
All of the following
Microsoft .NET>=9.0.0<9.0.15
Any of the following
Apple macOS
Linux Linux kernel
Microsoft Windows
Microsoft Visual Studio 2022>=17.12.0<17.12.19
Microsoft Visual Studio 2022>=17.14.0<17.14.30
Microsoft .NET 9.0 installed on Mac OS<9.0.15
9.0.15
Microsoft .NET 8.0 installed on Windows<8.0.26
8.0.26
Microsoft .NET 8.0 installed on Linux<8.0.26
8.0.26
Microsoft .NET 9.0 installed on Windows<9.0.15
9.0.15
Microsoft .NET 10.0 installed on Mac OS<10.0.6
10.0.6
Microsoft .NET 9.0 installed on Linux<9.0.15
9.0.15
Microsoft .NET 10.0 installed on Linux<10.0.6
10.0.6
Microsoft .NET 8.0 installed on Mac OS<8.0.26
8.0.26
Microsoft .NET 8.0<8.0.26
8.0.26
Microsoft .NET 10.0 installed on Windows<10.0.6
10.0.6
Microsoft Visual Studio 2022=17.12
17.12.19
Microsoft Visual Studio 2022=17.14
17.14.30

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade nuget/Microsoft.NetCore.App.Runtime.win-x86 to a version that resolves this vulnerability.

    Fixed in 8.0.26
  2. Upgrade

    Upgrade nuget/Microsoft.NetCore.App.Runtime.win-x64 to a version that resolves this vulnerability.

    Fixed in 8.0.26
  3. Upgrade

    Upgrade nuget/Microsoft.NetCore.App.Runtime.win-arm64 to a version that resolves this vulnerability.

    Fixed in 8.0.26
  4. Upgrade

    Upgrade nuget/Microsoft.NetCore.App.Runtime.win-arm to a version that resolves this vulnerability.

    Fixed in 8.0.26
  5. Upgrade

    Upgrade nuget/Microsoft.NetCore.App.Runtime.osx-x64 to a version that resolves this vulnerability.

    Fixed in 8.0.26
  6. Upgrade

    Upgrade nuget/Microsoft.NetCore.App.Runtime.osx-arm64 to a version that resolves this vulnerability.

    Fixed in 8.0.26
  7. Upgrade

    Upgrade nuget/Microsoft.NetCore.App.Runtime.linux-x64 to a version that resolves this vulnerability.

    Fixed in 8.0.26
  8. Upgrade

    Upgrade nuget/Microsoft.NetCore.App.Runtime.linux-musl-x64 to a version that resolves this vulnerability.

    Fixed in 8.0.26
  9. Upgrade

    Upgrade nuget/Microsoft.NetCore.App.Runtime.linux-musl-arm64 to a version that resolves this vulnerability.

    Fixed in 8.0.26
  10. Upgrade

    Upgrade nuget/Microsoft.NetCore.App.Runtime.linux-musl-arm to a version that resolves this vulnerability.

    Fixed in 8.0.26
  11. Upgrade

    Upgrade nuget/Microsoft.NetCore.App.Runtime.linux-arm64 to a version that resolves this vulnerability.

    Fixed in 8.0.26
  12. Upgrade

    Upgrade nuget/Microsoft.NetCore.App.Runtime.linux-arm to a version that resolves this vulnerability.

    Fixed in 8.0.26
  13. Upgrade

    Upgrade nuget/Microsoft.NetCore.App.Runtime.win-x86 to a version that resolves this vulnerability.

    Fixed in 9.0.15
  14. Upgrade

    Upgrade nuget/Microsoft.NetCore.App.Runtime.win-x64 to a version that resolves this vulnerability.

    Fixed in 9.0.15
  15. Upgrade

    Upgrade nuget/Microsoft.NetCore.App.Runtime.win-arm64 to a version that resolves this vulnerability.

    Fixed in 9.0.15
  16. Upgrade

    Upgrade nuget/Microsoft.NetCore.App.Runtime.win-arm to a version that resolves this vulnerability.

    Fixed in 9.0.15
  17. Upgrade

    Upgrade nuget/Microsoft.NetCore.App.Runtime.osx-x64 to a version that resolves this vulnerability.

    Fixed in 9.0.15
  18. Upgrade

    Upgrade nuget/Microsoft.NetCore.App.Runtime.osx-arm64 to a version that resolves this vulnerability.

    Fixed in 9.0.15
  19. Upgrade

    Upgrade nuget/Microsoft.NetCore.App.Runtime.linux-x64 to a version that resolves this vulnerability.

    Fixed in 9.0.15
  20. Upgrade

    Upgrade nuget/Microsoft.NetCore.App.Runtime.linux-musl-x64 to a version that resolves this vulnerability.

    Fixed in 9.0.15
  21. Upgrade

    Upgrade nuget/Microsoft.NetCore.App.Runtime.linux-musl-arm64 to a version that resolves this vulnerability.

    Fixed in 9.0.15
  22. Upgrade

    Upgrade nuget/Microsoft.NetCore.App.Runtime.linux-musl-arm to a version that resolves this vulnerability.

    Fixed in 9.0.15
  23. Upgrade

    Upgrade nuget/Microsoft.NetCore.App.Runtime.linux-arm64 to a version that resolves this vulnerability.

    Fixed in 9.0.15
  24. Upgrade

    Upgrade nuget/Microsoft.NetCore.App.Runtime.linux-arm to a version that resolves this vulnerability.

    Fixed in 9.0.15
  25. Upgrade

    Upgrade nuget/Microsoft.NetCore.App.Runtime.win-x86 to a version that resolves this vulnerability.

    Fixed in 10.0.6
  26. Upgrade

    Upgrade nuget/Microsoft.NetCore.App.Runtime.win-x64 to a version that resolves this vulnerability.

    Fixed in 10.0.6
  27. Upgrade

    Upgrade nuget/Microsoft.NetCore.App.Runtime.win-arm64 to a version that resolves this vulnerability.

    Fixed in 10.0.6
  28. Upgrade

    Upgrade nuget/Microsoft.NetCore.App.Runtime.win-arm to a version that resolves this vulnerability.

    Fixed in 10.0.6
  29. Upgrade

    Upgrade nuget/Microsoft.NetCore.App.Runtime.osx-x64 to a version that resolves this vulnerability.

    Fixed in 10.0.6
  30. Upgrade

    Upgrade nuget/Microsoft.NetCore.App.Runtime.osx-arm64 to a version that resolves this vulnerability.

    Fixed in 10.0.6
  31. Upgrade

    Upgrade nuget/Microsoft.NetCore.App.Runtime.linux-x64 to a version that resolves this vulnerability.

    Fixed in 10.0.6
  32. Upgrade

    Upgrade nuget/Microsoft.NetCore.App.Runtime.linux-musl-arm64 to a version that resolves this vulnerability.

    Fixed in 10.0.6
  33. Upgrade

    Upgrade nuget/Microsoft.NetCore.App.Runtime.linux-musl-x64 to a version that resolves this vulnerability.

    Fixed in 10.0.6
  34. Upgrade

    Upgrade nuget/Microsoft.NetCore.App.Runtime.linux-arm64 to a version that resolves this vulnerability.

    Fixed in 10.0.6
  35. Upgrade

    Upgrade nuget/Microsoft.NetCore.App.Runtime.linux-musl-arm to a version that resolves this vulnerability.

    Fixed in 10.0.6
  36. Upgrade

    Upgrade nuget/Microsoft.NetCore.App.Runtime.linux-arm to a version that resolves this vulnerability.

    Fixed in 10.0.6
  37. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 9.0.15Patch KB5086097
  38. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 8.0.26Patch KB5086096
  39. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 10.0.6Patch KB5086095
  40. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 17.12.19
  41. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 17.14.30
  42. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 10.0.6Patch CVE-2026-32178
  43. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 8.0.26Patch CVE-2026-32178
  44. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 9.0.15Patch CVE-2026-32178
  45. Operational

    After installing the updated .NET 8.0, .NET 9.0, or .NET 10.0 runtime or SDK, restart your apps for the update to take effect.

Event History

Apr 13, 2026
Data Sourced
via Red Hat·08:10 AM
DescriptionSeverityAffected Software
Apr 14, 2026
CVE Published
via Microsoft·02:00 PM
Data Sourced
via Microsoft·02:00 PM
DescriptionSeverityWeaknessAffected Software
CVE Published
via MITRE·04:57 PM
Data Sourced
via MITRE·04:57 PM
DescriptionSeverity
Data Sourced
via NVD·06:17 PM
DescriptionSeverityWeaknessAffected Software
Advisory Published
via GitHub·11:27 PM
Data Sourced
via GitHub·11:27 PM
DescriptionWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2026-32178?

CVE-2026-32178 is classified as a critical vulnerability affecting multiple versions of .NET.

2

How do I fix CVE-2026-32178?

To fix CVE-2026-32178, update your .NET installation to the latest version as recommended by Microsoft.

3

Which versions of .NET are affected by CVE-2026-32178?

CVE-2026-32178 affects .NET 8.0, .NET 9.0, and .NET 10.0.

4

What platforms are impacted by CVE-2026-32178?

CVE-2026-32178 impacts .NET on Windows, Mac OS, and Linux platforms.

5

Is there a patch available for CVE-2026-32178?

Yes, patches for CVE-2026-32178 are available through the .NET official download site.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203