Anavem
Languagefr
Windows desktop showing .NET Framework update installation in Windows Update settings
Knowledge BaseKB5087064Windows Update

KB5087064 — Cumulative Update for .NET Framework 3.5 and 4.8 for Windows 10

KB5087064 is a May 2026 cumulative update that addresses security vulnerabilities and reliability issues in .NET Framework 3.5 and 4.8 on Windows 10 Version 21H2 and 22H2 systems.

13 May 2026 12 min read
KB5087064Windows UpdateSecurity Update 5 fixes 12 min Windows 10 Version 21H2 (x64) +1Download
Quick Overview

KB5087064 is a May 12, 2026 cumulative security update for Microsoft .NET Framework 3.5 and 4.8. This update addresses multiple security vulnerabilities and improves framework reliability on Windows 10 Version 21H2 and 22H2 systems. The update is delivered automatically through Windows Update and includes critical security patches for both framework versions.

PowerShellCheck if KB5087064 is installed
PS C:\> Get-HotFix -Id KB5087064

# Returns patch details if KB5087064 is installed

Download Update

Download from Microsoft Update Catalog

Get the official update package directly from Microsoft

KB5087064
Diagnostic

Issue Description

Issue Description

This cumulative update addresses several security vulnerabilities and functional issues in .NET Framework 3.5 and 4.8:

  • Security vulnerabilities: Multiple CVE-rated security issues affecting application execution and memory management
  • Runtime exceptions: Unexpected application crashes in managed code environments
  • Performance degradation: Reduced performance in applications using specific .NET Framework APIs
  • Compatibility issues: Problems with legacy applications targeting .NET Framework 3.5
  • Memory leaks: Gradual memory consumption increase in long-running .NET applications
Important: Systems without this update remain vulnerable to security exploits targeting .NET Framework components.
Analysis

Root Causes

Root Cause

The issues addressed by KB5087064 stem from multiple factors in the .NET Framework runtime environment. Security vulnerabilities exist in the Common Language Runtime (CLR) memory management subsystem and Just-In-Time (JIT) compiler. Performance issues result from inefficient garbage collection algorithms in specific scenarios. Compatibility problems arise from changes in Windows 10 system APIs that affect legacy .NET Framework 3.5 applications. Memory management flaws in the Base Class Library (BCL) contribute to resource leaks in certain application patterns.

Overview

KB5087064 is a comprehensive cumulative update released on May 12, 2026, targeting Microsoft .NET Framework 3.5 and 4.8 on Windows 10 systems. This security-focused update addresses multiple vulnerabilities in the Common Language Runtime, Just-In-Time compiler, and Base Class Library components. The update applies specifically to Windows 10 Version 21H2 for x64-based systems and Windows 10 Version 22H2 for 32-bit systems.

Security Vulnerabilities Addressed

This update resolves several critical security vulnerabilities in the .NET Framework runtime environment. The most significant fixes target memory management flaws in the CLR that could potentially allow arbitrary code execution. These vulnerabilities affect both managed and unmanaged code execution paths, making them particularly serious for enterprise environments running .NET applications.

The security patches include enhanced bounds checking in memory allocation routines, improved validation of user input in framework APIs, and hardened security contexts for application domains. These changes collectively strengthen the security posture of .NET Framework applications against both local and remote exploitation attempts.

Performance and Reliability Improvements

Beyond security fixes, KB5087064 includes substantial performance improvements for garbage collection operations. The updated garbage collector features optimized algorithms for large object heap management and reduced pause times during collection cycles. These improvements are particularly beneficial for server applications and long-running desktop applications that process large datasets.

The JIT compiler receives significant updates to address optimization issues that could cause runtime crashes or generate incorrect code. These fixes ensure more reliable compilation of complex generic methods and improve performance for mathematical operations and loop constructs commonly used in scientific and financial applications.

Compatibility Enhancements

Legacy applications targeting .NET Framework 3.5 benefit from improved compatibility with Windows 10 22H2. The update resolves several issues that prevented older applications from running correctly on modern Windows versions, including problems with Windows Forms rendering on high-DPI displays and WPF application startup failures in specific regional configurations.

ASP.NET applications running in medium trust environments receive fixes for compilation errors that could prevent web applications from starting correctly. These changes ensure better backward compatibility while maintaining the security improvements introduced in recent Windows 10 updates.

Installation Requirements and Process

The installation process for KB5087064 is straightforward and follows standard Windows Update procedures. The update requires approximately 45-65 MB of disk space and necessitates a system restart to complete the installation. No additional prerequisites are required beyond having .NET Framework 3.5 or 4.8 already installed on the target system.

Enterprise environments can deploy this update through existing software update management infrastructure, including WSUS, SCCM, and Microsoft Intune. The update is classified as a critical security update and should be prioritized for deployment to minimize exposure to the addressed vulnerabilities.

Impact Assessment

Organizations should plan for the minor performance impact associated with enhanced security checks in the JIT compiler. While most applications will not experience noticeable changes, applications with intensive mathematical calculations or extensive use of unsafe code may see a 2-5% performance decrease. This trade-off is necessary to address the security vulnerabilities and should be considered acceptable for most enterprise environments.

Testing in non-production environments is recommended before widespread deployment, particularly for organizations running custom .NET applications or third-party software that may be sensitive to framework changes. The compatibility improvements generally enhance application stability, but some edge cases may require application updates or configuration changes.

Resolution Methods

Key Fixes & Changes

01

Patches CLR memory management vulnerabilities

This update resolves critical security vulnerabilities in the Common Language Runtime memory management subsystem. The fix addresses buffer overflow conditions that could allow arbitrary code execution in managed applications. Updated components include:

  • clr.dll - Core runtime library with enhanced memory bounds checking
  • mscorlib.dll - Base Class Library with improved security validation
  • System.dll - System namespace assemblies with hardened API implementations

The security patches prevent exploitation of memory corruption vulnerabilities that affect both .NET Framework 3.5 and 4.8 applications.

02

Resolves JIT compiler optimization issues

Fixes performance regression and stability issues in the Just-In-Time compiler affecting .NET Framework 4.8. The update addresses:

  • Incorrect code generation for specific optimization patterns
  • Runtime crashes during compilation of complex generic methods
  • Performance degradation in mathematical operations and loop constructs

Updated files include clrjit.dll and mscorjit.dll with improved optimization algorithms and enhanced error handling during code generation.

03

Improves garbage collection performance

Enhances garbage collection efficiency in both .NET Framework versions, particularly for applications with large object heaps. Improvements include:

  • Reduced pause times during generation 2 garbage collection
  • Better memory compaction algorithms for fragmented heaps
  • Optimized collection triggers for server garbage collection mode

The mscorwks.dll and mscorsvr.dll files are updated with new garbage collection heuristics that improve application responsiveness.

04

Fixes .NET Framework 3.5 compatibility issues

Resolves compatibility problems affecting legacy applications targeting .NET Framework 3.5 on Windows 10 22H2. The update addresses:

  • Windows Forms control rendering issues on high-DPI displays
  • WPF application startup failures with specific regional settings
  • ASP.NET compilation errors in medium trust environments

Updated assemblies include System.Windows.Forms.dll, PresentationFramework.dll, and System.Web.dll with enhanced compatibility layers.

05

Addresses Base Class Library memory leaks

Fixes memory leaks in several Base Class Library components that affect long-running applications. Resolved issues include:

  • Event handler registration leaks in System.IO.FileSystemWatcher
  • Unmanaged resource cleanup failures in System.Net.HttpWebRequest
  • Timer object disposal issues in System.Threading.Timer

The update ensures proper resource cleanup and prevents gradual memory consumption increase in affected application scenarios.

Validation

Installation

Installation

KB5087064 is available through multiple deployment channels:

Windows Update

The update is delivered automatically to Windows 10 systems with .NET Framework 3.5 or 4.8 installed. Automatic installation occurs during the next scheduled update check, typically within 24-48 hours of release.

Microsoft Update Catalog

Manual download is available from the Microsoft Update Catalog for enterprise environments requiring controlled deployment. Search for KB5087064 to locate the appropriate package for your system architecture.

Windows Server Update Services (WSUS)

Enterprise administrators can deploy this update through WSUS infrastructure. The update appears in the "Critical Updates" and ".NET Framework" categories for approval and deployment to managed systems.

System Center Configuration Manager (SCCM)

Available through SCCM software update management for large-scale enterprise deployment. The update synchronizes automatically with configured update classifications.

Prerequisites: No specific prerequisites are required. The update applies only to systems with .NET Framework 3.5 or 4.8 already installed.

File Size: Approximately 45-65 MB depending on system architecture and installed framework versions.

Restart Required: Yes, a system restart is required to complete the installation.

If it still fails

Known Issues

Known Issues

The following issues have been identified after installing KB5087064:

Application Compatibility

Some third-party applications using deprecated .NET Framework APIs may experience startup failures. This affects applications that rely on undocumented CLR behavior or use reflection to access internal framework methods.

Workaround: Contact the application vendor for an updated version compatible with the latest .NET Framework security updates.

Performance Impact

Applications with intensive mathematical calculations may experience a 2-5% performance decrease due to enhanced security checks in the JIT compiler. This primarily affects applications using unsafe code or P/Invoke extensively.

Mitigation: No workaround available. The performance impact is necessary for security hardening.

Windows Forms High-DPI Issues

Some Windows Forms applications may display scaling artifacts on systems with display scaling above 150%. This affects custom-drawn controls and applications not designed for high-DPI awareness.

Workaround: Set application DPI awareness to "System" in the application manifest or use compatibility settings in Windows 10.

Important: If you experience critical application failures after installing this update, you can uninstall it through Settings > Update & Security > Windows Update > View update history > Uninstall updates.

Frequently Asked Questions

What does KB5087064 resolve?+
KB5087064 resolves multiple security vulnerabilities in .NET Framework 3.5 and 4.8, including CLR memory management flaws, JIT compiler issues, and Base Class Library memory leaks. It also improves garbage collection performance and fixes compatibility issues with legacy applications on Windows 10.
Which systems require KB5087064?+
This update applies to Windows 10 Version 21H2 for x64-based systems and Windows 10 Version 22H2 for 32-bit systems that have Microsoft .NET Framework 3.5 or 4.8 installed. Systems without these framework versions are not affected.
Is KB5087064 a security update?+
Yes, KB5087064 is classified as a security update. It addresses multiple CVE-rated vulnerabilities in the .NET Framework runtime environment, including memory corruption issues that could allow arbitrary code execution in managed applications.
What are the prerequisites for KB5087064?+
No specific prerequisites are required for KB5087064. The update automatically applies to systems with .NET Framework 3.5 or 4.8 installed. Approximately 45-65 MB of free disk space is needed, and a system restart is required after installation.
Are there known issues with KB5087064?+
Known issues include potential startup failures in third-party applications using deprecated APIs, a 2-5% performance decrease in math-intensive applications, and possible scaling artifacts in Windows Forms applications on high-DPI displays. Workarounds are available for most issues.

References (3)

Discussion

Share your thoughts and insights

Sign in to join the discussion