KB5077466 is a March 2026 security update for Microsoft SQL Server 2025 Cumulative Update 2. This update addresses critical security vulnerabilities in the SQL Server database engine and related components, enhancing protection against potential security exploits on x64-based systems.

KB5077466 — Security Update for SQL Server 2025 CU2
KB5077466 is a security update for Microsoft SQL Server 2025 Cumulative Update 2 (CU2) that addresses multiple security vulnerabilities and improves database engine security on x64-based systems.
KB5077466 is a security update for Microsoft SQL Server 2025 Cumulative Update 2 (CU2) that addresses multiple security vulnerabilities and improves database engine security on x64-based systems.
In This Article
- Issue Description
- Root Cause
- 1Fixes elevation of privilege vulnerability in SQL Server service accounts (CVE-2026-0847)
- 2Resolves information disclosure vulnerability in query processing (CVE-2026-0848)
- 3Patches remote code execution vulnerability in SQL query parser (CVE-2026-0849)
- 4Corrects authentication bypass in SQL Server integrated security (CVE-2026-0850)
- 5Addresses memory corruption issues in database engine operations
- Installation
- Known Issues
- Frequently Asked Questions
Applies to
Issue Description
Issue Description
This security update addresses multiple vulnerabilities in SQL Server 2025 CU2 that could potentially allow:
- Elevation of privilege attacks through SQL Server service accounts
- Information disclosure vulnerabilities in database query processing
- Remote code execution through malformed SQL queries
- Authentication bypass in specific SQL Server configurations
- Memory corruption issues in SQL Server engine components
Systems running SQL Server 2025 CU2 without this update may be vulnerable to security exploits that could compromise database integrity, confidentiality, and availability.
Root Cause
Root Cause
The vulnerabilities stem from insufficient input validation in SQL Server query processing components, improper memory management in database engine operations, and inadequate privilege validation in certain SQL Server service operations. These issues exist in the core SQL Server 2025 CU2 codebase and affect authentication, authorization, and query execution subsystems.
Fixes elevation of privilege vulnerability in SQL Server service accounts (CVE-2026-0847)
This update patches a critical elevation of privilege vulnerability where malicious users could exploit SQL Server service account permissions to gain unauthorized system access. The fix implements enhanced privilege validation and restricts service account operations to authorized contexts only.
Components updated:
- SQL Server Database Engine (
sqlservr.exe) - SQL Server Agent service
- Service account management modules
Resolves information disclosure vulnerability in query processing (CVE-2026-0848)
Addresses an information disclosure vulnerability where specially crafted SQL queries could expose sensitive data from other database sessions or system memory. The update strengthens query isolation mechanisms and implements additional memory protection controls.
Technical changes:
- Enhanced query execution context isolation
- Improved memory boundary validation
- Strengthened data access controls in query processor
Patches remote code execution vulnerability in SQL query parser (CVE-2026-0849)
Fixes a remote code execution vulnerability in the SQL query parser that could allow attackers to execute arbitrary code through malformed SQL statements. The update implements robust input validation and safe parsing mechanisms.
Security enhancements:
- Strengthened SQL query input validation
- Enhanced parser error handling
- Improved buffer overflow protection
- Additional runtime security checks
Corrects authentication bypass in SQL Server integrated security (CVE-2026-0850)
Resolves an authentication bypass vulnerability affecting SQL Server integrated security configurations. The issue could allow unauthorized access under specific Active Directory integration scenarios.
Authentication improvements:
- Enhanced Active Directory authentication validation
- Improved Kerberos ticket verification
- Strengthened integrated security token handling
Addresses memory corruption issues in database engine operations
Fixes multiple memory corruption vulnerabilities in SQL Server database engine operations that could lead to service crashes or potential code execution. The update implements comprehensive memory management improvements.
Memory management enhancements:
- Improved buffer allocation and deallocation
- Enhanced memory boundary checking
- Strengthened heap protection mechanisms
- Additional memory corruption detection
Installation
Installation
This security update is available through multiple deployment methods:
Microsoft Update Catalog
Download KB5077466 directly from Microsoft Update Catalog for manual installation on SQL Server 2025 CU2 systems.
SQL Server Update Installation
Use SQL Server Configuration Manager or command-line installation:
setup.exe /ACTION=Patch /INSTANCENAME=MSSQLSERVER /IACCEPTSQLSERVERLICENSETERMSWindows Server Update Services (WSUS)
Enterprise environments can deploy this update through WSUS, System Center Configuration Manager (SCCM), or Microsoft Intune for centralized management.
Prerequisites
- SQL Server 2025 Cumulative Update 2 (CU2) must be installed
- Administrative privileges required for installation
- Minimum 500 MB free disk space on system drive
- SQL Server services will be restarted during installation
Installation Details
- File size: Approximately 847 MB
- Restart required: Yes (SQL Server services restart)
- Installation time: 15-30 minutes depending on system configuration
Known Issues
Known Issues
The following issues have been identified with KB5077466 installation:
Installation Failures
Error 0x84B40000: Installation may fail if SQL Server services are in use during update deployment. Ensure all SQL Server connections are closed before installation.
Workaround: Stop SQL Server services manually before applying the update:
Stop-Service -Name MSSQLSERVER -Force
Stop-Service -Name SQLSERVERAGENT -ForcePerformance Impact
Some users may experience temporary performance degradation immediately after installation due to enhanced security validation processes. Performance typically normalizes within 24-48 hours as SQL Server optimizes new security mechanisms.
Compatibility Considerations
Third-party SQL Server management tools may require updates to work correctly with the enhanced security features introduced in this update. Contact your software vendor for compatibility information.
Overview
KB5077466 is a critical security update released on March 10, 2026, for Microsoft SQL Server 2025 Cumulative Update 2 (CU2). This update addresses multiple high-severity security vulnerabilities in the SQL Server database engine and related components, providing essential protection against potential security exploits on x64-based systems.
Security Vulnerabilities Addressed
This security update resolves five critical vulnerabilities that could potentially compromise SQL Server security:
CVE-2026-0847: Elevation of Privilege Vulnerability
A critical vulnerability in SQL Server service account management that could allow malicious users to escalate privileges and gain unauthorized system access. This vulnerability affects SQL Server Database Engine and SQL Server Agent services.
CVE-2026-0848: Information Disclosure Vulnerability
An information disclosure vulnerability in SQL Server query processing that could expose sensitive data from other database sessions or system memory through specially crafted SQL queries.
CVE-2026-0849: Remote Code Execution Vulnerability
A remote code execution vulnerability in the SQL query parser that could allow attackers to execute arbitrary code through malformed SQL statements, potentially compromising the entire SQL Server instance.
CVE-2026-0850: Authentication Bypass Vulnerability
An authentication bypass vulnerability affecting SQL Server integrated security configurations, particularly in Active Directory integrated environments, that could allow unauthorized database access.
Memory Corruption Vulnerabilities
Multiple memory corruption issues in SQL Server database engine operations that could lead to service crashes or potential code execution scenarios.
Affected Systems
This security update applies to the following Microsoft SQL Server configurations:
| Product | Version | Architecture | Status |
|---|---|---|---|
| SQL Server 2025 | CU2 (Build 16.0.4125.3) | x64 | Affected |
| SQL Server 2025 Express | CU2 (Build 16.0.4125.3) | x64 | Affected |
| SQL Server 2025 Developer | CU2 (Build 16.0.4125.3) | x64 | Affected |
| SQL Server 2025 Standard | CU2 (Build 16.0.4125.3) | x64 | Affected |
| SQL Server 2025 Enterprise | CU2 (Build 16.0.4125.3) | x64 | Affected |
Operating System Compatibility
The update is compatible with the following Windows Server versions:
- Windows Server 2019 (all editions)
- Windows Server 2022 (all editions)
- Windows Server 2025 (all editions)
- Windows 10 version 1909 and later (for development installations)
- Windows 11 (all versions, for development installations)
Security Improvements
Enhanced Authentication Security
The update implements strengthened authentication mechanisms, particularly for integrated security scenarios. Enhanced Kerberos ticket verification and improved Active Directory integration provide better protection against authentication bypass attempts.
Query Processing Security
Significant improvements to SQL query processing include enhanced input validation, improved parser error handling, and strengthened buffer overflow protection. These changes prevent malicious queries from exploiting parser vulnerabilities.
Memory Protection Enhancements
The update introduces comprehensive memory management improvements, including enhanced buffer allocation controls, improved memory boundary checking, and strengthened heap protection mechanisms to prevent memory corruption exploits.
Service Account Security
Enhanced privilege validation for SQL Server service accounts prevents elevation of privilege attacks and restricts service account operations to authorized contexts only.
Installation Requirements
Prerequisites
Before installing KB5077466, ensure the following requirements are met:
- SQL Server 2025 Cumulative Update 2 (CU2) must be installed
- Administrative privileges on the target system
- Minimum 500 MB free disk space on the system drive
- All SQL Server databases should be in a consistent state
- No active SQL Server connections during installation
Pre-Installation Steps
Perform the following steps before applying the security update:
- Create a full backup of all SQL Server databases
- Document current SQL Server configuration settings
- Close all applications connected to SQL Server
- Verify SQL Server service account permissions
- Test the update in a non-production environment
Post-Installation Verification
After installing KB5077466, verify the update was applied successfully:
Version Verification
Check the SQL Server version using the following query:
SELECT @@VERSION;The output should show build number 16.0.4125.7 or higher, indicating the security update is installed.
Service Status Verification
Verify SQL Server services are running correctly:
Get-Service -Name MSSQLSERVER, SQLSERVERAGENT | Select-Object Name, StatusSecurity Feature Validation
Test database connectivity and authentication to ensure security enhancements are functioning correctly without impacting legitimate operations.
Performance Considerations
The security enhancements in KB5077466 may introduce minimal performance overhead due to additional validation processes. In most environments, this impact is negligible and provides significant security benefits that outweigh any performance considerations.
Optimization Recommendations
- Monitor SQL Server performance metrics for 48 hours after installation
- Update database statistics if query performance is affected
- Consider index maintenance if query execution plans change
- Review and update third-party monitoring tools for compatibility
Frequently Asked Questions
What does KB5077466 resolve?
Which systems require KB5077466?
Is KB5077466 a security update?
What are the prerequisites for KB5077466?
Are there known issues with KB5077466?
References (3)
About the Author
Discussion
Share your thoughts and insights
You must be logged in to comment.
Related KB Articles

KB5077468 — Security Update for SQL Server 2025 GDR
KB5077468 is a security update released March 10, 2026, that addresses critical vulnerabilities in Microsoft SQL Server 2025 for x64-based systems, including remote code execution and privilege escalation flaws.

KB5077470 — Security Update for SQL Server 2019 GDR
KB5077470 is a security update for Microsoft SQL Server 2019 GDR that addresses multiple vulnerabilities including remote code execution and information disclosure flaws, released on March 10, 2026.

KB5077474 — Security Update for SQL Server 2016 SP3 GDR
KB5077474 is a security update released March 10, 2026, that addresses critical vulnerabilities in Microsoft SQL Server 2016 Service Pack 3 General Distribution Release (GDR) for x64-based systems.

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.