← Vulnerability feed

Vulnerability record · CVE-2005-4560 · published 28 December 2005

CVE-2005-4560: Windows GDI32 WMF SETABORTPROC escape code execution

Microsoft · Windows 2003 Server

Microsoft Windows GDI32.DLL fails to properly validate a crafted SETABORTPROC GDI Escape function call inside a Windows Metafile (WMF) image, allowing arbitrary code execution. The flaw was originally found exploited in the wild and affects the Windows Picture and Fax Viewer (SHIMGVW.DLL) rendering path. It matters because a malformed image can run attacker code in the context of the viewing user.

7.5 CVSS 2.0 High EPSS 86% · top 0.3% CWE-20 · Improper input validation
7.5CVSS 2.0 base score
86%EPSS exploitation probability, 30 days
NoNot in CISA KEV
2Affected product versions listed by NVD
74References, 6 tagged exploit
16 Jun 2026Last modified by NVD

Description

The Windows Graphical Device Interface library (GDI32.DLL) in Microsoft Windows allows remote attackers to execute arbitrary code via a Windows Metafile (WMF) format image with a crafted SETABORTPROC GDI Escape function call, related to the Windows Picture and Fax Viewer (SHIMGVW.DLL), a different vulnerability than CVE-2005-2123 and CVE-2005-2124, and as originally discovered in the wild on unionseek.com.

AV:N/AC:L/Au:N/C:P/I:P/A:P

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 18 September 2026. Confidence: medium.

high priorityRemote unauthenticated code execution with public exploit references and very high EPSS, though it is not in KEV and affects only legacy Windows versions.

What it is

Microsoft Windows GDI32.DLL fails to properly validate a crafted SETABORTPROC GDI Escape function call inside a Windows Metafile (WMF) image, allowing arbitrary code execution. The flaw was originally found exploited in the wild and affects the Windows Picture and Fax Viewer (SHIMGVW.DLL) rendering path. It matters because a malformed image can run attacker code in the context of the viewing user.

Impact

An attacker gains arbitrary code execution with the privileges of the user or process that renders the malicious WMF file. On Windows XP and Windows 2003 Server this can lead to full system compromise depending on the victim's rights.

Attack surface

Reached remotely over the network with no authentication required (CVSS 2.0 vector AV:N/AC:L/Au:N), typically by delivering a crafted WMF image that the victim opens or previews. User interaction is implied by the need to view or render the image, though the vector itself does not encode it.

Exploitation

Not listed in CISA KEV, but EPSS is very high (0.86093, 99.72nd percentile) and multiple references carry Exploit tags, indicating public exploit material and active interest. The description states it was originally discovered in the wild.

What to do

  • Apply the Microsoft security update referenced in advisory 912840 (MS06-001) to affected Windows XP and Windows 2003 Server systems.
  • Disable or restrict WMF rendering in Windows Picture and Fax Viewer and other applications that process WMF files until patching is complete.
  • Block or strip WMF attachments and image files at email and web gateways.
  • Unregister or restrict the shimgvw.dll handler where operationally feasible.
  • Monitor vendor advisories from Microsoft, Secunia and US-CERT for updated guidance.

Detection

  • Hunt for WMF files containing SETABORTPROC escape records in email attachments, web downloads and file shares.
  • Alert on shimgvw.dll or GDI32.DLL loading in unexpected processes or spawning child processes.
  • Monitor for process creation from image-viewing applications that then launch scripting or command interpreters.
  • Review proxy and mail logs for WMF content delivered from untrusted external sources.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Affected products

2 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

LinkTags
http://linuxbox.org/pipermail/funsec/2006-January/002455.html
http://secunia.com/advisories/18255 Vendor Advisory
http://secunia.com/advisories/18311 Vendor Advisory
http://secunia.com/advisories/18364 Vendor Advisory
http://secunia.com/advisories/18415 Vendor Advisory
http://securitytracker.com/id?1015416 Exploit
http://support.avaya.com/elmodocs2/security/ASA-2006-001.htm Vendor Advisory
http://vil.mcafeesecurity.com/vil/content/v_137760.htm Vendor Advisory
http://www.f-secure.com/weblog/archives/archive-122005.html#00000753 ExploitVendor Advisory
http://www.kb.cert.org/vuls/id/181038 Third Party AdvisoryUS Government Resource
http://www.microsoft.com/technet/security/advisory/912840.mspx Vendor Advisory
http://www.securityfocus.com/archive/1/420288/100/0/threaded
http://www.securityfocus.com/archive/1/420351/100/0/threaded
http://www.securityfocus.com/archive/1/420357/100/0/threaded
http://www.securityfocus.com/archive/1/420367/100/0/threaded
http://www.securityfocus.com/archive/1/420378/100/0/threaded
http://www.securityfocus.com/archive/1/420446/100/0/threaded
http://www.securityfocus.com/archive/1/420546/30/7730/threaded
http://www.securityfocus.com/archive/1/420664/30/7730/threaded
http://www.securityfocus.com/archive/1/420682/100/0/threaded
http://www.securityfocus.com/archive/1/420684/100/0/threaded
http://www.securityfocus.com/archive/1/420687/100/0/threaded
http://www.securityfocus.com/archive/1/420773/100/0/threaded
http://www.securityfocus.com/bid/16074 Exploit
http://www.us-cert.gov/cas/techalerts/TA05-362A.html Third Party AdvisoryUS Government Resource
http://www.us-cert.gov/cas/techalerts/TA06-005A.html Third Party AdvisoryUS Government Resource
http://www.vupen.com/english/advisories/2005/3086 Vendor Advisory
http://www130.nortelnetworks.com/cgi-bin/eserv/cs/main.jsp?cscat=BLTNDETAIL&DocumentOID=375341
http://www130.nortelnetworks.com/cgi-bin/eserv/cs/main.jsp?cscat=BLTNDETAIL&DocumentOID=375420
https://docs.microsoft.com/en-us/security-updates/securitybulletins/2006/ms06-001
https://exchange.xforce.ibmcloud.com/vulnerabilities/23846
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A1431
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A1433
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A1460
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A1492
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A1564
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A1612
http://linuxbox.org/pipermail/funsec/2006-January/002455.html
http://secunia.com/advisories/18255 Vendor Advisory
http://secunia.com/advisories/18311 Vendor Advisory

Track CVE-2005-4560 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.8CVE-2008-4250Microsoft Windows Server service RPC path canonicalization buffer overflowThe Server service in multiple Windows versions fails to properly handle path canonicalization, allowing a crafted RPC request to overflow a buffer a…KEVEPSS 99%analysed8.8CVE-2013-3918Microsoft Windows InformationCardSigninHelper ActiveX out-of-bounds writeThe InformationCardSigninHelper ActiveX control in icardie.dll contains an out-of-bounds write that can be triggered by a crafted web page rendered i…KEVEPSS 74%analysed8.8CVE-2011-3402Microsoft Windows TrueType Font Parsing Remote Code ExecutionThe TrueType font parsing engine in win32k.sys on multiple Windows versions fails to properly handle crafted font data, allowing remote code executio…KEVEPSS 78%analysed8.8CVE-2008-0015Microsoft DirectShow Video ActiveX Control Stack Buffer OverflowA stack-based buffer overflow in the CComVariant::ReadFromStream function in the Active Template Library (ATL) is reachable through the MPEG2TuneRequ…KEVEPSS 77%analysed8.8CVE-2009-1537Microsoft DirectShow QuickTime Parser NULL Byte Overwrite RCEThe QuickTime Movie Parser Filter in quartz.dll (DirectShow, DirectX 7.0 through 9.0c) contains an unspecified NULL byte overwrite flaw. A crafted Qu…KEVEPSS 51%analysed7.8CVE-2015-1701Microsoft Windows Win32k.sys Local Privilege EscalationWin32k.sys in the Windows kernel-mode drivers fails to properly validate input, allowing a local user to elevate privileges by running a crafted appl…KEVEPSS 56%analysed7.8CVE-2013-5065Microsoft Windows NDProxy.sys kernel local privilege escalationNDProxy.sys in the Windows kernel on Windows XP SP2/SP3 and Server 2003 SP2 fails to properly validate input, letting a local user escalate privilege…KEVEPSS 35%analysed7.8CVE-2013-3660Microsoft Windows win32k EPATHOBJ pointer flaw allows privilege escalationThe EPATHOBJ::pprFlattenRec function in win32k.sys fails to properly initialize a pointer for the next object in a list, letting a local user gain wr…KEVEPSS 39%analysed

Source: NIST National Vulnerability Database (record CVE-2005-4560), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.