Applies To.NET Framework 4.7 .NET Framework 4.6 .NET Framework 4.6.1 .NET Framework 4.6.2

View products that this article applies to.

Summary

This security update resolves a vulnerability in the Microsoft .NET Framework that could allow remote code execution when Microsoft .NET Framework processes untrusted input. An attacker who successfully exploited this vulnerability in software by using the .NET Framework could take control of an affected system. An attacker could then install programs; view, change, or delete data; or create new accounts that have full user rights. Users whose accounts are configured to have fewer user rights on the system could be less affected than users who operate with administrative user rights.

To exploit the vulnerability, an attacker would first have to convince the user to open a malicious document or application.

This security update addresses the vulnerability by correcting how .NET validates untrusted input. To learn more about this vulnerability, see Microsoft Common Vulnerabilities and Exposures CVE-2017-8759.

Important

  • All updates for .NET Framework 4.6, 4.6.1, 4.6.2, and 4.7 require the d3dcompiler_47.dll update to be installed. We recommend that you install the included d3dcompiler_47.dll update before you apply this update. For more information about the d3dcompiler_47.dll update, see KB 4019990 for Windows 7 SP1 and Windows Server 2008 R2 SP1. Or, see KB 4019478 for Windows Server 2008.

  • If you install a language pack after you install this update, you must reinstall this update. Therefore, we recommend that you install any language packs that you need before you install this update. For more information, see Add language packs to Windows.

Quality and reliability fixes

Networking

  • A fix included in the May Monthly Security and Quality Rollup is being changed to improve the performance of network latency about Active Directory lookups for enhanced key usage (EKU) object identifiers (OIDs) function that is used in TLS (Transport Layer Security) and SSL (Secure Sockets Layer) certificates.

WPF

  • Under certain circumstances, Windows Presentation Framework (WPF) applications (notably, Visual Studio) are observed to consume disproportionate amount of CPU cycles in relation to their actual workload. Frequently, these applications eventually crash.  This is seen in WPF applications that are left running in a locked logon session, or when they are left running in a disconnected Terminal Services session.

CLR

  • Under certain circumstances, the JIT compiler can perform an incorrect common subexpression elimination (CSE) optimization which results in an incorrect value being computed.

  • For certain XslCompiledTransform objects, the JIT compiler can perform an incorrect tail call optimization.

  • When you run certain large server workloads, the JIT compiler can cause an Access Violation and causes early termination of the common language runtime (CLR).

Winforms

  • When Windows Forms controls are anchored to the right edge (a nondefault anchor style value), in PerMonitor DPI aware application, anchoring distance is scaled incorrectly on each scaling pass. You may see that controls are moving toward the right edge of the window on each scaling pass and eventually disappear, or that controls are stretched incorrectly.

.NET Framework

  • Applications that run on the .NET Framework do not respect the settings that are specified in the registry for AppContext switches. Regardless of the registry option setting for an AppContext flag, the application behaves as if the value specified is set to "false."

Known issues in this update

  • After you install the September 12, 2017, .NET Security and Quality Rollups that apply to the .NET Framework 4.6, 4.6.1, 4.6.2, and 4.7, you experience rendering issues in Windows Presentation Foundation (WPF) applications that use WPF types in a Windows service. For more information, see KB 4043601.

Additional information about this security update

For more information about this security update as it relates to Windows 7 Service Pack 1 (SP1) and Windows Server 2008 R2 SP1, see the following article in the Microsoft Knowledge Base:

4041083 Security and Quality Rollup for the .NET Framework 3.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2 and 4.7 updates for Windows 7 SP1 and Windows Server 2008 R2 SP1: September 12, 2017

For more information about this security update as it relates to Windows Server 2008 Service Pack 2 (SP2), see the following article in the Microsoft Knowledge Base:

4041086 Security and Quality Rollup for the .NET Framework 2.0 SP2, 4.5.2, 4.6, 4.6.1, 4.6.2 and 4.7 updates for Windows Server 2008 SP2: September 12, 2017

How to obtain and install the update

Method 1: Windows Update

This update is available through Windows Update. When you turn on automatic updating, this update will be downloaded and installed automatically. For more information about how to get security updates automatically, see Windows Update: FAQ.

Method 2: Microsoft Update Catalog

To get the stand-alone package for this update, go to the Microsoft Update Catalog.

  • For Windows 7 SP1 and Windows Server 2008 R2 SP1, go to 4041083.

  • For Windows Server 2008 R2 SP1, go to 4041086.

Method 3: Windows Software Update Services (WSUS)

On your WSUS server, follow these steps:

  1. Click Start, click Administrative Tools, and then click Microsoft Windows Server Update Services 3.0.

  2. Expand ComputerName, and then click Action.

  3. Click Import Updates.

  4. WSUS will open a browser window in which you may be prompted to install an ActiveX control. You must install the ActiveX control to continue.

  5. Once the control is installed, you will see the Microsoft Update Catalog screen. Enter 4041083 for Windows 7 SP1 and Windows Server 2008 R2 SP1 or enter 4041086 for Windows Server 2008 SP2 into the Search box, and then click Search.

  6. Locate the .NET Framework packages that match the operating systems, languages, and processors in your environment. Click Add to add them to your basket.

  7. When you have selected all the packages you need, click View Basket.

  8. Click Import to import the packages to your WSUS server.

  9. Click Close once the packages have been imported to return to WSUS.

The updates are now available for installation through WSUS.

Update deployment information

For deployment details for this security update, go to the following article in the Microsoft Knowledge Base:

20170912 Security update deployment information: September 12, 2017

Update removal information

Note We do not recommend that you remove any security update. To remove this update, use the Programs and Features item in Control Panel.

Update restart information

This update does not require a system restart after you apply it unless files that are being updated are locked or are being used.

Update replacement information

This update replaces updates 4019115, 4035039, 4014984, 4032116, 4019112, 4035036, 4014981, and 4032113.

 

File information

File hash

Package Name

Package Hash SHA 1

Package Hash SHA 2

NDP46-KB4040973-x86.exe

F27C90BF535FEFC6CF521CA5702D95FE26B6C8BA

79CB576A0EF2D035EB37B86FB6224ECD2D8626510D8F8679619CCCEDFD748BC1

NDP46-KB4040973-x64.exe

5DA041181051D83E3AAD0950EF4B5C7DB58520F7

28592EA6D3CAF87A1E8A1D66921AAF3DB18A429F5E6EDD00EEBA2A7AE8C65CA8

File attributes

The English (United States) version of this hotfix installs files that have the attributes that are listed in the following tables. The dates and the times for these files are listed in Coordinated Universal Time (UTC). The dates and the times for these files on your local computer are displayed in your local time together with your current daylight saving time (DST) bias. Additionally, the dates and the times may change when you perform certain operations on the files.

For all x86-based systems

File name

File version

File size

Date

Time

Aspnet_perf.dll

4.7.2114.0

42,672

31-Aug-2017

03:37

aspnet_wp.exe

4.7.2114.0

46,200

31-Aug-2017

03:38

clr.dll

4.7.2114.0

7,221,904

31-Aug-2017

03:37

clrjit.dll

4.7.2114.0

522,912

31-Aug-2017

03:37

dfdll.dll

4.7.2114.0

159,896

31-Aug-2017

03:37

GlobalUserInterface.CompositeFont

116,922

31-Aug-2017

03:37

mscordacwks.dll

4.7.2114.0

1,341,104

31-Aug-2017

03:37

mscordbi.dll

4.7.2114.0

1,164,960

31-Aug-2017

03:37

mscoreei.dll

4.7.2114.0

511,656

31-Aug-2017

03:37

mscorlib.dll

4.7.2114.0

5,614,240

31-Aug-2017

03:37

msvcp120_clr0400.dll

12.0.52519.0

485,576

31-Aug-2017

03:38

msvcr120_clr0400.dll

12.0.52519.0

987,840

31-Aug-2017

03:38

VsVersion.dll

14.7.2114.0

19,112

31-Aug-2017

03:37

peverify.dll

4.7.2114.0

188,584

31-Aug-2017

03:38

PresentationCore.dll

4.7.2114.0

3,616,608

31-Aug-2017

03:37

PresentationFramework.dll

4.7.2114.0

6,200,184

31-Aug-2017

03:37

PresentationHost_v0400.dll

4.7.2114.0

197,344

31-Aug-2017

03:37

PresentationHost_v0400.dll.mui

4.7.2114.0

84,712

31-Aug-2017

03:37

PresentationNative_v0400.dll

4.7.2114.0

827,112

31-Aug-2017

03:37

ServiceMonikerSupport.dll

4.7.2114.0

29,400

31-Aug-2017

03:38

SMDiagnostics.dll

4.7.2114.0

73,392

31-Aug-2017

03:37

SOS.dll

4.7.2114.0

743,568

31-Aug-2017

03:37

System.Activities.dll

4.7.2114.0

1,532,616

31-Aug-2017

03:37

System.ComponentModel.DataAnnotations.dll

4.7.2114.0

126,272

31-Aug-2017

03:37

System.Core.dll

4.7.2114.0

1,381,536

31-Aug-2017

03:37

System.Data.Entity.dll

4.7.2114.0

4,034,248

31-Aug-2017

03:37

System.IdentityModel.dll

4.7.2114.0

1,088,728

31-Aug-2017

03:37

System.IdentityModel.Services.dll

4.7.2114.0

198,392

31-Aug-2017

03:38

System.Runtime.Serialization.dll

4.7.2114.0

1,052,936

31-Aug-2017

03:37

System.ServiceModel.Channels.dll

4.7.2114.0

157,944

31-Aug-2017

03:37

System.ServiceModel.Discovery.dll

4.7.2114.0

308,472

31-Aug-2017

03:37

System.ServiceModel.dll

4.7.2114.0

6,311,120

31-Aug-2017

03:37

System.ServiceModel.Internals.dll

4.7.2114.0

254,224

31-Aug-2017

03:37

System.ServiceModel.Routing.dll

4.7.2114.0

130,800

31-Aug-2017

03:37

System.ServiceModel.WasHosting.dll

4.7.2114.0

39,672

31-Aug-2017

03:38

System.Web.ApplicationServices.dll

4.7.2114.0

70,936

31-Aug-2017

03:37

System.Web.Extensions.dll

4.7.2114.0

1,849,568

31-Aug-2017

03:38

System.Workflow.Activities.dll

4.7.2114.0

1,051,368

31-Aug-2017

03:38

System.Workflow.ComponentModel.dll

4.7.2114.0

1,541,880

31-Aug-2017

03:38

System.Workflow.Runtime.dll

4.7.2114.0

499,424

31-Aug-2017

03:38

System.Runtime.Caching.dll

4.7.2114.0

109,944

31-Aug-2017

03:38

System.Data.dll

4.7.2114.0

3,391,152

31-Aug-2017

03:37

System.Data.SqlXml.dll

4.7.2114.0

734,408

31-Aug-2017

03:37

System.Deployment.dll

4.7.2114.0

845,512

31-Aug-2017

03:37

System.DirectoryServices.Protocols.dll

4.7.2114.0

201,520

31-Aug-2017

03:37

System.dll

4.7.2114.0

3,526,280

31-Aug-2017

03:37

System.Drawing.dll

4.7.2114.0

600,248

31-Aug-2017

03:37

System.Management.dll

4.7.2114.0

415,424

31-Aug-2017

03:37

System.Runtime.Remoting.dll

4.7.2114.0

347,368

31-Aug-2017

03:37

System.Security.dll

4.7.2114.0

316,608

31-Aug-2017

03:37

System.Transactions.dll

4.7.2114.0

307,408

31-Aug-2017

03:37

System.Web.dll

4.7.2114.0

5,406,376

31-Aug-2017

03:38

System.Windows.Controls.Ribbon.dll

4.7.2114.0

742,816

31-Aug-2017

03:37

System.Windows.Forms.dll

4.7.2114.0

5,181,656

31-Aug-2017

03:37

System.Xaml.dll

4.7.2114.0

641,184

31-Aug-2017

03:37

System.Xml.dll

4.7.2114.0

2,666,656

31-Aug-2017

03:37

webengine.dll

4.7.2114.0

24,744

31-Aug-2017

03:38

webengine4.dll

4.7.2114.0

550,064

31-Aug-2017

03:38

WindowsBase.dll

4.7.2114.0

1,283,920

31-Aug-2017

03:37

WMINet_Utils.dll

4.7.2114.0

136,368

31-Aug-2017

03:37

WorkflowServiceHostPerformanceCounters.dll

4.7.2114.0

89,376

31-Aug-2017

03:37

WPFFontCache_v0400.exe.mui

4.7.2114.0

19,160

31-Aug-2017

03:37

WPFFontCache_v0400.exe

4.7.2114.0

25,720

31-Aug-2017

03:37

wpfgfx_v0400.dll

4.7.2114.0

1,344,696

31-Aug-2017

03:37

Placeholder.dll

4.7.2114.0

24,752

31-Aug-2017

03:37

PenIMC2_v0400.dll

4.7.2114.0

82,104

31-Aug-2017

03:37

For all x64-based systems

File name

File version

File size

Date

Time

Aspnet_perf.dll

4.7.2114.0

46,256

31-Aug-2017

03:55

Aspnet_perf.dll

4.7.2114.0

42,672

31-Aug-2017

03:37

aspnet_wp.exe

4.7.2114.0

50,808

31-Aug-2017

03:55

aspnet_wp.exe

4.7.2114.0

46,200

31-Aug-2017

03:38

clr.dll

4.7.2114.0

10,326,160

31-Aug-2017

03:54

clr.dll

4.7.2114.0

7,221,904

31-Aug-2017

03:37

clrjit.dll

4.7.2114.0

1,129,120

31-Aug-2017

03:54

clrjit.dll

4.7.2114.0

522,912

31-Aug-2017

03:37

compatjit.dll

4.7.2114.0

1,259,688

31-Aug-2017

03:54

dfdll.dll

4.7.2114.0

191,640

31-Aug-2017

03:54

dfdll.dll

4.7.2114.0

159,896

31-Aug-2017

03:37

GlobalUserInterface.CompositeFont

116,922

31-Aug-2017

03:37

mscordacwks.dll

4.7.2114.0

1,838,256

31-Aug-2017

03:54

mscordacwks.dll

4.7.2114.0

1,341,104

31-Aug-2017

03:37

mscordbi.dll

4.7.2114.0

1,618,592

31-Aug-2017

03:54

mscordbi.dll

4.7.2114.0

1,164,960

31-Aug-2017

03:37

mscoreei.dll

4.7.2114.0

636,072

31-Aug-2017

03:54

mscoreei.dll

4.7.2114.0

511,656

31-Aug-2017

03:37

mscorlib.dll

4.7.2114.0

5,401,768

31-Aug-2017

03:54

mscorlib.dll

4.7.2114.0

5,614,240

31-Aug-2017

03:37

msvcp120_clr0400.dll

12.0.52519.0

690,008

31-Aug-2017

03:55

msvcp120_clr0400.dll

12.0.52519.0

485,576

31-Aug-2017

03:38

msvcr120_clr0400.dll

12.0.52519.0

993,632

31-Aug-2017

03:55

msvcr120_clr0400.dll

12.0.52519.0

987,840

31-Aug-2017

03:38

VsVersion.dll

14.7.2114.0

19,112

31-Aug-2017

03:54

VsVersion.dll

14.7.2114.0

19,112

31-Aug-2017

03:37

peverify.dll

4.7.2114.0

260,264

31-Aug-2017

03:55

peverify.dll

4.7.2114.0

188,584

31-Aug-2017

03:38

PresentationCore.dll

4.7.2114.0

3,590,848

31-Aug-2017

03:54

PresentationCore.dll

4.7.2114.0

3,616,608

31-Aug-2017

03:37

PresentationFramework.dll

4.7.2114.0

6,200,184

31-Aug-2017

03:37

PresentationHost_v0400.dll

4.7.2114.0

256,736

31-Aug-2017

03:54

PresentationHost_v0400.dll.mui

4.7.2114.0

84,720

31-Aug-2017

03:54

PresentationHost_v0400.dll

4.7.2114.0

197,344

31-Aug-2017

03:37

PresentationHost_v0400.dll.mui

4.7.2114.0

84,712

31-Aug-2017

03:37

PresentationNative_v0400.dll

4.7.2114.0

1,109,736

31-Aug-2017

03:54

PresentationNative_v0400.dll

4.7.2114.0

827,112

31-Aug-2017

03:37

ServiceMonikerSupport.dll

4.7.2114.0

31,448

31-Aug-2017

03:55

ServiceMonikerSupport.dll

4.7.2114.0

29,400

31-Aug-2017

03:38

SMDiagnostics.dll

4.7.2114.0

73,392

31-Aug-2017

03:37

SOS.dll

4.7.2114.0

872,080

31-Aug-2017

03:54

SOS.dll

4.7.2114.0

743,568

31-Aug-2017

03:37

System.Activities.dll

4.7.2114.0

1,532,616

31-Aug-2017

03:37

System.ComponentModel.DataAnnotations.dll

4.7.2114.0

126,272

31-Aug-2017

03:37

System.Core.dll

4.7.2114.0

1,381,536

31-Aug-2017

03:37

System.Data.Entity.dll

4.7.2114.0

4,034,248

31-Aug-2017

03:37

System.IdentityModel.dll

4.7.2114.0

1,088,728

31-Aug-2017

03:37

System.IdentityModel.Services.dll

4.7.2114.0

198,392

31-Aug-2017

03:38

System.Runtime.Serialization.dll

4.7.2114.0

1,052,936

31-Aug-2017

03:37

System.ServiceModel.Channels.dll

4.7.2114.0

157,944

31-Aug-2017

03:37

System.ServiceModel.Discovery.dll

4.7.2114.0

308,472

31-Aug-2017

03:37

System.ServiceModel.dll

4.7.2114.0

6,311,120

31-Aug-2017

03:37

System.ServiceModel.Internals.dll

4.7.2114.0

254,224

31-Aug-2017

03:37

System.ServiceModel.Routing.dll

4.7.2114.0

130,800

31-Aug-2017

03:37

System.ServiceModel.WasHosting.dll

4.7.2114.0

39,672

31-Aug-2017

03:38

System.Web.ApplicationServices.dll

4.7.2114.0

70,936

31-Aug-2017

03:37

System.Web.Extensions.dll

4.7.2114.0

1,849,568

31-Aug-2017

03:38

System.Workflow.Activities.dll

4.7.2114.0

1,051,368

31-Aug-2017

03:38

System.Workflow.ComponentModel.dll

4.7.2114.0

1,541,880

31-Aug-2017

03:38

System.Workflow.Runtime.dll

4.7.2114.0

499,424

31-Aug-2017

03:38

System.Runtime.Caching.dll

4.7.2114.0

109,944

31-Aug-2017

03:38

System.Data.dll

4.7.2114.0

3,455,152

31-Aug-2017

03:54

System.Data.dll

4.7.2114.0

3,391,152

31-Aug-2017

03:37

System.Data.SqlXml.dll

4.7.2114.0

734,408

31-Aug-2017

03:37

System.Deployment.dll

4.7.2114.0

845,512

31-Aug-2017

03:37

System.DirectoryServices.Protocols.dll

4.7.2114.0

201,520

31-Aug-2017

03:37

System.dll

4.7.2114.0

3,526,280

31-Aug-2017

03:37

System.Drawing.dll

4.7.2114.0

600,248

31-Aug-2017

03:37

System.Management.dll

4.7.2114.0

415,424

31-Aug-2017

03:37

System.Runtime.Remoting.dll

4.7.2114.0

347,368

31-Aug-2017

03:37

System.Security.dll

4.7.2114.0

316,608

31-Aug-2017

03:37

System.Transactions.dll

4.7.2114.0

310,992

31-Aug-2017

03:54

System.Transactions.dll

4.7.2114.0

307,408

31-Aug-2017

03:37

System.Web.dll

4.7.2114.0

5,388,968

31-Aug-2017

03:55

System.Web.dll

4.7.2114.0

5,406,376

31-Aug-2017

03:38

System.Windows.Controls.Ribbon.dll

4.7.2114.0

742,816

31-Aug-2017

03:37

System.Windows.Forms.dll

4.7.2114.0

5,181,656

31-Aug-2017

03:37

System.Xaml.dll

4.7.2114.0

641,184

31-Aug-2017

03:37

System.XML.dll

4.7.2114.0

2,666,656

31-Aug-2017

03:37

webengine.dll

4.7.2114.0

26,280

31-Aug-2017

03:55

webengine.dll

4.7.2114.0

24,744

31-Aug-2017

03:38

webengine4.dll

4.7.2114.0

667,824

31-Aug-2017

03:55

webengine4.dll

4.7.2114.0

550,064

31-Aug-2017

03:38

WindowsBase.dll

4.7.2114.0

1,283,920

31-Aug-2017

03:37

WMINet_Utils.dll

4.7.2114.0

188,088

31-Aug-2017

03:54

WMINet_Utils.dll

4.7.2114.0

136,368

31-Aug-2017

03:37

WorkflowServiceHostPerformanceCounters.dll

4.7.2114.0

101,152

31-Aug-2017

03:54

WorkflowServiceHostPerformanceCounters.dll

4.7.2114.0

89,376

31-Aug-2017

03:37

WPFFontCache_v0400.exe.mui

4.7.2114.0

19,168

31-Aug-2017

06:36

WPFFontCache_v0400.exe.mui

4.7.2114.0

19,160

31-Aug-2017

03:37

WPFFontCache_v0400.exe

4.7.2114.0

26,744

31-Aug-2017

06:36

WPFFontCache_v0400.exe

4.7.2114.0

25,720

31-Aug-2017

03:37

wpfgfx_v0400.dll

4.7.2114.0

1,764,536

31-Aug-2017

03:54

wpfgfx_v0400.dll

4.7.2114.0

1,344,696

31-Aug-2017

03:37

Placeholder.dll

4.7.2114.0

25,776

31-Aug-2017

03:54

Placeholder.dll

4.7.2114.0

24,752

31-Aug-2017

03:37

PenIMC2_v0400.dll

4.7.2114.0

99,000

31-Aug-2017

03:54

PenIMC2_v0400.dll

4.7.2114.0

82,104

31-Aug-2017

03:37

How to obtain help and support for this security update

Applies to

This article applies to the following:

  • Microsoft .NET Framework 4.6, 4.6.1, 4.6.2 and 4.7 when used with:

    • Windows Server 2008 R2 Service Pack 1

    • Windows 7 Service Pack 1

  • Microsoft .NET Framework 4.6 when used with:

    • Windows Server 2008 Service Pack 2

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.