CVE-2024-49021 Microsoft SQL Server Remote Code Execution Vulnerability
An attacker can execute arbitrary code on Microsoft SQL Server due to a use-after-free vulnerability.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2024-49021?
CVE-2024-49021 is a high-severity use after free vulnerability in Microsoft Sql Server 2016, published on 12 Nov 2024. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Official description
Microsoft SQL Server Remote Code Execution Vulnerability
Weakness: CWE-416
Which versions are affected by CVE-2024-49021?
It affects 4 products.
Products include Microsoft Sql Server 2016, Microsoft Sql Server 2017, Microsoft Sql Server 2019, Microsoft Sql Server 2022.
How do I fix CVE-2024-49021?
No fix has been published for CVE-2024-49021 yet. Limit exposure of the affected software until one is available.
Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.
Is CVE-2024-49021 being exploited?
There is no known exploitation of CVE-2024-49021 in the wild and no public exploit code.
Other vulnerabilities in Microsoft Sql Server 2016
- CVE-2026-54117 Microsoft SQL Server Remote Code Execution Vulnerability
- CVE-2026-54118 Microsoft SQL Server Remote Code Execution Vulnerability
- CVE-2026-47295 Microsoft SQL Server Elevation of Privilege Vulnerability
- CVE-2026-55002 Microsoft SQL Server Elevation of Privilege Vulnerability
- CVE-2026-40370 SQL Server Remote Code Execution Vulnerability
Sources
Also known as GHSA-j85c-4frx-f93r.