CVE-2025-59250
JDBC Driver for SQL Server Spoofing Vulnerability
Also known as GHSA-m494-w24q-6f7w
Mitigation
- Upgrade com.microsoft.sqlserver:mssql-jdbc to one of 10.2.4.jre11, 11.2.4.jre11, 12.2.1.jre11, 12.6.5.jre11, 12.8.2.jre11, 12.10.2.jre11, 13.2.1.jre11 (or later in the same release line).
Who should check
- Projects that depend on Maven package com.microsoft.sqlserver:mssql-jdbc (>= 8.3.0.jre11-preview, < 10.2.4.jre11)
- Anyone running Microsoft JDBC Driver for SQL Server 10.2 >= 1.0.0, < 10.2.4
- Anyone running Microsoft JDBC Driver for SQL Server 11.2 >= 1.0.0, < 11.2.4
- Anyone running Microsoft JDBC Driver for SQL Server 12.10 >= 1.0.0, < 12.10.2
- Anyone running Microsoft JDBC Driver for SQL Server 12.2 >= 1.0.0, < 12.2.1
- Anyone running Microsoft JDBC Driver for SQL Server 12.4 >= 1.0.0, < 12.4.3
- Anyone running Microsoft JDBC Driver for SQL Server 12.6 >= 1.0.0, < 12.6.5
- Anyone running Microsoft JDBC Driver for SQL Server 12.8 >= 1.0.0, < 12.8.2
Vulnerability facts
- Affected
- com.microsoft.sqlserver:mssql-jdbc >= 8.3.0.jre11-preview, < 10.2.4.jre11
- Fixed in
- 10.2.4.jre11, 11.2.4.jre11, 12.2.1.jre11, 12.6.5.jre11, 12.8.2.jre11, 12.10.2.jre11, 13.2.1.jre11
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 8.1 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N/E:U/RL:O/RC:COpen in CVSS calculator
Show all 11 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: None
- User interaction: Required
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: None
- E: U
- RL: O
- RC: C
- EPSS
- 1.08% chance of exploitation in 30 days (percentile 65, 2026-11-26)
- CWE
- CWE-20
- Modified
Description
Improper input validation in JDBC Driver for SQL Server allows an unauthorized attacker to perform spoofing over a network.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Maven com.microsoft.sqlserver:mssql-jdbc | >= 8.3.0.jre11-preview, < 10.2.4.jre11 | 10.2.4.jre11, 11.2.4.jre11, 12.2.1.jre11, 12.6.5.jre11, 12.8.2.jre11, 12.10.2.jre11, 13.2.1.jre11 | osv |
| Microsoft JDBC Driver for SQL Server 10.2 | >= 1.0.0, < 10.2.4 | — | cvelist |
| Microsoft JDBC Driver for SQL Server 11.2 | >= 1.0.0, < 11.2.4 | — | cvelist |
| Microsoft JDBC Driver for SQL Server 12.10 | >= 1.0.0, < 12.10.2 | — | cvelist |
| Microsoft JDBC Driver for SQL Server 12.2 | >= 1.0.0, < 12.2.1 | — | cvelist |
| Microsoft JDBC Driver for SQL Server 12.4 | >= 1.0.0, < 12.4.3 | — | cvelist |
| Microsoft JDBC Driver for SQL Server 12.6 | >= 1.0.0, < 12.6.5 | — | cvelist |
| Microsoft JDBC Driver for SQL Server 12.8 | >= 1.0.0, < 12.8.2 | — | cvelist |
| Microsoft JDBC Driver for SQL Server 13.2 | >= 1.0.0, < 13.2.1 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2025-59250. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2025-59250.md Affected: com.microsoft.sqlserver:mssql-jdbc >= 8.3.0.jre11-preview, < 10.2.4.jre11 Fixed in: 10.2.4.jre11, 11.2.4.jre11, 12.2.1.jre11, 12.6.5.jre11, 12.8.2.jre11, 12.10.2.jre11, 13.2.1.jre11 Steps: 1. Search this machine and project for com.microsoft.sqlserver:mssql-jdbc (Maven), Microsoft JDBC Driver for SQL Server 10.2, Microsoft JDBC Driver for SQL Server 11.2, Microsoft JDBC Driver for SQL Server 12.10, Microsoft JDBC Driver for SQL Server 12.2, Microsoft JDBC Driver for SQL Server 12.4: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
Patches
- https://msrc.microsoft.com/update-guide/vulnerability/CVE-2025-59250
- https://github.com/microsoft/mssql-jdbc/pull/2798
- https://github.com/microsoft/mssql-jdbc/pull/2800
- https://github.com/microsoft/mssql-jdbc/pull/2801
- https://github.com/microsoft/mssql-jdbc/pull/2802
- https://github.com/microsoft/mssql-jdbc/pull/2803
- https://github.com/microsoft/mssql-jdbc/pull/2807
- https://github.com/microsoft/mssql-jdbc/commit/9732e1bbc6ec44166fda2cddab31ce1c86c873dd#diff-45367b99a1951943bfecfc7765e80df687967aa56286a5b2e039f77cd9a0e118
FAQ
Is CVE-2025-59250 being exploited?
There is no confirmed exploitation: CVE-2025-59250 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 1.08% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2025-59250?
High: CVSS 8.1 (v3.1, scored by CNA). Remote, no login needed. A user has to take an action, such as opening a link, for the attack to work.
Which versions are affected by CVE-2025-59250?
com.microsoft.sqlserver:mssql-jdbc >= 8.3.0.jre11-preview, < 10.2.4.jre11.
Is there a fix for CVE-2025-59250?
Yes. Fixed in 10.2.4.jre11, 11.2.4.jre11, 12.2.1.jre11, 12.6.5.jre11, 12.8.2.jre11, 12.10.2.jre11, 13.2.1.jre11. Upgrade com.microsoft.sqlserver:mssql-jdbc to one of 10.2.4.jre11, 11.2.4.jre11, 12.2.1.jre11, 12.6.5.jre11, 12.8.2.jre11, 12.10.2.jre11, 13.2.1.jre11 (or later in the same release line).
How do I check if I'm affected by CVE-2025-59250?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.