Skip to main content
Meet us at Black Hat USA 2026— Las Vegas, August 1–6Book a Meeting
Mallory
HighCISA KEVExploited in the wildPublic exploit

Windows win32k.sys RtlQueryRegistryValues Stack Buffer Overflow Privilege Escalation

IdentifiersCVE-2010-4398CWE-121

CVE-2010-4398 is a local privilege-escalation vulnerability in the Windows kernel component win32k.sys affecting Microsoft Windows XP SP2/SP3, Windows Server 2003 SP2, Windows Vista SP1/SP2, Windows Server 2008 Gold/SP2/R2, and Windows 7. The flaw is a stack-based buffer overflow in the RtlQueryRegistryValues function. According to the provided description, exploitation is triggered by supplying a crafted REG_BINARY value for the SystemDefaultEUDCFont registry key, causing improper handling in kernel-mode code. The issue allows a local user to corrupt kernel stack memory and elevate privileges. The content also notes this vulnerability was associated with the "Driver Improper Interaction with Windows Kernel Vulnerability" name and was used by multiple threat actors for privilege escalation. Supporting context further indicates broader unsafe patterns around RtlQueryRegistryValues with RTL_QUERY_REGISTRY_DIRECT and insufficient registry type validation were later linked to incomplete fixes in related code paths on older Windows versions.

Share:
For your environment

Are you exposed to this one?

Mallory correlates every CVE against your assets, your vendors, and active adversary campaigns. Know which vulnerabilities matter for you, not just which ones are loud.

ANALYST BRIEF

Impact, mitigation & remediation

What it means. What to do now. Patch path, mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Successful exploitation allows a local attacker to gain elevated privileges, including kernel-level or SYSTEM-equivalent execution, and to bypass User Account Control (UAC). Because the flaw is in kernel-mode code, exploitation can enable full compromise of the affected host, including arbitrary code execution in a highly privileged context, installation of persistent malware, disabling or evading security controls, credential theft, and follow-on lateral movement.

Mitigation

If you can’t patch tonight, do this now.

Mitigations are limited because this is a local kernel privilege-escalation flaw. Restrict local logon and code-execution opportunities, enforce least privilege, and monitor for suspicious modification of registry values associated with the vulnerable path, especially crafted REG_BINARY data in sensitive keys such as SystemDefaultEUDCFont. UAC should not be relied upon as a defense because the vulnerability can bypass it. Application control, EDR telemetry on registry tampering and kernel exploit behavior, and rapid isolation of legacy hosts can reduce exploitation risk where patching is unavailable.

Remediation

Patch, then assume compromise.

Apply the relevant Microsoft security updates for CVE-2010-4398 on affected systems. Because the vulnerability affects legacy Windows versions, systems that remain on unsupported releases should be upgraded to supported Windows versions where the vulnerable code path is no longer present or is properly fixed. If patching is not possible, reduce opportunities for local code execution by restricting administrative access, limiting write access to sensitive registry locations, and removing affected legacy systems from high-trust environments.
PUBLIC EXPLOITS

Exploits

No valid public exploits. Mallory filtered out 1 candidate as fakes, detection scripts, or README-only repos.

VALID 0 / 1 TOTALView more in app

All candidate exploits were filtered out by Mallory's validation.

EXPOSURE SURFACE

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
Microsoft CorporationWindows 7operating_system
Microsoft CorporationWindows Server 2003operating_system
Microsoft CorporationWindows Server 2008operating_system
Microsoft CorporationWindows Vistaoperating_system
Microsoft CorporationWindows Xpoperating_system

Vendor-confirmed product mapping. Mallory continuously reconciles this list against your asset inventory.

What this page doesn’t show

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, which detections to deploy, and what to do tonight.
Exposure mapping

Query your assets running an affected version, and investigate the blast radius.

Threat actor evidence3

Every observed campaign linking this CVE to a named adversary.

Associated malware4

Malware families riding this exploit, with evidence and IOCs.

Detection signatures1

YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.

Vendor-by-vendor mapping

Cross-references every affected SKU, including bundled OEM variants.

Social activity

Community discussion across Reddit, Mastodon, and other social sources.