Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2026-54118: Deserialization of untrusted data in SQL Server allows an unauthorized attacker to execute code over a network

63
This week
CRITICAL 9.8REMOTEWATCHLISTUPGRADEUPGRADEUPGRADE

CVE-2026-54118 is a critical-severity flaw (CVSS 9.8) affecting sql server 2016, sql server 2017, sql server 2019. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.

Deserialization of untrusted data in SQL Server allows an unauthorized attacker to execute code over a network.

Why this priority

  • Critical severity
  • Remotely exploitable, no login, no user action
  • On your watchlist

A fixed release or distro patch exists.

Risk facts

CVSS score9.8 (Critical)
Attack vectorNetwork (remote)
Attack complexityLow
Privileges neededNone
User interactionNone
EPSS exploit chance1.5% (top 25%)
CISA exploited listNo
WeaknessCWE-502
Published2026-07-14
Last modified2026-08-20
Publisher (CNA): Microsoft Corporation · Vendor: microsoft

Share: LinkedIn · X · Reddit

Last updated 2026-08-20 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

microsoft sql server 2016 UPGRADE
Affected: >= 13.0.6300.2 and < 13.0.6500.1 · >= 13.0.7000.253 and < 13.0.7095.1
Fixed in: 13.0.6500.1, 13.0.7095.1
Safe to downgrade to: a release before 13.0.6300.2
1. Check installed version
apt-cache policy sql-server-2016 || rpm -q sql-server-2016 || sql-server-2016 --version
2. UPGRADE to 13.0.6500.1 (Debian / Ubuntu)
sudo apt update && sudo apt install --only-upgrade sql-server-2016
2. UPGRADE (RHEL / Amazon Linux / Fedora)
sudo dnf upgrade sql-server-2016
Note
Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.
3. If no update is available yet, DOWNGRADE to a release before 13.0.6300.2 (Debian / Ubuntu)
apt-cache madison sql-server-2016 sudo apt install sql-server-2016=<VERSION_BEFORE_13.0.6300.2> sudo apt-mark hold sql-server-2016
3. If no update is available yet, DOWNGRADE (RHEL / Amazon Linux / Fedora)
dnf --showduplicates list sql-server-2016 sudo dnf downgrade sql-server-2016-<VERSION_BEFORE_13.0.6300.2> sudo dnf versionlock add sql-server-2016
Downgrade risk
Downgrading can break dependent software and may reopen older bugs. Read the distro advisory first and test on a non-production host.
After downgrade
Restart the service, and keep the package held until a fixed release ships.
microsoft sql server 2017 UPGRADE
Affected: >= 14.0.1000.169 and < 14.0.2120.1 · >= 14.0.3006.16 and < 14.0.3540.1
Fixed in: 14.0.2120.1, 14.0.3540.1
Safe to downgrade to: a release before 14.0.1000.169
1. Check installed version
apt-cache policy sql-server-2017 || rpm -q sql-server-2017 || sql-server-2017 --version
2. UPGRADE to 14.0.2120.1 (Debian / Ubuntu)
sudo apt update && sudo apt install --only-upgrade sql-server-2017
2. UPGRADE (RHEL / Amazon Linux / Fedora)
sudo dnf upgrade sql-server-2017
Note
Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.
3. If no update is available yet, DOWNGRADE to a release before 14.0.1000.169 (Debian / Ubuntu)
apt-cache madison sql-server-2017 sudo apt install sql-server-2017=<VERSION_BEFORE_14.0.1000.169> sudo apt-mark hold sql-server-2017
3. If no update is available yet, DOWNGRADE (RHEL / Amazon Linux / Fedora)
dnf --showduplicates list sql-server-2017 sudo dnf downgrade sql-server-2017-<VERSION_BEFORE_14.0.1000.169> sudo dnf versionlock add sql-server-2017
Downgrade risk
Downgrading can break dependent software and may reopen older bugs. Read the distro advisory first and test on a non-production host.
After downgrade
Restart the service, and keep the package held until a fixed release ships.
microsoft sql server 2019 UPGRADE
Affected: >= 15.0.2000.5 and < 15.0.2180.2 · >= 15.0.4003.23 and < 15.0.4480.2
Fixed in: 15.0.2180.2, 15.0.4480.2
Safe to downgrade to: a release before 15.0.2000.5
1. Check installed version
apt-cache policy sql-server-2019 || rpm -q sql-server-2019 || sql-server-2019 --version
2. UPGRADE to 15.0.2180.2 (Debian / Ubuntu)
sudo apt update && sudo apt install --only-upgrade sql-server-2019
2. UPGRADE (RHEL / Amazon Linux / Fedora)
sudo dnf upgrade sql-server-2019
Note
Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.
3. If no update is available yet, DOWNGRADE to a release before 15.0.2000.5 (Debian / Ubuntu)
apt-cache madison sql-server-2019 sudo apt install sql-server-2019=<VERSION_BEFORE_15.0.2000.5> sudo apt-mark hold sql-server-2019
3. If no update is available yet, DOWNGRADE (RHEL / Amazon Linux / Fedora)
dnf --showduplicates list sql-server-2019 sudo dnf downgrade sql-server-2019-<VERSION_BEFORE_15.0.2000.5> sudo dnf versionlock add sql-server-2019
Downgrade risk
Downgrading can break dependent software and may reopen older bugs. Read the distro advisory first and test on a non-production host.
After downgrade
Restart the service, and keep the package held until a fixed release ships.
microsoft sql server 2022 UPGRADE
Affected: >= 16.0.1000.6 and < 16.0.1190.2 · >= 16.0.4003.1 and < 16.0.4262.2
Fixed in: 16.0.1190.2, 16.0.4262.2
Safe to downgrade to: a release before 16.0.1000.6
1. Check installed version
apt-cache policy sql-server-2022 || rpm -q sql-server-2022 || sql-server-2022 --version
2. UPGRADE to 16.0.1190.2 (Debian / Ubuntu)
sudo apt update && sudo apt install --only-upgrade sql-server-2022
2. UPGRADE (RHEL / Amazon Linux / Fedora)
sudo dnf upgrade sql-server-2022
Note
Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.
3. If no update is available yet, DOWNGRADE to a release before 16.0.1000.6 (Debian / Ubuntu)
apt-cache madison sql-server-2022 sudo apt install sql-server-2022=<VERSION_BEFORE_16.0.1000.6> sudo apt-mark hold sql-server-2022
3. If no update is available yet, DOWNGRADE (RHEL / Amazon Linux / Fedora)
dnf --showduplicates list sql-server-2022 sudo dnf downgrade sql-server-2022-<VERSION_BEFORE_16.0.1000.6> sudo dnf versionlock add sql-server-2022
Downgrade risk
Downgrading can break dependent software and may reopen older bugs. Read the distro advisory first and test on a non-production host.
After downgrade
Restart the service, and keep the package held until a fixed release ships.
microsoft sql server 2025 UPGRADE
Affected: >= 17.0.1000.7 and < 17.0.1125.2 · >= 17.0.4006.2 and < 17.0.4060.2
Fixed in: 17.0.1125.2, 17.0.4060.2
Safe to downgrade to: a release before 17.0.1000.7
1. Check installed version
apt-cache policy sql-server-2025 || rpm -q sql-server-2025 || sql-server-2025 --version
2. UPGRADE to 17.0.1125.2 (Debian / Ubuntu)
sudo apt update && sudo apt install --only-upgrade sql-server-2025
2. UPGRADE (RHEL / Amazon Linux / Fedora)
sudo dnf upgrade sql-server-2025
Note
Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.
3. If no update is available yet, DOWNGRADE to a release before 17.0.1000.7 (Debian / Ubuntu)
apt-cache madison sql-server-2025 sudo apt install sql-server-2025=<VERSION_BEFORE_17.0.1000.7> sudo apt-mark hold sql-server-2025
3. If no update is available yet, DOWNGRADE (RHEL / Amazon Linux / Fedora)
dnf --showduplicates list sql-server-2025 sudo dnf downgrade sql-server-2025-<VERSION_BEFORE_17.0.1000.7> sudo dnf versionlock add sql-server-2025
Downgrade risk
Downgrading can break dependent software and may reopen older bugs. Read the distro advisory first and test on a non-production host.
After downgrade
Restart the service, and keep the package held until a fixed release ships.

Exact fixes by distribution

Fedora 46 · gcl · FIXED · 2.7.1-12.fc46 · FEDORA-2026-ff383a759b · source
sudo dnf upgrade --advisory=FEDORA-2026-ff383a759b
Fedora ELN · mozjs140 · FIXED · 140.13.0-5.eln159 · FEDORA-2026-f7ed0026e0 · source
sudo dnf upgrade --advisory=FEDORA-2026-f7ed0026e0
Microsoft SQL Server 2016 for x64-based Systems Service Pack 3 Azure Connect Feature Pack · KB5102339 · FIXED · 13.0.7095.1 · KB5102339 · source
Install KB5102339 via Windows Update, then verify: Get-HotFix -Id KB5102339
Microsoft SQL Server 2019 for x64-based Systems (GDR) · KB5102336 · FIXED · 15.0.2180.2 · KB5102336 · source
Install KB5102336 via Windows Update, then verify: Get-HotFix -Id KB5102336
Microsoft SQL Server 2022 for x64-based Systems (GDR) · KB5102334 · FIXED · 16.0.1190.2 · KB5102334 · source
Install KB5102334 via Windows Update, then verify: Get-HotFix -Id KB5102334
Microsoft SQL Server 2017 for x64-based Systems (CU 31) · KB5102337 · FIXED · 14.0.3540.1 · KB5102337 · source
Install KB5102337 via Windows Update, then verify: Get-HotFix -Id KB5102337
Microsoft SQL Server 2019 for x64-based Systems (CU 32) · KB5102335 · FIXED · 15.0.4480.2 · KB5102335 · source
Install KB5102335 via Windows Update, then verify: Get-HotFix -Id KB5102335
Verify at the official source NVD · CVE Program · Report a problem with this page
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.

Quick answers

How do I fix CVE-2026-54118?

sql server 2016: upgrade to 13.0.6500.1, 13.0.7095.1; sql server 2017: upgrade to 14.0.2120.1, 14.0.3540.1; sql server 2019: upgrade to 15.0.2180.2, 15.0.4480.2. Exact commands for each OS are on this page.

Is CVE-2026-54118 being exploited?

CVE-2026-54118 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.

What does CVE-2026-54118 affect?

CVE-2026-54118 affects sql server 2016, sql server 2017, sql server 2019. Severity is critical (CVSS 9.8). Deserialization of untrusted data in SQL Server allows an unauthorized attacker to execute code over a network.

How urgent is CVE-2026-54118?

Priority 63/100. Critical severity; Remotely exploitable, no login, no user action; On your watchlist

Software pages

Microsoft SQL Server vulnerabilities

Related CVEs

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.