CVE-2008-3012
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedgdiplus.dll in GDI+ in Microsoft Internet Explorer 6 SP1, Windows XP SP2 and SP3, Server 2003 SP1 and SP2, Vista Gold and SP1, Server 2008, Office XP SP3, Office 2003 SP2 and SP3, 2007 Microsoft Office System Gold and SP1, Visio 2002 SP2, PowerPoint Viewer 2003, Works 8, Digital Image Suite 2006, SQL Server 2000 Reporting Services SP2, SQL Server 2005 SP2, Report Viewer 2005 SP1 and 2008, and Forefront Client Security 1.0 does not properly perform memory allocation, which allows remote attackers to execute arbitrary code via a malformed EMF image file, aka "GDI+ EMF Memory Corruption Vulnerability."
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceGDI+ (gdiplus.dll) contains a memory corruption vulnerability when processing malformed EMF (Enhanced Metafile) image files. The vulnerability results from improper memory allocation during EMF image parsing, allowing attackers to execute arbitrary code via specially crafted EMF files delivered through web pages, email attachments, or file sharing.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.
NVD · CPE data= 2006= 1.0= 6= 2003= xp= 2003= 2005= 2008= 2008= 2005CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- M
- Authentication
- None
- Confidentiality
- Complete
- Integrity
- Complete
- Availability
- Complete
AV:N/AC:M/Au:N/C:C/I:C/A:C
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Identify installed Microsoft productsOpen Control Panel > Programs and Features, or run 'appwiz.cpl', and look for Digital Image Suite 2006, Forefront Client Security 1.0, Internet Explorer 6, Office 2003/XP, Powerpoint Viewer 2003, Report Viewer 2005/2008, SQL Server 2005, or Windows Server 2008Affected if Any of these affected products and versions are installed and the gdiplus.dll version is unpatched
-
Check gdiplus.dll versionLocate gdiplus.dll (typically in C:\Windows\System32\ or C:\Program Files\Common Files\Microsoft Shared\VBA\VBA6\) right-click > Properties > Details tab, or use 'dir gdiplus.dll /s' from command prompt to find all instances, then compare version numbers to the fixed version from MS08-052Affected if The gdiplus.dll version is lower than the patched version or the file is missing security updates
-
Verify EMF file handling is activeCheck if applications can process EMF files by opening any EMF image in installed software, or check file association settings for .emf files in Registry under HKCR\.emfAffected if EMF file parsing is enabled and the software processes EMF images without additional validation
-
Inspect web content processing settingsFor Internet Explorer, check Tools > Internet Options > Security > Custom Level for 'Binary and script behaviors' and 'Script ActiveX controls marked safe for scripting'. For email clients, check attachment handling settings for image files.Affected if GDI+ is used to render EMF files from untrusted sources (web pages, email attachments) without additional validation layers
-
Check for presence of malformed EMF test filesSearch user download folders, email attachments, and network shares for .emf files using 'dir /s /b C:\Users\*.emf' or similar, particularly files from untrusted sourcesAffected if Users regularly receive or open EMF files from untrusted or unknown sources without perimeter filtering
Your environment is affected if you have any of the listed Microsoft products installed with unpatched gdiplus.dll versions AND users process EMF files from potentially untrusted sources.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scopedApply Microsoft security updates (MS08-052) to all affected products including Windows, Office, Visio, and SQL Server components. Disable GDI+ parsing for untrusted content at the perimeter as an interim control.
Upgrade to currently supported versions of Microsoft products. For Office, migrate to Office 2007 Service Pack 2 or Office 2010+. For SQL Server, upgrade to SQL Server 2008 or later. For Windows, migrate from Windows XP to a supported Windows version.
- Apply Microsoft Security Bulletin MS08-052 (GDI+ EMF Memory Corruption Vulnerability) which addresses this CVE
- For Internet Explorer 6: Ensure GDI+ receives the security update through Windows Update or manual download of MS08-052
- For Office products (Office XP SP3, Office 2003 SP2/SP3, 2007 Office System SP1): Install the MS08-052 update via Microsoft Update or the specific Office update
- For SQL Server 2005: Apply SQL Server 2005 Service Pack 3 which includes the GDI+ fix, or apply the MS08-052 update
- For Report Viewer 2005/2008: Apply the MS08-052 update or upgrade to a patched version
- For Forefront Client Security 1.0: Apply the relevant MS08-052 update component
- For Digital Image Suite 2006: Apply the MS08-052 update or discontinue use of the vulnerable version
- Verify successful patching by checking Windows Update history or confirming gdiplus.dll version includes the security fix
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation4.0 h
- Implementation8.0 h
- Testing4.0 h
- Review / QA2.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $5,120.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2008-3012 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2008-3012 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data