CVE-2026-35421
High · 7.8CVSS
7.8
EPSS
0.5%
Published
May 12, 2026
CISA due date
—
Cloudanix analysis
A malicious file could let an attacker run software on a Windows computer if someone opens or previews it.
- Exploitation
- Requires User Interaction
- Attacker needs
- User Interaction
- Complexity
- Moderate
- Impact
- Full Compromise
- Component
- OS kernel
- Class
- Buffer Overflow
- Remediation
- Patch
- Effort
- Low
- Patch risk
- Low
What it actually does
CVE-2026-35421 is a heap-based buffer overflow in Windows GDI. A local, unauthenticated attacker can trigger memory corruption by causing a user to open or render malicious graphics content through a GDI-consuming application. Successful exploitation can allow arbitrary code execution in the context of the affected process or potentially lead to broader local compromise depending on the process integrity level and available hardening controls. The CVSS vector indicates local attack, low attack complexity, no privileges required, required user interaction, and high confidentiality, integrity, and availability impact.
Why it matters to the business
Successful exploitation could allow an attacker to take control of a user workstation or server session after a victim opens or previews malicious content. This can lead to malware execution, credential theft, lateral movement, data exposure, or disruption of business operations. The vulnerability affects a broad range of supported Windows client and server versions, increasing enterprise exposure, but current public exploitation signals are low: EPSS is 0.00532 with no 30-day increase, it is not in CISA KEV, and no public exploit maturity is reported.
How an attack unfolds
An attacker prepares a specially crafted file or content stream designed to exercise the vulnerable Windows GDI parsing or rendering path. The attacker then delivers that content through a mechanism that causes local rendering, such as email attachment, downloaded document, archive contents, shared file, web-delivered content opened by a local application, or another workflow that invokes GDI. When the victim opens, previews, prints, or otherwise renders the content, the malformed data causes a heap-based buffer overflow. If the attacker can shape the memory corruption reliably, they may redirect execution flow and run attacker-controlled code under the victim’s user context. From there, the attacker may establish persistence, steal credentials, deploy additional tooling, or attempt privilege escalation and lateral movement.
How to fix it
Apply the relevant Microsoft security updates for affected Windows versions as soon as they are available through Windows Update, Microsoft Update Catalog, WSUS, Intune, Configuration Manager, or other enterprise patching tools. Because no exact fixed versions were provided, validate remediation against Microsoft’s official security update guidance for this CVE and the installed Windows build. Prioritize patching internet-facing workstations, jump boxes, administrator workstations, VDI images, terminal servers, file-handling servers, and systems used to open untrusted documents or graphics. Until patched, reduce exposure by blocking or heavily inspecting unsolicited attachments and downloaded files, disabling preview panes where feasible, restricting execution from user-writable directories, enforcing Attack Surface Reduction rules, using Microsoft Defender or equivalent EDR protections, and limiting local user privileges.
How to confirm the fix worked
Confirm that each affected Windows system has installed the Microsoft cumulative/security update that includes the fix for this vulnerability. Validate using Windows Update history, Microsoft Update compliance reporting, Intune/Configuration Manager inventory, WSUS reports, or PowerShell checks for installed hotfixes and OS build numbers. Compare OS build and patch level against Microsoft’s official fixed build information for Windows 10, Windows 11, and Windows Server releases. For exposure reduction, verify that endpoint protection is enabled, document preview behavior is controlled where required, file attachment filtering is active, and untrusted content is opened in hardened or isolated environments. If a test environment is available, confirm that known vulnerable builds are no longer present and that security telemetry continues to record application crashes, suspicious child processes, and blocked exploit behavior.
Typical attack path
- Create or obtain malicious graphics, document, or rendered content that reaches the vulnerable Windows GDI code path.
- Deliver the content to a target through phishing, file sharing, removable media, web download, or another user-driven workflow.
- Wait for the victim to open, preview, print, or otherwise render the malicious content locally.
- Trigger heap memory corruption in Windows GDI.
- Exploit the corrupted heap state to execute attacker-controlled code in the context of the rendering application or user session.
- Deploy follow-on payloads, collect credentials, persist, or move laterally if endpoint controls do not block execution.
How to detect it
There are no unique public indicators of compromise or known exploit artifacts for this vulnerability based on the provided intelligence. To determine whether exploitation may have occurred, review endpoint and Windows telemetry for suspicious activity immediately following user interaction with external files, image content, documents, archives, email attachments, or print/preview workflows. Relevant sources include Windows Security logs, Sysmon, EDR process telemetry, Microsoft Defender alerts, application crash logs, Windows Error Reporting, email gateway logs, web proxy logs, file download records, and PowerShell/script execution logs. Hunt for abnormal crashes in applications that render graphics or documents, followed by suspicious child processes such as command shells, script interpreters, LOLBins, credential access tools, or outbound connections. Pay special attention to process chains where office suites, browsers, email clients, image viewers, PDF/document readers, archive utilities, or print-related components spawn command interpreters or scripting engines. Correlate crash events, suspicious process creation, newly written executables in user-writable paths, persistence changes, and network callbacks within a short time window after a suspicious file was opened.
What your security team should do
- Track Microsoft’s official advisory and map the required security update or cumulative update to every affected Windows client and server version in use.
- Prioritize remediation for systems where users handle external files, email attachments, downloaded documents, images, print workflows, or shared content.
- Use endpoint management tooling to identify unpatched Windows 10, Windows 11, and Windows Server systems listed as affected.
- Harden user-facing systems by disabling unnecessary preview handlers, enforcing least privilege, and blocking execution from temporary and user-writable paths.
- Tune EDR/SIEM detections for suspicious child processes launched by document viewers, image handlers, browsers, email clients, archive tools, and print-related processes.
- Investigate unusual crashes in GDI-consuming applications, especially when followed by process creation, network connections, credential access, or persistence attempts.
- Because EPSS is currently low and there is no KEV listing, handle as important but continue monitoring for exploit publication, EPSS movement, or threat actor adoption that would increase urgency.
The record
Heap-based buffer overflow in Windows GDI allows an unauthorized attacker to execute code locally.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|
Related vulnerabilities
- CVE-2026-119727 A flaw was found in GStreamer's gst-plugins-bad H.265 video parser. CWE-122
- CVE-2026-110133 A flaw was found in Ghostscript. CWE-122
- CVE-2026-9536 A heap-based buffer overflow vulnerability exists in the vtkWindBladeReader… CWE-122
- CVE-2026-96198 Heap-based buffer overflow in Microsoft Edge (Chromium-based) allows an unauthorized… CWE-122
- CVE-2026-96199 Heap-based buffer overflow in Microsoft Edge (Chromium-based) allows an unauthorized… CWE-122
- CVE-2026-85897 Heap-based buffer overflow in Microsoft Edge (Chromium-based) allows an unauthorized… CWE-122
- CVE-2026-119124 ImageMagick before 7.1.2-34 contains a heap-based buffer overflow in its -morph… CWE-122
- CVE-2026-93523 A heap buffer overflow caused by a XIPassiveUngrabDevice request with an out-of-range… CWE-122