CVE-2025-59250 — Vulnerability in...
HIGH
JDBC Driver for SQL Server has improper input validation issue
Published October 14, 2025Updated September 10, 2026Source: osv
Summary
Improper input validation in JDBC Driver for SQL Server allows an unauthorized attacker to perform spoofing over a network.
Advisory Timeline
- First published October 14, 2025 (363 days ago).
- Last revised September 10, 2026 — 330 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
Maven
Update com.microsoft.sqlserver:mssql-jdbc to 13.2.1.jre11 or later<!-- Update pom.xml dependency version to 13.2.1.jre11 for com.microsoft.sqlserver:mssql-jdbc -->
Maven
Update com.microsoft.sqlserver:mssql-jdbc to 12.2.1.jre11 or later<!-- Update pom.xml dependency version to 12.2.1.jre11 for com.microsoft.sqlserver:mssql-jdbc -->
Maven
Update com.microsoft.sqlserver:mssql-jdbc to 12.6.5.jre11 or later<!-- Update pom.xml dependency version to 12.6.5.jre11 for com.microsoft.sqlserver:mssql-jdbc -->
Maven
Update com.microsoft.sqlserver:mssql-jdbc to 10.2.4.jre11 or later<!-- Update pom.xml dependency version to 10.2.4.jre11 for com.microsoft.sqlserver:mssql-jdbc -->
Maven
Update com.microsoft.sqlserver:mssql-jdbc to 12.10.2.jre11 or later<!-- Update pom.xml dependency version to 12.10.2.jre11 for com.microsoft.sqlserver:mssql-jdbc -->
Maven
Update com.microsoft.sqlserver:mssql-jdbc to 11.2.4.jre11 or later<!-- Update pom.xml dependency version to 11.2.4.jre11 for com.microsoft.sqlserver:mssql-jdbc -->
Maven
Update com.microsoft.sqlserver:mssql-jdbc to 12.8.2.jre11 or later<!-- Update pom.xml dependency version to 12.8.2.jre11 for com.microsoft.sqlserver:mssql-jdbc -->
After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.
Affected Packages (7)
Affects 1 ecosystem: maven (1).
| Package | Ecosystem | Affected | Fixed In |
|---|---|---|---|
| com.microsoft.sqlserver:mssql-jdbc | maven | 13.2.0.jre11, 13.2.1.jre8 | 13.2.1.jre11 |
| com.microsoft.sqlserver:mssql-jdbc | maven | 12.2.0.jre11, 12.2.1.jre8 | 12.2.1.jre11 |
| com.microsoft.sqlserver:mssql-jdbc | maven | 12.6.0.jre11, 12.6.1.jre11, 12.6.1.jre8, 12.6.2.jre11 (+6 more) | 12.6.5.jre11 |
| com.microsoft.sqlserver:mssql-jdbc | maven | 10.1.0.jre11-preview, 10.1.0.jre17-preview, 10.1.0.jre8-preview, 10.2.0-SNAPSHOT.jre11-preview (+62 more) | 10.2.4.jre11 |
| com.microsoft.sqlserver:mssql-jdbc | maven | 12.10.0.jre11, 12.10.1.jre11, 12.10.1.jre8, 12.10.2.jre8 | 12.10.2.jre11 |
| com.microsoft.sqlserver:mssql-jdbc | maven | 11.2.0.jre11, 11.2.0.jre17, 11.2.0.jre18, 11.2.1.jre11 (+12 more) | 11.2.4.jre11 |
| com.microsoft.sqlserver:mssql-jdbc | maven | 12.8.0.jre11, 12.8.1.jre11, 12.8.1.jre8, 12.8.2.jre8 | 12.8.2.jre11 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-20Improper Input ValidationMITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 8.1 score means for each attack dimension.
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
References
- https://nvd.nist.gov/vuln/detail/CVE-2025-59250ADVISORY
- https://github.com/microsoft/mssql-jdbc/pull/2798WEB
- https://github.com/microsoft/mssql-jdbc/pull/2800WEB
- https://github.com/microsoft/mssql-jdbc/pull/2801WEB
- https://github.com/microsoft/mssql-jdbc/pull/2802WEB
- https://github.com/microsoft/mssql-jdbc/pull/2803WEB
- https://github.com/microsoft/mssql-jdbc/pull/2807WEB
- https://github.com/microsoft/mssql-jdbc/commit/9732e1bbc6ec44166fda2cddab31ce1c86c873dd#diff-45367b99a1951943bfecfc7765e80df687967aa56286a5b2e039f77cd9a0e118WEB
- https://github.com/microsoft/mssql-jdbcPACKAGE
- https://github.com/microsoft/mssql-jdbc/blob/main/CHANGELOG.mdWEB
- https://learn.microsoft.com/en-us/sql/connect/jdbc/microsoft-jdbc-driver-for-sql-server-support-matrixWEB
- https://msrc.microsoft.com/update-guide/vulnerability/CVE-2025-59250WEB
Frequently Asked Questions
- What is CVE-2025-59250?
- JDBC Driver for SQL Server has improper input validation issue This vulnerability has been assigned a severity rating of HIGH (CVSS score: 8.1/10).
- How do I check if my project is affected by CVE-2025-59250?
- CVE-2025-59250 affects com.microsoft.sqlserver:mssql-jdbc. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2025-59250 and 200,000+ other known vulnerabilities.
Severity & Exploitability
CVSS Score
8.1
High exploitability or significant impact. Prioritize remediation within days.
Also Known As
GHSA-m494-w24q-6f7w
Related CVEs
- CVE-2026-61570HIGH
MPXJ: XXE Vulnerability in MerlinReader
- CVE-2026-107725HIGH
Hazelcast has an authorization bypass in IMap Predicates API
Check if you're affected
Scan your dependencies to see if this vulnerability affects your projects.
Scan Your Dependencies