TL;DR — CISA has pulled a seven-year-old Microsoft SQL Server flaw back into the spotlight: CVE-2019-1068 was added to the Known Exploited Vulnerabilities (KEV) catalog on 26 August 2026 with a 29 August federal patch deadline. Any authenticated low-privilege login can send a crafted query that mishandles a path value, exhausts the database engine’s stack and crashes it — and Microsoft rates the ceiling as remote code execution under the SQL Server service account. Microsoft patched it in July 2019; unpatched SQL Server 2014, 2016 and 2017 instances are exposed. NVD and Microsoft both score it 8.8 (High, CVSS v3.1).

HIGHCVE-2019-1068Microsoft SQL Server engine RCECVSS V3.18.8 (High) — NVD / MicrosoftVECTORCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HWEAKNESSCWE-20 — Improper input validation (stack overflow)AFFECTEDSQL Server 2014 / 2016 / 2017 (pre-Jul 2019 updates)ATTACK VECTORNetwork — authenticated, any low-priv login, no UIFIXED INMicrosoft July 2019 security updatesEXPLOITEDYes — in the wild (per CISA KEV)CISA KEVAdded 26 Aug 2026 — due 29 Aug 2026
At-a-glance threat summary for CVE-2019-1068.

What Is the SQL Server Engine RCE?

Microsoft SQL Server is one of the most widely deployed database engines in the enterprise, sitting behind line-of-business apps, finance systems and internal portals. That ubiquity is exactly why a database-engine RCE matters: the service account it runs under is often over-privileged, so a foothold in the database can become a foothold on the Windows host.

CVE-2019-1068 is a flaw in how the SQL Server database engine processes certain internal functions. Microsoft classifies it as remote code execution — an attacker who can run a crafted query can execute code in the security context of the SQL Server Database Engine service account. It carries a CVSS v3.1 base score of 8.8 (High) and is categorised as CWE-20 (improper input validation). Microsoft shipped fixes back in July 2019; what changed in August 2026 is that CISA now has evidence of active exploitation and has added it to the KEV catalog.

How the SQL Server RCE Works

In plain terms: an attacker who can log in to your SQL Server — even with a low-privilege account — sends a specially crafted query, and the engine mishandles it badly enough to fall over, with code execution as the documented worst case.

The root cause, per the public research that originally surfaced the bug, is inadequate input validation in a path-handling routine inside the engine’s supporting library (svl.dll). The SvlPathUtilHasDriveLetter check inspects the first two characters of a path (a letter followed by a colon) but fails to validate what comes next. A malformed path string slips through into NormalizePath, which drives an effectively unbounded recursive call into sqlmin!CheckFileStreamReserved. The stack is exhausted, the process hits an access violation (0xC0000005) and the engine crashes.

Pre-conditions are modest: the attacker needs network reach to the SQL Server instance and a valid login (privilege requirement is low — no sysadmin needed), and no user interaction is involved. That combination is why Microsoft scored it 8.8 (High), with confidentiality, integrity and availability all rated High (C:H/I:H/A:H).

Old does not mean harmless. A 2019 patch you never applied is a 2026 open door — CISA only lists what is being exploited right now.

ATTACK CHAIN1Authenticate to the SQL ServerAny valid low-privilege SQL login over the network — no sysadmin, no user interaction.2Submit a crafted queryA malformed path value is passed to the engine’s path-handling routine (svl.dll).3Input validation failsSvlPathUtilHasDriveLetter mis-parses the path; NormalizePath proceeds on bad input (CWE-20).4Unbounded recursionsqlmin!CheckFileStreamReserved recurses without limit — the stack is exhausted.5Engine crashes / code path abusedAccess violation 0xC0000005; Microsoft rates the ceiling as RCE as the service account.
From a single authenticated query to a downed — or compromised — database engine.

RCE or DoS? Reading the Impact

There is a nuance worth being honest about. Microsoft classifies CVE-2019-1068 as remote code execution, and the CVSS vector reflects that worst case. The public research that documented the bug demonstrated a reliable denial-of-service — a repeatable crash through stack exhaustion — but did not publish confirmed remote code execution.

Both readings can be true at once: memory-corruption bugs that reliably crash a process frequently turn out to be exploitable for code execution with more effort, and Microsoft has visibility that the public does not. Treat it as an RCE for risk-management purposes while recognising the demonstrated public impact is a crash. Either way, an authenticated crash of a production database or a foothold under the engine service account is not a risk worth carrying on an internet-adjacent system.

Active Exploitation of CVE-2019-1068

CISA added CVE-2019-1068 to the Known Exploited Vulnerabilities catalog on 26 August 2026, which by policy means the agency has reliable evidence of exploitation in the wild. As of publication, CISA has not attributed the activity to a named threat actor, has not detailed the scale or targeted sectors, and has stated the vulnerability is not currently known to be used in ransomware campaigns. A public proof-of-concept demonstrating the crash condition has existed since the original 2019 research, which lowers the bar for opportunistic attackers to at least disrupt exposed instances.

DISCLOSURE TIMELINE9 Jul 2019Microsoft patches CVE-2019-1068 in the July 2019 security updates~15 Jul 2019CVE published; researcher write-up documents a stack-exhaustion DoS26 Aug 2026CISA adds CVE-2019-1068 to the KEV catalog (active exploitation)29 Aug 2026Federal remediation deadline (FCEB) under BOD 26-04
Key dates for CVE-2019-1068, from the 2019 patch to the 2026 KEV listing.

The federal remediation deadline is 29 August 2026 for Federal Civilian Executive Branch agencies under Binding Operational Directive 26-04. Notably, that directive asks agencies to perform forensic triage for prior compromise, not simply patch — a good model for everyone. Internet-facing and internet-adjacent SQL Server instances, and unpatched legacy estates that have quietly outlived their maintenance windows, are the obvious exposure.

Remediation & Mitigation: Patching SQL Server

Apply the fix. Microsoft shipped updates on 9 July 2019 for every affected branch. Because these builds are old, the pragmatic move is to bring the instance up to the latest supported cumulative update for its version rather than installing the exact 2019 build. The original fixing updates were:

  • SQL Server 2014 SP2: KB4505217 (GDR) / KB4505419 (CU)
  • SQL Server 2014 SP3: KB4505218 (GDR) / KB4505422 (CU)
  • SQL Server 2016 SP1: KB4505219 (GDR) / KB4505221 (CU)
  • SQL Server 2016 SP2: KB4505220 (GDR) / KB4505222 (CU)
  • SQL Server 2017: KB4505224 (GDR) / KB4505225 (CU)

SQL Server 2014 is out of extended support — if you are still running it, plan a migration to a supported version.

If you cannot patch immediately, reduce exposure:

  • Get SQL Server off the internet. It should never be directly reachable; firewall TCP 1433 (and the SQL Browser on UDP 1434) down to known application hosts only.
  • Tighten authentication. Remove stale, shared or default logins, enforce strong credentials, and audit who holds a login — the exploit needs one.
  • Run the engine with least privilege. Ensure the SQL Server service account is a low-privilege, non-LocalSystem account so a successful exploit gains as little as possible on the host.

After patching, hunt for prior compromise. Review SQL error logs for unexplained engine crashes and stack-dump events (access violations, 0xC0000005), check for unexpected logins and anomalous query activity, and look for follow-on host-level persistence if the service account was privileged. Rotate service-account and SQL credentials if you find anything suspicious.

Related ZeroDayHub Coverage

Legacy and Microsoft-stack flaws keep resurfacing under active attack: the Windows IKE double-free exploited in the wild, and the Metabase SQL injection zero-day — different products, same lesson about unpatched data-tier software.

Sources & Further Reading

Leave a Reply

Trending