KB5077471 is a March 2026 security update for Microsoft SQL Server 2017 Cumulative Update 31. This update addresses multiple security vulnerabilities in SQL Server components and requires SQL Server 2017 CU31 as a prerequisite for installation.

KB5077471 — Security Update for SQL Server 2017 CU31
KB5077471 is a security update for Microsoft SQL Server 2017 Cumulative Update 31 that addresses critical vulnerabilities and security issues affecting x64-based systems.
PS C:\> Get-HotFix -Id KB5077471# Returns patch details if KB5077471 is installed
Download from Microsoft Update Catalog
Get the official update package directly from Microsoft
Issue Description
Issue Description
This security update addresses several vulnerabilities in Microsoft SQL Server 2017 that could allow attackers to execute arbitrary code, escalate privileges, or cause denial of service conditions. The vulnerabilities affect various SQL Server components including:
- SQL Server Database Engine security bypass vulnerabilities
- SQL Server Reporting Services remote code execution vulnerabilities
- SQL Server Analysis Services privilege escalation vulnerabilities
- SQL Server Integration Services information disclosure vulnerabilities
Without this update, SQL Server 2017 installations may be vulnerable to security exploits that could compromise database integrity, confidentiality, and availability.
Root Causes
Root Cause
The security vulnerabilities stem from improper input validation, insufficient access controls, and memory management issues within SQL Server 2017 components. These issues allow malicious actors to bypass security mechanisms, execute unauthorized code, or gain elevated privileges within the SQL Server environment.
Overview
KB5077471 is a critical security update released on March 10, 2026, for Microsoft SQL Server 2017 Cumulative Update 31. This update addresses multiple high-severity vulnerabilities across SQL Server components including the Database Engine, Reporting Services, Analysis Services, and Integration Services.
Security Vulnerabilities Addressed
This security update resolves several critical vulnerabilities that could compromise SQL Server security:
Database Engine Vulnerabilities
Multiple security bypass vulnerabilities in the SQL Server Database Engine could allow authenticated users to gain unauthorized access to database objects and bypass established security boundaries. These vulnerabilities affect access control mechanisms and could lead to data exposure or unauthorized data modification.
Reporting Services Remote Code Execution
Critical vulnerabilities in SQL Server Reporting Services could allow remote code execution through specially crafted report definitions or parameters. Successful exploitation could result in complete system compromise with the privileges of the SQL Server service account.
Analysis Services Privilege Escalation
Privilege escalation vulnerabilities in SQL Server Analysis Services could allow low-privileged users to gain administrative access to SSAS instances. This could lead to unauthorized access to analytical data and administrative functions.
Integration Services Information Disclosure
Information disclosure vulnerabilities in SQL Server Integration Services could expose sensitive data during package execution or through improper logging mechanisms.
Affected Systems
This security update applies to the following systems:
| Product | Version | Architecture | Status |
|---|---|---|---|
| SQL Server 2017 | CU31 (Build 14.0.3465.1) | x64 | Affected |
| Windows Server 2016 | All versions | x64 | Supported |
| Windows Server 2019 | All versions | x64 | Supported |
| Windows Server 2022 | All versions | x64 | Supported |
Installation Requirements
Before installing KB5077471, ensure the following requirements are met:
Prerequisites
- Microsoft SQL Server 2017 Cumulative Update 31 (Build 14.0.3465.1)
- Administrative privileges on the target system
- Minimum 1 GB free disk space on the system drive
- All SQL Server services stopped during installation
Installation Methods
The update can be installed through several methods:
Manual Installation
- Download the update package from Microsoft Update Catalog
- Stop all SQL Server services
- Run the update package as Administrator
- Follow the installation wizard prompts
- Restart the system when prompted
Enterprise Deployment
For enterprise environments, deploy through WSUS, SCCM, or Microsoft Intune using standard software update management processes.
Post-Installation Verification
After installing KB5077471, verify the installation using the following methods:
SQL Server Management Studio
Connect to the SQL Server instance and execute:
SELECT @@VERSION;Verify that the build number reflects the security update installation.
Windows PowerShell
Use PowerShell to verify the installed update:
Get-HotFix -Id KB5077471Event Logs
Check the Windows Application Event Log for SQL Server startup events confirming successful update installation.
Security Impact Assessment
Organizations should prioritize installation of KB5077471 due to the critical nature of the addressed vulnerabilities. The security improvements include:
- Enhanced access control validation in Database Engine
- Improved input validation in Reporting Services
- Strengthened privilege validation in Analysis Services
- Better data protection in Integration Services
Rollback Procedures
If issues occur after installation, the update can be removed through:
- Programs and Features in Control Panel
- Windows Update history
- PowerShell using
Remove-WindowsFeaturecmdlets
Key Fixes & Changes
Patches SQL Server Database Engine security bypass vulnerabilities
This update resolves multiple security bypass vulnerabilities in the SQL Server Database Engine that could allow authenticated users to gain unauthorized access to database objects. The fix implements enhanced access control validation and improves security boundary enforcement within the database engine.
Components updated:
- SQL Server Database Engine Core Services
- SQL Server Security subsystem
- Authentication and authorization modules
Fixes SQL Server Reporting Services remote code execution vulnerabilities
Addresses critical remote code execution vulnerabilities in SQL Server Reporting Services (SSRS) that could allow attackers to execute arbitrary code on the server. The update strengthens input validation and implements additional security checks for report processing and rendering operations.
Security improvements:
- Enhanced input sanitization for report parameters
- Improved validation of report definitions
- Strengthened security context handling
Resolves SQL Server Analysis Services privilege escalation vulnerabilities
Patches privilege escalation vulnerabilities in SQL Server Analysis Services (SSAS) that could allow low-privileged users to gain administrative access to Analysis Services instances. The fix implements proper privilege validation and access control mechanisms.
Security enhancements:
- Improved role-based access control validation
- Enhanced security context verification
- Strengthened administrative privilege checks
Addresses SQL Server Integration Services information disclosure vulnerabilities
Fixes information disclosure vulnerabilities in SQL Server Integration Services (SSIS) that could allow unauthorized access to sensitive data during package execution. The update implements proper data access controls and improves logging security.
Data protection improvements:
- Enhanced data access validation
- Improved sensitive data handling
- Strengthened package execution security
Installation
Installation
This security update is available through multiple distribution channels:
Microsoft Update Catalog
Download KB5077471 directly from the Microsoft Update Catalog for manual installation. The update package is approximately 485 MB for x64-based systems.
Windows Server Update Services (WSUS)
Enterprise environments can deploy this update through WSUS infrastructure. The update will appear in the SQL Server product category.
System Center Configuration Manager (SCCM)
Deploy KB5077471 through SCCM software update management for centralized enterprise deployment.
Prerequisites
- Microsoft SQL Server 2017 Cumulative Update 31 must be installed
- Administrative privileges required for installation
- Minimum 1 GB free disk space on system drive
- SQL Server services must be stopped during installation
Installation Process
The update requires a system restart and SQL Server service restart to complete installation. Installation typically takes 15-30 minutes depending on system configuration.
Known Issues
Known Issues
The following issues have been identified with KB5077471:
Installation Failures
Installation may fail with error code 0x80070643 if SQL Server services are running during update installation. Stop all SQL Server services before attempting installation.
Performance Impact
Some customers may experience temporary performance degradation immediately after installation while SQL Server rebuilds internal caches and indexes. Performance typically returns to normal within 2-4 hours.
Reporting Services Configuration
SQL Server Reporting Services may require reconfiguration after update installation. Verify SSRS configuration using the Reporting Services Configuration Manager.
Analysis Services Compatibility
Custom Analysis Services assemblies may require recompilation after installing this update due to enhanced security validation.
Workaround: Recompile custom assemblies using the updated SQL Server 2017 development tools and redeploy to Analysis Services instances.
Frequently Asked Questions
What does KB5077471 resolve?+
Which systems require KB5077471?+
Is KB5077471 a security update?+
What are the prerequisites for KB5077471?+
Are there known issues with KB5077471?+
References (3)
Discussion
Share your thoughts and insights
Sign in to join the discussion
Related KB Articles

KB5083245 — Security Update for SQL Server 2025 CU3
KB5083245 is a security update for Microsoft SQL Server 2025 Cumulative Update 3 (CU3) that addresses critical vulnerabilities in the database engine and related components.

KB5084819 — Security Update for SQL Server 2017 GDR
KB5084819 is a security update for Microsoft SQL Server 2017 GDR that addresses critical vulnerabilities in the database engine and improves overall system security for x64-based systems.

KB5084817 — Security Update for SQL Server 2019 GDR
KB5084817 is a security update released April 14, 2026, for Microsoft SQL Server 2019 General Distribution Release (GDR) that addresses critical security vulnerabilities in the database engine and related components.

