CVE-2018-8397
High · 8.8CVSS
8.8
EPSS
67.5%
Published
Aug 15, 2018
CISA due date
—
Cloudanix analysis
A problem in the way older Windows versions handle certain picture files could let attackers take over a computer when someone opens a bad image.
- Exploitation
- Requires User Interaction
- Attacker needs
- User Interaction
- Complexity
- Low
- Impact
- Remote Code Execution
- Component
- Library
- Class
- Memory Corruption
- Remediation
- Patch
- Effort
- Medium
- Patch risk
- Low
What it actually does
A flaw in Windows GDI+ memory object handling allows remote code execution when specially crafted image content is processed.
Why it matters to the business
Legacy Windows systems remain exposed to full remote compromise, increasing risk of data loss, ransomware, or lateral movement on unpatched or end-of-life deployments.
How an attack unfolds
An attacker creates a malicious image or document that triggers unsafe memory handling in GDI+; when the victim opens the file, attacker-supplied code executes with the user's privileges.
How to fix it
Apply all available security updates for supported Windows versions; migrate Windows 7 and Windows Server 2008 systems to a supported operating system as no fixes are provided for end-of-life releases.
How to confirm the fix worked
Verify current patch level against Microsoft security bulletins for GDI components; run vulnerability scanners configured for memory corruption issues in graphics libraries.
Typical attack path
- Craft malicious image or document exploiting GDI+ memory corruption
- Deliver file via email attachment, web download, or shared drive
- Victim opens or previews the file, triggering GDI+ parsing
- Arbitrary code executes, enabling further actions such as persistence or credential theft
How to detect it
Review Windows event logs and application crash reports for faults involving gdiplus.dll; inspect endpoint telemetry for unexpected process creation following image file access.
What your security team should do
- Prioritize migration of Windows 7 and Server 2008 to supported platforms
- Block or sandbox rendering of untrusted image formats where possible
- Enable attack surface reduction rules that restrict Office and browser handling of external images
- Monitor endpoint telemetry for anomalous child processes spawned from image viewers
The record
A remote code execution vulnerability exists in the way that the Windows Graphics Device Interface (GDI) handles objects in the memory, aka "GDI+ Remote Code Execution Vulnerability." This affects Windows Server 2008, Windows 7, Windows Server 2008 R2.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|