Repository navigation
This servicing release includes security updates, certificate and enclave-session validation fixes, and improvements to result reading and managed networking.
Use matching 7.1.2 versions of the driver and companion packages. Assemblies retain AssemblyVersion 7.0.0.0; no new .NET Framework binding redirects are required when upgrading from 7.1.1. Microsoft.SqlServer.Server is unchanged and versioned independently.
Changes Since 7.1.1
Changed
- Updated dependencies to address CVE-2026-84008:
System.Security.Cryptography.Pkcs8.0.2 for net462/net8.0/netstandard2.0 and affected .NET 9 dependencies, includingSystem.Threading.RateLimiting, to 9.0.21. - Updated native SNI dependencies to 7.1.2.
- Added user-agent reporting for async and SNI compatibility switches. Async behavior and switch defaults are unchanged.
Fixed
- Enforced an explicit
HostNameInCertificateduring managed SNI certificate validation, even when the certificate matches the server name (net8.0/net9.0). (#4907) - Isolated Always Encrypted enclave-session cache entries by attestation protocol. (#4866)
- Fixed unobserved receive exceptions and packet cleanup when closing managed SNI connections with MARS reads pending (net8.0/net9.0). (#4951)
- Fixed
SqlDataReader.HasRowsreturningfalsewhen informational messages precede the first row. (#4900) - Fixed statistics timer races throwing "Nullable object must have a value." Connection and MARS use remain non-thread-safe. (#4895)
- Fixed sequential
GetTextReaderreads corruptingnvarchartext on big-endian platforms. (#4961) - Rejected malformed PRELOGIN responses with a corrupted-stream error instead of
IndexOutOfRangeException. (#4977) - Rejected row, alternate-result, and authentication responses missing required metadata or state, and prevented affected connections from returning to the pool. (#4983)
- Fixed eager Windows native SNI initialization causing
TypeInitializationExceptionorDllNotFoundExceptionon Unix (net8.0/net9.0). (#4770)
Companion Packages
All packages below ship as 7.1.2.
| Package | Highlights |
|---|---|
| Extensions.Azure | Added actionable guidance for Windows WAM window_handle_required errors, preserving the original error code and inner exception. |
| AlwaysEncrypted.AzureKeyVaultProvider | Version alignment only; no functional or API changes. |
| Extensions.Abstractions | Version alignment only; no functional or API changes. |
| Internal.Logging | Version alignment only; internal use, not for direct application references. |
For Windows WAM errors, provide a parent window through SetParentActivityOrWindowFunc, or use Authentication=Active Directory Default with a configured non-interactive credential in windowless hosts. Interactive authentication without WAM requires a custom ApplicationClientId and UseWamBroker=false. WAM remains enforced for SqlClient's first-party application ID; no automatic fallback was added.
Platform Support
.NET Framework 4.6.2+ on Windows and .NET 8.0+ on Windows, Linux, and macOS. Companion package targets and dependency lists are included in the linked package notes.
Thanks to LaurensVergote and shreyarao4 for contributing.