Microsoft .NET 6.0
EOL .NET 6.0 Runtime Remote Code Execution Vulnerability
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 6.0.0, < 6.0.36
Fixed in 6.0.36
- >= >=6.0.0, <= 6.0.36
- >= >=6.0.0, <= 6.0.36
- >= >=6.0.0, <= 6.0.36
- >= >=6.0.0, <= 6.0.36
- >= >=6.0.0, <= 6.0.36
- >= >=6.0.0, <= 6.0.36
- >= >=6.0.0, <= 6.0.36
- >= >=6.0.0, <= 6.0.36
- >= >=6.0.0, <= 6.0.36
- >= >=6.0.0, <= 6.0.36
- >= >=6.0.0, <= 6.0.36
- >= >=6.0.0, <= 6.0.36
Mitigation
Upgrade .NET 6.0 to 6.0.36 or later.
References
- Vendor advisory msrc.microsoft.com/update-guide/vulnerability/CVE-2025…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.