CVE-2025-59250: CWE-20: Improper Input Validation in Microsoft Microsoft JDBC Driver for SQL Server 10.2
Affects Microsoft Microsoft JDBC Driver for SQL Server 10.2Source CVE Database V5
Not known to be exploited · CVSS 8.1 High.
Data as of 10/25/2026, 04:40:10 UTC
- Exploitation
Not in CISA KEV, no exploitation reported
- EPSS
- 0.7% chance of exploitation in 30 days – higher than 53% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N/E:U/RL:O/RC:CWhat to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| MicrosoftMicrosoft JDBC Driver for SQL Server 10.2 | Affected
| Fixed in
|
| MicrosoftMicrosoft JDBC Driver for SQL Server 11.2 | Affected
| Fixed in
|
| MicrosoftMicrosoft JDBC Driver for SQL Server 12.10 | Affected
| Fixed in
|
| MicrosoftMicrosoft JDBC Driver for SQL Server 12.2 | Affected
| Fixed in
|
| MicrosoftMicrosoft JDBC Driver for SQL Server 12.4 | Affected
| Fixed in
|
| MicrosoftMicrosoft JDBC Driver for SQL Server 12.6 | Affected
| Fixed in
|
| MicrosoftMicrosoft JDBC Driver for SQL Server 12.8 | Affected
| Fixed in
|
| MicrosoftMicrosoft JDBC Driver for SQL Server 13.2 | Affected
| Fixed in
|
AI-suggested
1. Monitor official Microsoft channels for patches or updates addressing CVE-2025-59250 and apply them promptly once available. 2. Implement strict input validation and sanitization on all data sent to the JDBC driver to reduce the risk of malformed input triggering the vulnerability. 3. Employ network-level protections such as TLS encryption for SQL Server connections to prevent interception and spoofing attacks. 4. Use network segmentation and firewall rules to restrict access to SQL Server instances only to trusted hosts and applications. 5. Enable and review detailed logging on database servers and client applications to detect unusual connection patterns or authentication anomalies. 6. Educate developers and administrators about the risks of improper input validation and encourage secure coding practices when interacting with database drivers. 7. Consider deploying intrusion detection/prevention systems (IDS/IPS) capable of identifying spoofing or man-in-the-middle attack signatures in network traffic. 8. Where feasible, limit user interaction that triggers database connections or implement multi-factor authentication to reduce exploitation likelihood. 9. Conduct regular security assessments and penetration testing focused on database connectivity components to identify and remediate weaknesses. 10. Maintain an inventory of all applications and services using Microsoft JDBC Driver for SQL Server 10.2 to prioritize mitigation efforts.
Description
Multiple security vulnerabilities affect the keycloak package. These issues are resolved in later releases. See references for individual vulnerability details.
Impact
The vulnerability poses a significant risk to organizations relying on Microsoft JDBC Driver for SQL Server 10.2 for database connectivity, especially those using version 1.0.0. Successful exploitation can lead to spoofing attacks that compromise the confidentiality and integrity of sensitive data transmitted between applications and SQL Server databases. This can result in unauthorized data access, data tampering, or interception of credentials and queries. The absence of availability impact means systems remain operational but potentially compromised. Given the widespread use of Microsoft SQL Server in enterprise environments and the popularity of Java applications connecting via JDBC, the scope of affected systems is broad. Attackers could exploit this vulnerability to conduct targeted attacks on financial institutions, healthcare providers, government agencies, and large enterprises, leading to data breaches, regulatory penalties, and reputational damage. The requirement for user interaction limits automated exploitation but does not eliminate risk, as many applications initiate database connections automatically or through user actions. The lack of known exploits in the wild suggests a window of opportunity for proactive defense before active exploitation occurs.
Summary
CVE-2025-59250 is a vulnerability identified in Microsoft JDBC Driver for SQL Server version 10.2, specifically in version 1.0.0 of the driver. The root cause is improper input validation (CWE-20), which allows an attacker to perform spoofing attacks over a network. Spoofing in this context means an attacker can impersonate a legitimate entity or manipulate communications between a client application and the SQL Server database, potentially intercepting or altering data. The vulnerability does not require any privileges (PR:N) but does require user interaction (UI:R), such as initiating a connection or executing a query using the vulnerable driver. The attack vector is network-based (AV:N), making it exploitable remotely without physical access. The CVSS v3.1 base score is 8.1, reflecting high severity due to high impact on confidentiality and integrity (C:H/I:H) but no impact on availability (A:N). The scope is unchanged (S:U), meaning the vulnerability affects only the vulnerable component without extending beyond it. The exploitability is considered low complexity (AC:L), and no known exploits have been reported in the wild yet. This vulnerability could be leveraged in man-in-the-middle scenarios or by attackers controlling network infrastructure to impersonate database servers or clients, leading to data leakage or unauthorized data manipulation. The lack of available patches at the time of publication necessitates immediate attention to monitoring and mitigation strategies.
Weaknesses
- CWE-20Improper Input Validation (opens in a new tab)
Class weaknessLikelihood of exploit: HighCWE Top 25 (2025): #18OWASP Top 10 A05:2025: Injection (opens in a new tab)
The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly.
MITRE discourages mapping vulnerabilities to this broad entry; the root cause is usually a more specific weakness.