Important CVSS 7.8 EPSS 0.0024 🔬 Patch diffed 2026-08 archive

Executive Summary

Use after free in Windows Schannel allows an authorized attacker to elevate privileges locally.

Overview

7.8
CVSS HIGH
Important
MS Severity
Not Exploited
MS Exploit Status
Exploitation Unlikely
MS Exploit Likelihood
Category Elevation of Privilege
Released Aug 11 2026
Last Updated Aug 11 2026
Publicly Disclosed No
CISA KEV Not Listed
Known Exploits None Known
EPSS Score 0.0024 — 0.15221 percentile
NVD CVSS 7.8 HIGH — matches MSRC

CVSS Vector

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C
ATTACK VECTOR
Local
ATTACK COMPLEXITY
Low
PRIVILEGES REQUIRED
Low
USER INTERACTION
None
SCOPE
Unchanged
CONFIDENTIALITY
High
INTEGRITY
High
AVAILABILITY
High
EXPLOIT CODE MATURITY
Unproven
REMEDIATION LEVEL
Official Fix
REPORT CONFIDENCE
Confirmed
Temporal Score: 6.8

EPSS Score

0.0024
probability of exploitation in the next 30 days
0.15221 percentile - updated 2026-08-14
View on FIRST.org

Affected Products

2 affected products
Product KB Article Severity Impact Restart Required
Windows 11 Version 24H2 for ARM64-based Systems 5120994 (Security Hotpatch Update) 5121003 (Security Update) Important Elevation of Privilege 5101650 Base: 7.8 Temporal: 6.8 Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C 10.0.26100.9106 10.0.26100.9168 Yes None Windows 11 Version 24H2 for x64-based Systems 5121003 (Security Update) 5120994 (Security Hotpatch Update) Important Elevation of Privilege 5101650 Base: 7.8 Temporal: 6.8 Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C 10.0.26100.9168 10.0.26000.9106 Yes None Windows 11 Version 25H2 for ARM64-based Systems 5121003 (Security Update) 5120994 (Security Hotpatch Update) Important Elevation of Privilege 5101650 Base: 7.8 Temporal: 6.8 Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C 10.0.26200.9168 10.0.26100.9106 Yes None Windows 11 Version 25H2 for x64-based Systems 5121003 (Security Update) 5120994 (Security Hotpatch Update) Important Elevation of Privilege 5101650 Base: 7.8 Temporal: 6.8 Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C 10.0.26200.9168 10.0.26100.9106 Yes None Windows 11 Version 26H1 for ARM64-based Systems 5121000 (Security Update) Important Elevation of Privilege Yes
Windows 11 version 26H1 for x64-based Systems 5121000 (Security Update) Important Elevation of Privilege Yes

Patches

1 patch
Article Type Restart
5121000 Security Update Yes

Patch Diff

ghidriff · ksecpkg.sys (KB5121003)

CWE-416: Use After Free in ksecpkg.sys — fixed (velocity-gated behind Feature_3629870394) in Sha512WrapFinish. Elevation of Privilege.

Pre-patch version 10.0.26100.8875 Download
Post-patch version 10.0.26100.9168 Download
Loading diff…
Select a function to see its diff.
View full diff report

Root Cause Analysis

CVE-2026-62779 — A use-after-free in the Windows SSP SHA-512 wrap finalizer

Root-cause analysis from the August 2026 patch diff of ksecpkg.sys (10.0.26100.8875 → .9168, KB5121000).


Summary

ksecpkg.sys is the kernel Security Support Provider that hosts Windows’ Kerberos and Schannel message-protection packages. Its Sha512WrapFinish routine finalizes a SHA-512-based wrap/MAC context — the per-message checksum state used when sealing and signing SSPI messages. The function frees the context’s inner buffer with ExFreePoolWithTag, but in the pre-patch code it left the owning pointer dangling: the slot at *param_1 still pointed at the freed pool block. A later operation on the same context — a re-finalize, or a subsequent seal/sign/verify that re-enters the buffer — then dereferences freed non-paged pool, a use-after-free (CWE-416) and a local elevation-of-privilege primitive. Microsoft rates it Important, CVSS 7.8 (AV:L/AC:L/PR:L/UI:N), Exploitation Unlikely, and labels it a Schannel EoP. The one-line fix — nulling the owning pointer after the free — is visible in Sha512WrapFinish, and the gate name (Feature_Servicing_CryptdllCodeQL) indicates it was surfaced by Microsoft’s CodeQL variant-hunting.

The vulnerability

Sha512WrapFinish(param_1) tears down a SHA-512 wrap context. param_1 points at the context header; the inner state buffer hangs off it at *param_1. The patched function makes the teardown explicit:

undefined8 Sha512WrapFinish(undefined8 *param_1)
{
    ...
    puVar2 = (undefined8 *)*param_1;   // the inner state buffer
    *puVar2 = 0;                       // scrub the first qword
    ExFreePoolWithTag(puVar2, 0);      // free the buffer
    *param_1 = 0;                      // NEW: clear the owning pointer
    return 0;
}

The defect is a missing pointer-clear on free. The buffer puVar2 = *param_1 is returned to the pool, but the owner slot *param_1 is not reset, so the context still holds a pointer into freed memory. SSPI message protection doesn’t use a context once and discard it — the same context is driven across a sequence of KerbSpSealMessage / KerbSpMakeSignature / KerbSpVerifySignature / KerbSpUnsealMessage calls (all of which are touched in the same update). Any path that reaches the finalized context again — a double-finalize, or a re-used wrap buffer — reads or writes through the stale *param_1 and lands in reclaimed non-paged pool. Because an attacker driving the SSPI message interface controls the timing and the pool reuse, this is a steerable use-after-free, not a random crash, and the classic shape of a local privilege-escalation primitive.

The fix is the canonical UAF remediation: free, then null the owner (*param_1 = 0), so a later dereference hits a NULL pointer (a clean fault) instead of a reclaimed allocation. The surrounding feature gate Feature_Servicing_CryptdllCodeQL both guards the change and names its provenance — a CodeQL query over the cryptdll/SSP code, i.e. this was found by variant analysis rather than an external report.

A note on confidence

In the diffed pre build, Sha512WrapFinish did not decompile — Ghidra recovered it as an int 3 / swi(3) stub (a feature-gated forwarder on the old side), so the exact pre-patch instructions are not shown. The root cause above is reconstructed from the fully-recovered new side: the patch’s only substantive addition is the *param_1 = 0 owner-clear after an existing free, which is meaningful only as a use-after-free fix, and it matches both the assigned CWE-416 and the SSPI-context lifecycle shown by the sibling KerbSp* changes. Note also that this patch is shared by seven CVEs (CVE-2026-62779/62784/62754/62752/62766/62773/62757) — a merged ksecpkg Kerberos/Schannel crypto hardening — so MSRC’s “Schannel” label on this CVE and the Kerberos-named finalizer both sit on the same binary update; the UAF fix described here is what this CVE’s diff pins to.

Exploitability & triage

The SSPI message-protection surface is reachable by any local process that negotiates a Kerberos or Schannel security context and then seals/signs messages over it — no special privilege beyond an authenticated token. The freed object is a per-message SHA-512 wrap buffer in non-paged pool, with attacker-influenced allocation and reuse timing, which is a usable UAF primitive consistent with the Important / 7.8 AV:L EoP rating. “Exploitation Unlikely” reflects the race/grooming required against a short-lived crypto buffer rather than any missing reachability. Detection: ksecpkg.sys pool corruption bugchecks, and special-pool / verifier runs over the Kerberos SSP message path.

Attack Path

Windows Schannel Elevation of Privilege Vulnerability

  1. entry Attacker reaches ksecpkg.sys through its normal operation The vulnerable code sits in ksecpkg.sys (Sha512WrapFinish). Important · CVSS 7.8.
  2. input Trigger the object's allocation then its premature free Drive the operation that frees the object while a reference is still held elsewhere.
  3. check Missing refcount / lifetime guard (CWE-416 use-after-free) Pre-patch the object was released without the reference/lifetime check the patch adds.
  4. primitive Use-after-free of the freed object A stale reference operates on freed memory; reclaim the block with controlled data.
  5. impact Elevation of Privilege MSRC: Important · CVSS 7.8. (Auto-drafted path — verify the exploit chain against the diff.)

Derived from the patch delta: the checks added by the vendor identify which fields crossed a trust boundary unvalidated. Reachability and privilege are taken from the call chain in the RCA report.

Exploits & PoC

Detection Rules

Acknowledgments

Microsoft has not published researcher acknowledgments for this CVE, or they are not yet reflected in our data source. Check the MSRC advisory directly for the most current credit information.