{
  "document": {
    "acknowledgments": [
      {
        "names": [
          "<a href=\"https://twitter.com/chudypb\">Piotr Bazydło (@chudypb)</a>"
        ]
      }
    ],
    "aggregate_severity": {
      "namespace": "https://www.microsoft.com/en-us/msrc/security-update-severity-rating-system",
      "text": "Critical"
    },
    "category": "csaf_security_advisory",
    "csaf_version": "2.0",
    "distribution": {
      "text": "Public",
      "tlp": {
        "label": "WHITE",
        "url": "https://www.first.org/tlp/"
      }
    },
    "lang": "en-US",
    "notes": [
      {
        "category": "general",
        "text": "To determine the support lifecycle for your software, see the Microsoft Support Lifecycle: https://support.microsoft.com/lifecycle",
        "title": "Additional Resources"
      },
      {
        "category": "legal_disclaimer",
        "text": "The information provided in the Microsoft Knowledge Base is provided \\\"as is\\\" without warranty of any kind. Microsoft disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. In no event shall Microsoft Corporation or its suppliers be liable for any damages whatsoever including direct, indirect, incidental, consequential, loss of business profits or special damages, even if Microsoft Corporation or its suppliers have been advised of the possibility of such damages. Some states do not allow the exclusion or limitation of liability for consequential or incidental damages so the foregoing limitation may not apply.",
        "title": "Disclaimer"
      },
      {
        "category": "general",
        "text": "Required. The vulnerability documented by this CVE requires customer action to resolve.",
        "title": "Customer Action"
      }
    ],
    "publisher": {
      "category": "vendor",
      "contact_details": "secure@microsoft.com",
      "name": "Microsoft Security Response Center",
      "namespace": "https://msrc.microsoft.com"
    },
    "references": [
      {
        "category": "self",
        "summary": "CVE-2026-54118 Microsoft SQL Server Remote Code Execution Vulnerability - HTML",
        "url": "https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-54118"
      },
      {
        "category": "self",
        "summary": "CVE-2026-54118 Microsoft SQL Server Remote Code Execution Vulnerability - CSAF",
        "url": "https://msrc.microsoft.com/csaf/advisories/2026/msrc_cve-2026-54118.json"
      },
      {
        "category": "external",
        "summary": "Microsoft Exploitability Index",
        "url": "https://www.microsoft.com/en-us/msrc/exploitability-index?rtc=1"
      },
      {
        "category": "external",
        "summary": "Microsoft Support Lifecycle",
        "url": "https://support.microsoft.com/lifecycle"
      },
      {
        "category": "external",
        "summary": "Common Vulnerability Scoring System",
        "url": "https://www.first.org/cvss"
      }
    ],
    "title": "Microsoft SQL Server Remote Code Execution Vulnerability",
    "tracking": {
      "current_release_date": "2026-07-14T07:00:00.000Z",
      "generator": {
        "date": "2026-07-14T20:05:38.130Z",
        "engine": {
          "name": "MSRC Generator",
          "version": "1.0"
        }
      },
      "id": "msrc_CVE-2026-54118",
      "initial_release_date": "2026-07-14T07:00:00.000Z",
      "revision_history": [
        {
          "date": "2026-07-14T07:00:00.000Z",
          "legacy_version": "1",
          "number": "1",
          "summary": "Information published."
        }
      ],
      "status": "final",
      "version": "1"
    }
  },
  "product_tree": {
    "branches": [
      {
        "branches": [
          {
            "category": "product_version_range",
            "name": "<13.0.7095.1",
            "product": {
              "name": "Microsoft SQL Server 2016 for x64-based Systems Service Pack 3 Azure Connect Feature Pack <13.0.7095.1",
              "product_id": "7"
            }
          },
          {
            "category": "product_version",
            "name": "13.0.7095.1",
            "product": {
              "name": "Microsoft SQL Server 2016 for x64-based Systems Service Pack 3 Azure Connect Feature Pack 13.0.7095.1",
              "product_id": "12053"
            }
          }
        ],
        "category": "product_name",
        "name": "Microsoft SQL Server 2016 for x64-based Systems Service Pack 3 Azure Connect Feature Pack"
      },
      {
        "branches": [
          {
            "category": "product_version_range",
            "name": "<15.0.2180.2",
            "product": {
              "name": "Microsoft SQL Server 2019 for x64-based Systems (GDR) <15.0.2180.2",
              "product_id": "9"
            }
          },
          {
            "category": "product_version",
            "name": "15.0.2180.2",
            "product": {
              "name": "Microsoft SQL Server 2019 for x64-based Systems (GDR) 15.0.2180.2",
              "product_id": "11821"
            }
          }
        ],
        "category": "product_name",
        "name": "Microsoft SQL Server 2019 for x64-based Systems (GDR)"
      },
      {
        "branches": [
          {
            "category": "product_version_range",
            "name": "<16.0.1190.2",
            "product": {
              "name": "Microsoft SQL Server 2022 for x64-based Systems (GDR) <16.0.1190.2",
              "product_id": "5"
            }
          },
          {
            "category": "product_version",
            "name": "16.0.1190.2",
            "product": {
              "name": "Microsoft SQL Server 2022 for x64-based Systems (GDR) 16.0.1190.2",
              "product_id": "12147"
            }
          }
        ],
        "category": "product_name",
        "name": "Microsoft SQL Server 2022 for x64-based Systems (GDR)"
      },
      {
        "branches": [
          {
            "category": "product_version_range",
            "name": "<14.0.3540.1",
            "product": {
              "name": "Microsoft SQL Server 2017 for x64-based Systems (CU 31) <14.0.3540.1",
              "product_id": "6"
            }
          },
          {
            "category": "product_version",
            "name": "14.0.3540.1",
            "product": {
              "name": "Microsoft SQL Server 2017 for x64-based Systems (CU 31) 14.0.3540.1",
              "product_id": "12145"
            }
          }
        ],
        "category": "product_name",
        "name": "Microsoft SQL Server 2017 for x64-based Systems (CU 31)"
      },
      {
        "branches": [
          {
            "category": "product_version_range",
            "name": "<15.0.4480.2",
            "product": {
              "name": "Microsoft SQL Server 2019 for x64-based Systems (CU 32) <15.0.4480.2",
              "product_id": "4"
            }
          },
          {
            "category": "product_version",
            "name": "15.0.4480.2",
            "product": {
              "name": "Microsoft SQL Server 2019 for x64-based Systems (CU 32) 15.0.4480.2",
              "product_id": "16785"
            }
          }
        ],
        "category": "product_name",
        "name": "Microsoft SQL Server 2019 for x64-based Systems (CU 32)"
      },
      {
        "branches": [
          {
            "category": "product_version_range",
            "name": "<16.0.4262.2",
            "product": {
              "name": "Microsoft SQL Server 2022 for x64-based Systems (CU 25) <16.0.4262.2",
              "product_id": "2"
            }
          },
          {
            "category": "product_version",
            "name": "16.0.4262.2",
            "product": {
              "name": "Microsoft SQL Server 2022 for x64-based Systems (CU 25) 16.0.4262.2",
              "product_id": "21372"
            }
          }
        ],
        "category": "product_name",
        "name": "Microsoft SQL Server 2022 for x64-based Systems (CU 25)"
      },
      {
        "branches": [
          {
            "category": "product_version_range",
            "name": "<17.0.1125.2",
            "product": {
              "name": "Microsoft SQL Server 2025 for x64-based Systems (GDR) <17.0.1125.2",
              "product_id": "3"
            }
          },
          {
            "category": "product_version",
            "name": "17.0.1125.2",
            "product": {
              "name": "Microsoft SQL Server 2025 for x64-based Systems (GDR) 17.0.1125.2",
              "product_id": "20748"
            }
          }
        ],
        "category": "product_name",
        "name": "Microsoft SQL Server 2025 for x64-based Systems (GDR)"
      },
      {
        "branches": [
          {
            "category": "product_version_range",
            "name": "<17.0.4060.2",
            "product": {
              "name": "Microsoft SQL Server 2025 for x64-based Systems (CU6) <17.0.4060.2",
              "product_id": "1"
            }
          },
          {
            "category": "product_version",
            "name": "17.0.4060.2",
            "product": {
              "name": "Microsoft SQL Server 2025 for x64-based Systems (CU6) 17.0.4060.2",
              "product_id": "21563"
            }
          }
        ],
        "category": "product_name",
        "name": "Microsoft SQL Server 2025 for x64-based Systems (CU6)"
      },
      {
        "branches": [
          {
            "category": "product_version_range",
            "name": "<13.0.6500.1",
            "product": {
              "name": "Microsoft SQL Server 2016 for x64-based Systems Service Pack 3 (GDR) <13.0.6500.1",
              "product_id": "8"
            }
          },
          {
            "category": "product_version",
            "name": "13.0.6500.1",
            "product": {
              "name": "Microsoft SQL Server 2016 for x64-based Systems Service Pack 3 (GDR) 13.0.6500.1",
              "product_id": "12048"
            }
          }
        ],
        "category": "product_name",
        "name": "Microsoft SQL Server 2016 for x64-based Systems Service Pack 3 (GDR)"
      },
      {
        "branches": [
          {
            "category": "product_version_range",
            "name": "<14.0.2120.1",
            "product": {
              "name": "Microsoft SQL Server 2017 for x64-based Systems (GDR) <14.0.2120.1",
              "product_id": "10"
            }
          },
          {
            "category": "product_version",
            "name": "14.0.2120.1",
            "product": {
              "name": "Microsoft SQL Server 2017 for x64-based Systems (GDR) 14.0.2120.1",
              "product_id": "11478"
            }
          }
        ],
        "category": "product_name",
        "name": "Microsoft SQL Server 2017 for x64-based Systems (GDR)"
      }
    ]
  },
  "vulnerabilities": [
    {
      "cve": "CVE-2026-54118",
      "cwe": {
        "id": "CWE-502",
        "name": "Deserialization of Untrusted Data"
      },
      "notes": [
        {
          "category": "general",
          "text": "Microsoft",
          "title": "Assigning CNA"
        },
        {
          "category": "faq",
          "text": "The attack vector is Network (AV:N) because this vulnerability is remotely exploitable and can be exploited from the internet. The attack complexity is Low (AC:L) because an attacker does not require significant prior knowledge of the system and can achieve repeatable success with the payload against the vulnerable component.",
          "title": "According to the CVSS metric, the attack vector is network (AV:N) and the attack complexity is low (AC:L). What does that mean for this vulnerability?"
        },
        {
          "category": "faq",
          "text": "An authenticated attacker with explicit permissions could exploit the vulnerability by logging in to the SQL server and could then elevate their privileges to sysadmin.",
          "title": "How could an attacker exploit this vulnerability?"
        },
        {
          "category": "faq",
          "text": "Update your relevant version of SQL Server. Any applicable driver fixes are included in those updates.\nFirst, determine your SQL Server version number. For more information on determining your SQL Server version number, see Microsoft Knowledge Base Article 321185 - How to determine the version, edition, and update level of SQL Server and its components., Second, in the following table, locate your version number or the version range that your version number falls within. The corresponding update is the one you need to install.\n5101346: 5101346, Security update for SQL Server 2025 CU6+GDR: Security update for SQL Server 2025 CU6+GDR, 17.0.4060.2: 17.0.4060.2, 17.0.4006.2 - 17.0.4055.5: 17.0.4006.2 - 17.0.4055.5, KB5093421 - Previous SQL2025 RTM CU6: KB5093421 - Previous SQL2025 RTM CU6, 5102333: 5102333, Security update for SQL Server 2025 RTM+GDR: Security update for SQL Server 2025 RTM+GDR, 17.0.1125.2: 17.0.1125.2, 17.0.1000.7 - 17.0.1115.1: 17.0.1000.7 - 17.0.1115.1, KB5091223 - Previous SQL2025 RTM GDR: KB5091223 - Previous SQL2025 RTM GDR, 5101347: 5101347, Security update for SQL Server 2022 CU25+GDR: Security update for SQL Server 2022 CU25+GDR, 16.0.4262.2: 16.0.4262.2, 16.0.4003.1 - 16.0.4255.1: 16.0.4003.1 - 16.0.4255.1, KB5081477 - Previous SQL2022 RTM CU25: KB5081477 - Previous SQL2022 RTM CU25, 5102334: 5102334, Security update for SQL Server 2022 RTM+GDR: Security update for SQL Server 2022 RTM+GDR, 16.0.1190.2: 16.0.1190.2, 16.0.1000.6 - 16.0.1180.1: 16.0.1000.6 - 16.0.1180.1, KB5091158 - Previous SQL2022 RTM GDR: KB5091158 - Previous SQL2022 RTM GDR, 5102335: 5102335, Security update for SQL Server 2019 CU32+GDR: Security update for SQL Server 2019 CU32+GDR, 15.0.4480.2: 15.0.4480.2, 15.0.4003.23 - 15.0.4470.1: 15.0.4003.23 - 15.0.4470.1, KB5090407 - Previous SQL2019 RTM CU32 GDR: KB5090407 - Previous SQL2019 RTM CU32 GDR, 5102336: 5102336, Security update for SQL Server 2019 RTM+GDR: Security update for SQL Server 2019 RTM+GDR, 15.0.2180.2: 15.0.2180.2, 15.0.2000.5 - 15.0.2170.1: 15.0.2000.5 - 15.0.2170.1, KB 5090408 - Previous SQL2019 RTM GDR: KB 5090408 - Previous SQL2019 RTM GDR, 5102337: 5102337, Security update for SQL Server 2017 CU31+GDR: Security update for SQL Server 2017 CU31+GDR, 14.0.3540.1: 14.0.3540.1, 14.0.3006.16 - 14.0.3530.2: 14.0.3006.16 - 14.0.3530.2, KB 5090354  - Previous SQL2017 RTM CU31 GDR: KB 5090354  - Previous SQL2017 RTM CU31 GDR, 5102338: 5102338, Security update for SQL Server 2017 RTM+GDR: Security update for SQL Server 2017 RTM+GDR, 14.0.2120.1: 14.0.2120.1, 14.0.1000.169 - 14.0.2110.2: 14.0.1000.169 - 14.0.2110.2, KB 5090347 - Previous SQL2017 RTM GDR: KB 5090347 - Previous SQL2017 RTM GDR, 5102339: 5102339, Security update for SQL Server 2016 Azure Connect Feature Pack+GDR: Security update for SQL Server 2016 Azure Connect Feature Pack+GDR, 13.0.7095.1: 13.0.7095.1, 13.0.7000.253 - 13.0.7085.1: 13.0.7000.253 - 13.0.7085.1, KB 5089270 - Previous SQL2016 Azure Connect Feature Pack GDR: KB 5089270 - Previous SQL2016 Azure Connect Feature Pack GDR, 5102340: 5102340, Security update for SQL Server 2016 SP3+GDR: Security update for SQL Server 2016 SP3+GDR, 13.0.6500.1: 13.0.6500.1, 13.0.6300.2 - 13.0.6490.1: 13.0.6300.2 - 13.0.6490.1, KB 5089271 - Previous SQL2016 RTM GDR: KB 5089271 - Previous SQL2016 RTM GDR\nThe General Distribution Release (GDR) and Cumulative Update (CU) designations correspond to the two different servicing options in place for SQL Server baseline releases. A baseline can be either an RTM release or a Service Pack release.\nGDR updates – cumulatively only contain security updates for the given baseline., CU updates – cumulatively contain all functional fixes and security updates for the given baseline.\nFor any given baseline, either the GDR or CU updates could be options (see below).\nIf SQL Server installation is at a baseline version, you can choose either the GDR or CU update., If SQL Server installation has intentionally only installed past GDR updates, then choose to install the GDR update package., If SQL Server installation has intentionally installed previous CU updates, then choose to install the CU security update package.\nYes. SQL Server instances on Windows Azure (IaaS) can be offered the security updates through Microsoft Update, or customers can download the security updates from Microsoft Download Center and apply them manually.",
          "title": "I am running SQL Server on my system. What action do I need to take?"
        }
      ],
      "product_status": {
        "fixed": [
          "11478",
          "11821",
          "12048",
          "12053",
          "12145",
          "12147",
          "16785",
          "20748",
          "21372",
          "21563"
        ],
        "known_affected": [
          "1",
          "2",
          "3",
          "4",
          "5",
          "6",
          "7",
          "8",
          "9",
          "10"
        ]
      },
      "references": [
        {
          "category": "self",
          "summary": "CVE-2026-54118 Microsoft SQL Server Remote Code Execution Vulnerability - HTML",
          "url": "https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-54118"
        },
        {
          "category": "self",
          "summary": "CVE-2026-54118 Microsoft SQL Server Remote Code Execution Vulnerability - CSAF",
          "url": "https://msrc.microsoft.com/csaf/advisories/2026/msrc_cve-2026-54118.json"
        }
      ],
      "remediations": [
        {
          "category": "vendor_fix",
          "date": "2026-07-14T07:00:00.000Z",
          "details": "13.0.7095.1:Security Update:https://support.microsoft.com/help/5096777",
          "product_ids": [
            "7"
          ],
          "url": "https://support.microsoft.com/help/5096777"
        },
        {
          "category": "vendor_fix",
          "date": "2026-07-14T07:00:00.000Z",
          "details": "15.0.2180.2:Security Update:https://support.microsoft.com/help/5102336",
          "product_ids": [
            "9"
          ],
          "url": "https://support.microsoft.com/help/5102336"
        },
        {
          "category": "vendor_fix",
          "date": "2026-07-14T07:00:00.000Z",
          "details": "16.0.1190.2:Security Update:https://support.microsoft.com/help/5102334",
          "product_ids": [
            "5"
          ],
          "url": "https://support.microsoft.com/help/5102334"
        },
        {
          "category": "vendor_fix",
          "date": "2026-07-14T07:00:00.000Z",
          "details": "14.0.3540.1:Security Update:https://support.microsoft.com/help/5102337",
          "product_ids": [
            "6"
          ],
          "url": "https://support.microsoft.com/help/5102337"
        },
        {
          "category": "vendor_fix",
          "date": "2026-07-14T07:00:00.000Z",
          "details": "15.0.4480.2:Security Update:https://support.microsoft.com/help/5096773",
          "product_ids": [
            "4"
          ],
          "url": "https://support.microsoft.com/help/5096773"
        },
        {
          "category": "vendor_fix",
          "date": "2026-07-14T07:00:00.000Z",
          "details": "16.0.4262.2:Security Update:https://support.microsoft.com/help/5101347",
          "product_ids": [
            "2"
          ],
          "url": "https://support.microsoft.com/help/5101347"
        },
        {
          "category": "vendor_fix",
          "date": "2026-07-14T07:00:00.000Z",
          "details": "17.0.1125.2:Security Update:https://support.microsoft.com/help/5102333",
          "product_ids": [
            "3"
          ],
          "url": "https://support.microsoft.com/help/5102333"
        },
        {
          "category": "vendor_fix",
          "date": "2026-07-14T07:00:00.000Z",
          "details": "17.0.4060.2:Security Update:https://support.microsoft.com/help/5101346",
          "product_ids": [
            "1"
          ],
          "url": "https://support.microsoft.com/help/5101346"
        },
        {
          "category": "vendor_fix",
          "date": "2026-07-14T07:00:00.000Z",
          "details": "13.0.6500.1:Security Update:https://support.microsoft.com/help/5102340",
          "product_ids": [
            "8"
          ],
          "url": "https://support.microsoft.com/help/5102340"
        },
        {
          "category": "vendor_fix",
          "date": "2026-07-14T07:00:00.000Z",
          "details": "14.0.2120.1:Security Update:https://support.microsoft.com/help/5102338",
          "product_ids": [
            "10"
          ],
          "url": "https://support.microsoft.com/help/5102338"
        }
      ],
      "scores": [
        {
          "cvss_v3": {
            "attackComplexity": "LOW",
            "attackVector": "NETWORK",
            "availabilityImpact": "HIGH",
            "baseScore": 8.8,
            "baseSeverity": "HIGH",
            "confidentialityImpact": "HIGH",
            "environmentalScore": 0.0,
            "exploitCodeMaturity": "UNPROVEN",
            "integrityImpact": "HIGH",
            "privilegesRequired": "LOW",
            "remediationLevel": "OFFICIAL_FIX",
            "reportConfidence": "CONFIRMED",
            "scope": "UNCHANGED",
            "temporalScore": 7.7,
            "userInteraction": "NONE",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C",
            "version": "3.1"
          },
          "products": [
            "1",
            "2",
            "3",
            "4",
            "5",
            "6",
            "7",
            "8",
            "9",
            "10"
          ]
        }
      ],
      "threats": [
        {
          "category": "impact",
          "details": "Remote Code Execution"
        },
        {
          "category": "exploit_status",
          "details": "Publicly Disclosed:No;Exploited:No;Latest Software Release:Exploitation Less Likely"
        }
      ],
      "title": "Microsoft SQL Server Remote Code Execution Vulnerability"
    }
  ]
}