← Vulnerability feed

Vulnerability record · CVE-2005-2123 · published 29 November 2005

CVE-2005-2123: Windows GDI32.DLL integer overflows in WMF/EMF image parsing

Microsoft · Windows 2000

Multiple integer overflows in the Graphics Rendering Engine (GDI32.DLL) on Windows 2000 SP4, XP SP1/SP2 and Server 2003 SP1 allow remote code execution via crafted Windows Metafile (WMF) and Enhanced Metafile (EMF) images that trigger heap-based buffer overflows. The flaw is reachable without authentication and is demonstrated through MRBP16::bCheckRecord, making malformed image files a viable attack vector.

7.5 CVSS 2.0 High EPSS 61% · top 0.9%
7.5CVSS 2.0 base score
61%EPSS exploitation probability, 30 days
NoNot in CISA KEV
3Affected product versions listed by NVD
32References
16 Jun 2026Last modified by NVD

Description

Multiple integer overflows in the Graphics Rendering Engine (GDI32.DLL) in Windows 2000 SP4, XP SP1 and SP2, and Server 2003 SP1 allow remote attackers to execute arbitrary code via crafted Windows Metafile (WMF) and Enhanced Metafile (EMF) format images that lead to heap-based buffer overflows, as demonstrated using MRBP16::bCheckRecord.

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 19 September 2026. Confidence: medium.

high priorityCVSS 2.0 base score 7.5 with network reachability, no authentication and no user interaction, plus a very high EPSS percentile, though no KEV listing or confirmed exploitation is documented.

What it is

Multiple integer overflows in the Graphics Rendering Engine (GDI32.DLL) on Windows 2000 SP4, XP SP1/SP2 and Server 2003 SP1 allow remote code execution via crafted Windows Metafile (WMF) and Enhanced Metafile (EMF) images that trigger heap-based buffer overflows. The flaw is reachable without authentication and is demonstrated through MRBP16::bCheckRecord, making malformed image files a viable attack vector.

Impact

An attacker can execute arbitrary code in the context of the process that renders the crafted image, potentially leading to full system compromise. Because the vulnerable component is a core graphics library, any application that parses WMF/EMF content may be affected.

Attack surface

Reached remotely over the network (AV:N) with no authentication (Au:N) and no user interaction required per the CVSS vector, typically by delivering a malicious WMF/EMF image to a rendering or parsing service. The description does not specify the exact delivery mechanism beyond crafted image files.

Exploitation

Not listed in CISA KEV and no ransomware associations are documented; EPSS is high at 0.61477 (99.1st percentile), and references include Patch and Vendor Advisory tags, indicating a known, patchable issue rather than confirmed in-the-wild exploitation.

What to do

  • Apply Microsoft security bulletin MS05-053 (or the corresponding vendor patch) to affected Windows 2000 SP4, XP SP1/SP2 and Server 2003 SP1 systems.
  • Restrict or block untrusted WMF/EMF files at email gateways, web proxies and file-share ingress points.
  • Disable or harden any service or application that automatically renders WMF/EMF images from untrusted sources.
  • Where feasible, migrate off the affected legacy Windows versions, which are no longer supported.

Detection

  • Monitor for processes loading GDI32.DLL while processing WMF/EMF files from external or untrusted locations.
  • Alert on crashes or heap corruption events in graphics rendering processes that handle image files.
  • Hunt for WMF/EMF files with anomalous record structures or unusually large size fields in email and web traffic.
  • Correlate endpoint telemetry for image-rendering applications spawning unexpected child processes.

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

Affected products

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

References

LinkTags
http://secunia.com/advisories/17223
http://secunia.com/advisories/17461
http://secunia.com/advisories/17498
http://securitytracker.com/id?1015168
http://support.avaya.com/elmodocs2/security/ASA-2005-228.pdf
http://www.eeye.com/html/research/advisories/AD20051108b.html PatchVendor Advisory
http://www.kb.cert.org/vuls/id/300549 PatchThird Party AdvisoryUS Government Resource
http://www.securityfocus.com/bid/15352
http://www.us-cert.gov/cas/techalerts/TA05-312A.html US Government Resource
http://www.vupen.com/english/advisories/2005/2348
https://docs.microsoft.com/en-us/security-updates/securitybulletins/2005/ms05-053
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A1063
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A1175
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A1263
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A1546
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A701
http://secunia.com/advisories/17223
http://secunia.com/advisories/17461
http://secunia.com/advisories/17498
http://securitytracker.com/id?1015168
http://support.avaya.com/elmodocs2/security/ASA-2005-228.pdf
http://www.eeye.com/html/research/advisories/AD20051108b.html PatchVendor Advisory
http://www.kb.cert.org/vuls/id/300549 PatchThird Party AdvisoryUS Government Resource
http://www.securityfocus.com/bid/15352
http://www.us-cert.gov/cas/techalerts/TA05-312A.html US Government Resource
http://www.vupen.com/english/advisories/2005/2348
https://docs.microsoft.com/en-us/security-updates/securitybulletins/2005/ms05-053
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A1063
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A1175
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A1263
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A1546
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A701

Track CVE-2005-2123 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-2123), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.