CVE-2025-36853 EOL .NET 6.0 Runtime Remote Code Execution Vulnerability

High 7.5 Published Updated
Exploited in the wild
Not known
Fix
Available

What is CVE-2025-36853?

CVE-2025-36853 is a high-severity vulnerability in Microsoft .NET 6.0, published on 8 Sep 2025.

Official description

A vulnerability (CVE-2025-21172) exists in msdia140.dll due to integer overflow and heap-based overflow.

Per CWE-122: Heap-based Buffer Overflow, a heap overflow condition is a buffer overflow, where the buffer that can be overwritten is allocated in the heap portion of memory, generally meaning that the buffer was allocated using a routine such as malloc().‍

Per CWE-190: Integer Overflow or Wraparound, is when a product performs a calculation that can produce an integer overflow or wraparound when the logic assumes that the resulting value will always be larger than the original value. This occurs when an integer value is incremented to a value that is too large to store in the associated representation. When this occurs, the value may become a very small or negative number.

NOTE: This CVE affects only End Of Life (EOL) software components. The vendor, Microsoft, has indicated there will be no future updates nor support provided upon inquiry.

Weakness: CWE-190, CWE-122

Which versions are affected by CVE-2025-36853?

2 open source packages ship an affected version, including dotnet and dotnet-sdk.

PackageAffectedFixed in
dotnet BitnamiFrom 6.0.06.0.36
dotnet-sdk BitnamiFrom 6.0.06.0.36

How do I fix CVE-2025-36853?

Upgrade dotnet to 6.0.36 or later.

Is CVE-2025-36853 being exploited?

There is no known exploitation of CVE-2025-36853 in the wild and no public exploit code.

Sources

Also known as BIT-dotnet-2025-36853, BIT-dotnet-sdk-2025-36853, GHSA-hg2w-qc44-hjcw.

Is CVE-2025-36853 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free