CVE-2025-59250: JDBC Driver for SQL Server has improper input validation issue
Improper input validation in JDBC Driver for SQL Server allows an unauthorized attacker to perform spoofing over a network.
Published Oct 14, 2025 · Updated Aug 21, 2026
Affected packages
com.microsoft.sqlserver:mssql-jdbc
- Ecosystem
- Maven
- Affected
- >= 11.2.0.jre11, < 11.2.4.jre11
- Fixed in
- 11.2.4.jre11
- Check
mvn dependency:tree -Dincludes=com.microsoft.sqlserver:mssql-jdbc
com.microsoft.sqlserver:mssql-jdbc
- Ecosystem
- Maven
- Affected
- >= 12.2.0.jre11, < 12.2.1.jre11
- Fixed in
- 12.2.1.jre11
- Check
mvn dependency:tree -Dincludes=com.microsoft.sqlserver:mssql-jdbc
com.microsoft.sqlserver:mssql-jdbc
- Ecosystem
- Maven
- Affected
- >= 12.6.0.jre11, < 12.6.5.jre11
- Fixed in
- 12.6.5.jre11
- Check
mvn dependency:tree -Dincludes=com.microsoft.sqlserver:mssql-jdbc
com.microsoft.sqlserver:mssql-jdbc
- Ecosystem
- Maven
- Affected
- >= 12.8.0.jre11, < 12.8.2.jre11
- Fixed in
- 12.8.2.jre11
- Check
mvn dependency:tree -Dincludes=com.microsoft.sqlserver:mssql-jdbc
com.microsoft.sqlserver:mssql-jdbc
- Ecosystem
- Maven
- Affected
- >= 12.10.0.jre11, < 12.10.2.jre11
- Fixed in
- 12.10.2.jre11
- Check
mvn dependency:tree -Dincludes=com.microsoft.sqlserver:mssql-jdbc
com.microsoft.sqlserver:mssql-jdbc
- Ecosystem
- Maven
- Affected
- >= 13.2.0.jre11, < 13.2.1.jre11
- Fixed in
- 13.2.1.jre11
- Check
mvn dependency:tree -Dincludes=com.microsoft.sqlserver:mssql-jdbc
com.microsoft.sqlserver:mssql-jdbc
- Ecosystem
- Maven
- Affected
- >= 8.3.0.jre11-preview, < 10.2.4.jre11
- Fixed in
- 10.2.4.jre11
- Check
mvn dependency:tree -Dincludes=com.microsoft.sqlserver:mssql-jdbc
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Improper input validation in JDBC Driver for SQL Server allows an unauthorized attacker to perform spoofing over a network.
Credited to andreasmh, urielcos.
References
- https://nvd.nist.gov/vuln/detail/CVE-2025-59250
- 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/blob/main/CHANGELOG.md
- https://github.com/microsoft/mssql-jdbc/commit/9732e1bbc6ec44166fda2cddab31ce1c86c873dd#diff-45367b99a1951943bfecfc7765e80df687967aa56286a5b2e039f77cd9a0e118
- https://learn.microsoft.com/en-us/sql/connect/jdbc/microsoft-jdbc-driver-for-sql-server-support-matrix
- https://github.com/advisories/GHSA-m494-w24q-6f7w
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
